PreciousChickenToken: A guided example of OpenZeppelin's ERC20 using Ethers, Truffle and React

Thanks again for writing the guide. Writing content is hard and takes time, so always want to give feedback if I can as a small way of saying thanks.

Also building the knowledge base of the community is so important. We are all learning.

I assumed (incorrectly) that the compiler would check the license text but you have shown any random text will compile.

// SPDX-License-Identifier: RANDOM_TEXT

pragma solidity ^0.6.0;

contract MyContract {

}
$ npx oz compile
✓ Compiled contracts with solc 0.6.11 (commit.5ef660b1)

I must confess I didn't go through your MetaMask instructions.

I use ganache-cli -d so get the same accounts and I have imported some of the private keys.

For connecting to public testnets with truffle, I have the following guide that you could suggest: Connecting to Public Test Networks with Truffle


With regards your forget me not project, if the main concept is proof of existence,
you could be storing IPFS hashes with the content even being encrypted. This would reduce the gas costs.

To reduce the gas costs even more you could just emit events using a Stateless Smart Contract.

1 Like