/DEWO_Token

$DEWO Token - The Native Token To DecentraWorld's Ecosystem & DAO. In this repo you will find the $DEWO smart contracts, contract audit, and team KYC by SolidProof.io.

Primary LanguageSolidityGNU General Public License v3.0GPL-3.0

DEWO_Token

  • Read the security audit at [SmartContract_Audit_Solidproof_DecentraWorld.pdf]
  • Download this folder to your local machine.

Requirements

node v16.14.2(LTS)
npm @Latest
npm install -g npx



Initialize

  1. npm install
  2. npm run build
  3. cp .env.example .env



Deploy DecentraMix.sol native token

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



Deploy DecentraMix_Multichain.sol cross-chain token

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



Verify DecentraMix.sol through Truffle

  1. cp secret.json.example secret.json
  2. Edit secret.json parameters (API keys for each explorer)
  3. npx truffle run verify DecentraWorld@contractaddress --network $NETWORK



Verify DecentraMix.sol Through Explorer

  1. npm install truffle-flattener -g
  2. npx truffle-flattener ./contracts/DecentraMix.sol > ./contracts/DecentraMix_Flat.sol
  3. npx truffle-flattener ./contracts/DecentraMix_Multichain.sol > ./contracts/DecentraMix_Multichain_Flat.sol
  4. Go on the relevant explorer (E.g.: cronoscan.com)
  5. Confirm your contract as a single solidity file