Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/quic-pro/mvts-smart-contract-curator

Smart contract for storing the address of the root router.
https://github.com/quic-pro/mvts-smart-contract-curator

blockchain ethereum smart-contract solidity

Last synced: 4 days ago
JSON representation

Smart contract for storing the address of the root router.

Awesome Lists containing this project

README

        

# mvts-smart-contract-curator

Smart contract for storing the address of the root router.

***

### Install Dependencies

`yarn install`

***

### Template .env

```text
PRIVATE_KEY=
INFURA_ETH_SEPOLIA_API_KEY=
INFURA_ETH_MAINNET_API_KEY=
ALCHEMY_POLYGON_MUMBAI_API_KEY=
ALCHEMY_POLYGON_MAINNET_API_KEY=
GETBLOCK_BSC_TESTNET_API_KEY=
GETBLOCK_BSC_MAINNET_API_KEY=
ETHERSCAN_API_KEY=
POLYGONSCAN_API_KEY=
BSCSCAN_API_KEY=
```

***

### Test contracts

`yarn test`

***

### Deploy contract in testnet

Ethereum (Sepolia): `yarn deploy:eth-sepolia`

Polygon (Mumbai): `yarn deploy:polygon-mumbai`

Binance Smart Chain: `yarn deploy:bsc-testnet`

***

### Verify contract in testnet

Ethereum (Sepolia): `yarn verify:eth-sepolia`

Polygon (Mumbai): `yarn verify:polygon-mumbai`

Binance Smart Chain: `yarn verify:bsc-testnet`

***

### Deploy contract in mainnet

Ethereum: `yarn deploy:eth-mainnet`

Polygon: `yarn deploy:polygon-mainnet`

Binance Smart Chain: `yarn deploy:bsc-mainnet`

***

### Verify contract in mainnet

Ethereum: `yarn verify:eth-mainnet`

Polygon: `yarn verify:polygon-mainnet`

Binance Smart Chain: `yarn verify:bsc-mainnet`