- Install packages with
yarn
ornpm i
- Test contracts compile:
yarn hardhat compile
- Check contract size:
yarn hardhat size-contracts
- Run tests:
yarn test
- Run prettier:
yarn prettier
- Copy .env.example into .env and set your variables
- Use
contracts/
,tests/
andscripts/
to build your code. - Deploy on testnet:
yarn hardhat run scripts/deploy.ts --network moonbaseAlpha
- Verify contracts, using the contract address and arguments from previous step:
yarn hardhat verify 0x.... --network moonbaseAlpha --contract contracts/SimpleEquippable.sol:SimpleEquippable --arguments ...
Remember to give credit to RMRK if you're using it's technology. Check the license and notice for more details.