This repository contains the Mantle token contract and the on chain migration mechanism.
This repository uses both the Hardhat and Foundry smart contract development frameworks.
Install the following on your machine:
Run
cp .env.example .envto establish a test configuration file.
Then compile the contracts with:
forge buildYou should see a Compiler run successful messaage upon successful build.
Testing with Forge:
forge testTesting with Hardhat:
npx hardhat testnpx hardhat node
npx hardhat run scripts/deploy.ts