- Read the security audit at [SmartContract_Audit_Solidproof_DecentraWorld.pdf]
- Download this folder to your local machine.
node v16.14.2(LTS)
npm @Latest
npm install -g npx
npm install
npm run build
cp .env.example .env
Deploy $DEWO on BSC (Chain ID: 56)
npx truffle migrate --network bsc --reset --f 1 --to 1
Verify the contract on BSC:
npx truffle run verify DecentraWorld@contractaddress --network bsc
Available for AVAX, FTM, CRO, ETH, MATIC, TESTNET, and more can be added at truffle-config.js
Deploy $DEWO on any of the supported networks by replacing $NETWORK with its name.
npx truffle migrate --network $NETWORK --reset --f 2 --to 2
cp secret.json.example secret.json
- Edit
secret.json
parameters (API keys for each explorer) npx truffle run verify DecentraWorld@contractaddress --network $NETWORK
npm install truffle-flattener -g
npx truffle-flattener ./contracts/DecentraMix.sol > ./contracts/DecentraMix_Flat.sol
npx truffle-flattener ./contracts/DecentraMix_Multichain.sol > ./contracts/DecentraMix_Multichain_Flat.sol
- Go on the relevant explorer (E.g.: cronoscan.com)
- Confirm your contract as a single solidity file