Skip to content

quic-pro/mvts-smart-contract-root-router

Repository files navigation

mvts-smart-contract-root-router

Smart contract for decentralized phone numbering plan.


Install Dependencies

yarn install


Template .env

PRIVATE_KEY=<string, required>
INFURA_ETH_SEPOLIA_API_KEY=<string, optional>
INFURA_ETH_MAINNET_API_KEY=<string, optional>
ALCHEMY_POLYGON_MUMBAI_API_KEY=<string, optional>
ALCHEMY_POLYGON_MAINNET_API_KEY=<string, optional>
GETBLOCK_BSC_TESTNET_API_KEY=<string, optional>
GETBLOCK_BSC_MAINNET_API_KEY=<string, optional>
ETHERSCAN_API_KEY=<string, optional>
POLYGONSCAN_API_KEY=<string, optional>
BSCSCAN_API_KEY=<string, optional>
COIN_MARKET_CAP_API_KEY=<string, optional>

Test contract

yarn test or yarn coverage


Deploy contract in testnet

Ethereum (Sepolia): yarn deploy:eth-sepolia

Polygon (Mumbai): yarn deploy:polygon-mumbai

Binance Smart Chain: yarn deploy:bsc-testnet


Deploy contract in mainnet

Ethereum: yarn deploy:eth-mainnet

Polygon: yarn deploy:polygon-mainnet

Binance Smart Chain: yarn deploy:bsc-mainnet