In this repo, we provide a sample of how to use Base and smart contract in testnets.
- Hardhat
- TypeScript
- NPM
- Install depedencides with NPM:
npm i
- Compile and get the ABI of the smart contract:
npx hardhat compile
- Deploy the smart contract and mint a new token:
npx hardhat run scripts/deploy.ts --network base-goerli
๐ Congrats, you discovered how to deploy and interact with a smart contract on Base!