Corresponding code for Stablecoin Demo tutorial.
To operate this repo
- Pass in
PRIVATE_KEY=""
in the.env
file so that you can have a working wallet on testnet. - Deploy the
Deployer
on your remote chain by runinghh deployMoonbase --network moonbase
- Currently the first task in
hardhat.config.js
will deploy this on Moonbase testnet.
- Currently the first task in
- Deployer
TokenFactory
on your home chain- Currently the second task in
hardhat.config.js
will deploy to Celo as your home chain.
- Currently the second task in
- Interact with TokenFactory either on the block explorer or the Hardhat CLI to deploy a native token
The completed code for this repo is in the complete
branch