Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/quic-pro/mvts-smart-contract-curator
- Owner: quic-pro
- License: mit
- Created: 2022-11-01T12:06:15.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-04T13:11:48.000Z (almost 2 years ago)
- Last Synced: 2023-03-04T05:18:10.959Z (over 1 year ago)
- Topics: blockchain, ethereum, smart-contract, solidity
- Language: Solidity
- Homepage:
- Size: 200 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
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`