This repository demonstrates an ERC20 token project using Foundry, a fast, portable, and modular toolkit for Ethereum application development.
src/— Solidity contracts (includingOurToken.sol)test/— Solidity tests using Forgescript/— Deployment scriptslib/— External dependencies (OpenZeppelin, forge-std, etc.)
Clone the repository and install dependencies:
git clone https://github.com/yourusername/Foundry-ERC20.git
cd Foundry-ERC20
forge installforge buildforge testforge fmtforge snapshotanvilUpdate the deployment script and run:
forge script script/DeployOurToken.s.sol:DeployOurToken --rpc-url <your_rpc_url> --private-key <your_private_key>cast <subcommand>MIT