# Install deps
yarn install
# Fill your wallet private key in the .env file
cp env.example .env
yarn build
yarn test
Firstly, you need to deploy the OffchainAggregator
contract for a price feed, such as the ETH/USD pair.
yarn deploy
Then update the aggregatorContracts
in the feeder.ts
file, update the deployed contract address to the corresponding pair aggregator address.
bun feeder.ts
# Or
npx tsx feeder.ts