Using the magic of decentralized cryptography to create a highe-level DeSoc building blocks out of composible smart contracts and NFTs.
This platform allows you to
- Mint characters
- Deploy games
- Set up roles and incentives
- Manage reputation
- Design an interaction flow
Clone .env.example to .env and fill in your environment parameters
- Install environemnt:
npm install
- Run tests:
npx hardhat test
- Check contract size:
npx hardhat size-contracts
- Deploy protocol (Rinkeby):
npx hardhat run scripts/deploy.ts --network rinkeby
- Deploy foundation (Mumbai):
npx hardhat run scripts/foundation.ts --network mumbai
- Deploy protocol (Mumbai):
npx hardhat run scripts/deploy.ts --network mumbai
- Compile contracts:
npx hardhat compile
- Cleanup:
npx hardhat clean
Enter your Etherscan API key into the .env file and run the following command
(replace DEPLOYED_CONTRACT_ADDRESS
with the contract's address and "Hello, Hardhat!" with the parameters you sent the contract upon deployment:
npx hardhat verify --network ropsten DEPLOYED_CONTRACT_ADDRESS "Hello, Hardhat!"