Scaffold CLI is a tool designed to help scaffold basic boilerplate code for the Web3 Ecosystem.
- Ethereum ERC721 Smart Contract
- Ethereum ERC20 Smart Contract
Go 1.17 or 1.18
go build -o scaffold
mv scaffold $GOPATH/bin
scaffold
This will generate a basic ERC721 smart contract
Flags:
--name
or-n
- Name of the smart contract--ticker
or-t
- Ticker of the smart contract
scaffold ethereum erc-721
This will generate a basic ERC20 smart contract
Flags:
--name
or-n
- Name of the smart contract--ticker
or-t
- Ticker of the smart contract--premint
or-p
- Premint amount of the smart contract
scaffold ethereum erc-20
All output as of now is hardcoded to the home directory of the user. In the home directory, there will be a folder called .scaffold
and a subfolder contracts
which will contain all the generated smart contracts.
All contributions are welcome!