anamul430470 / 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.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

$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.

License:GNU General Public License v3.0


Languages

Language:Solidity 97.3%Language:JavaScript 2.7%