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

https://github.com/chronicleprotocol/oracle-aggregator


https://github.com/chronicleprotocol/oracle-aggregator

Last synced: 5 months ago
JSON representation

Awesome Lists containing this project

README

          

# oracle-aggregator

## Deployment instructions

Firstly, prepare your `.env` file based on the `sample.env` file. The run the following commands:

```sh
# Compile contracts
yarn compile

# Run tests
yarn test

# Dry-run deployment on fork (replace params depending on your contract and network RPC)
FORK=https://ethereum-rpc.publicnode.com npx hardhat --network hardhat deploy-contract --contract-name Chronicle_Aggor_BTC_USD --check-value-after-deployment

# Deploy (replace params depending on your contract and network)
npx hardhat deploy-contract --contract-name Chronicle_Aggor_BTC_USD --network mainnet --check-value-after-deployment

# Submit source code to blockchain explorer (e.g. etherscan)
npx hardhat verify --network mainnet
```