https://github.com/chronicleprotocol/oracle-aggregator
https://github.com/chronicleprotocol/oracle-aggregator
Last synced: 5 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/chronicleprotocol/oracle-aggregator
- Owner: chronicleprotocol
- Created: 2025-01-25T21:15:42.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-08-22T03:50:14.000Z (10 months ago)
- Last Synced: 2025-10-27T00:53:52.279Z (8 months ago)
- Language: Solidity
- Size: 754 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Audit: audits/abdk-audit-jan-2025.pdf
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
```