Skip to content

axieinfinity/contract-template

Repository files navigation

contract-template

Development

  • Use Foundry:
forge install
forge test
  • Use Hardhat:
npm install
npm run test
# or
yarn
yarn test
  • Pull submodules:
git submodule update --init --recursive

Deployment

  • Saigon testnet:

    yarn deploy --network ronin-testnet
  • Ronin mainnet:

    yarn deploy --network ronin-mainnet

Features

  • Write / run tests with either Hardhat or Foundry:
forge test
yarn test
  • Use Hardhat's task framework
yarn hardhat example