Skip to content

Decentralisedme/foundry_erc20

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Foundry ERC-20

Creating a a Ric Token based on ERC-20 standards. There are 2 Token contracs:

ManualToken.sol:

The contract contains basic functions taken from the Ethereum Improvement Proposals page: https://eips.ethereum.org/EIPS/eip-20

RicToken.sol:

The contract inherits the code from ERC-20 OpenZeppelin Solidity Contract Librairy under token:

$ forge install OpenZeppelin/openzeppelin-contracts --no-commit

In the solidity contract:

$ import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
contract RicToken is ERC20 {}

ChatGPT Test

We made use of GPT to generate unit tests for our erc20 contract: few suggestions had to be updated

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages