Skip to content
/ evm-template Public template
forked from rmrk-team/evm-template

Template to start new project using RMRK implementation on EVM

License

Notifications You must be signed in to change notification settings

ismaventuras/evm-template

 
 

Repository files navigation

Instructions

  1. Install packages with yarn or npm i
  2. Test contracts compile: yarn hardhat compile
  3. Check contract size: yarn hardhat size-contracts
  4. Run tests: yarn test
  5. Run prettier: yarn prettier
  6. Copy .env.example into .env and set your variables
  7. Use contracts/, tests/ and scripts/ to build your code.
  8. Deploy on testnet: yarn hardhat run scripts/deploy.ts --network moonbaseAlpha
  9. 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.

Usig hardhat-deploy

  1. Create deployment scripts on deploy/
  2. Run deployments via yarn hardhat deploy --network moonbaseAlpha --tags kanaria --export frontend_data.json
  3. Set the registry using yarn hardhat run scripts/setRegistry.ts --network moonbaseAlpha
  4. Start a dev node deploying only the kanaria yarn hardhat node --tags kanaria

About

Template to start new project using RMRK implementation on EVM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 87.1%
  • Solidity 7.1%
  • JavaScript 5.8%