It is a ERC20-based native token contract for the project.
For more, refer Wiki .
Deploying contracts to localhost Hardhat EVM
// on terminal-1
$ npx hardhat node
// on terminal-2
$ npx hardhat run deployment/hardhat/ETH/deploy_hardhat_eth.ts --network localhost1
// on terminal-1
$ npx hardhat node
// on terminal-2
$ npx hardhat run deployment/hardhat/BSC/deploy_hardhat_bsc.ts --network localhost2
Deploying contracts to Testnet (Public)
Environment variables
Create a .env file with its values:
INFURA_API_KEY=[YOUR_INFURA_API_KEY_HERE]
SPEEDY_NODE_KEY=[YOUR_SPEEDY_NODE_KEY_HERE]
DEPLOYER_PRIVATE_KEY=[YOUR_DEPLOYER_PRIVATE_KEY_without_0x]
REPORT_GAS=<true_or_false>
Deploy the token on one-chain
$ npx hardhat run deployment/testnet/ETH/deploy_testnet_eth.ts --network rinkeby
Environment variables
Create a .env file with its values:
INFURA_API_KEY=[YOUR_INFURA_API_KEY_HERE]
SPEEDY_NODE_KEY=[YOUR_SPEEDY_NODE_KEY_HERE]
DEPLOYER_PRIVATE_KEY=[YOUR_DEPLOYER_PRIVATE_KEY_without_0x]
REPORT_GAS=<true_or_false>
Deploy the token on one-chain
$ npx hardhat run deployment/testnet/BSC/deploy_testnet_bsc.ts --network bsctest
Deploying contracts to Mainnet
Environment variables
Create a .env file with its values:
INFURA_API_KEY=[YOUR_INFURA_API_KEY_HERE]
SPEEDY_NODE_KEY=[YOUR_SPEEDY_NODE_KEY_HERE]
DEPLOYER_PRIVATE_KEY=[YOUR_DEPLOYER_PRIVATE_KEY_without_0x]
REPORT_GAS=<true_or_false>
Deploy the token on one-chain
$ npx hardhat run deployment/testnet/ETH/deploy_mainnet_eth.ts --network eth
Environment variables
Create a .env file with its values:
INFURA_API_KEY=[YOUR_INFURA_API_KEY_HERE]
SPEEDY_NODE_KEY=[YOUR_SPEEDY_NODE_KEY_HERE]
DEPLOYER_PRIVATE_KEY=[YOUR_DEPLOYER_PRIVATE_KEY_without_0x]
REPORT_GAS=<true_or_false>
Deploy the token on one-chain
$ npx hardhat run deployment/testnet/BSC/deploy_mainnet_bsc.ts --network bsc