Fusion Oracle Aggregator is an app that fetches price data from Pyth and Switchboard oracles and displays the price averages.
- Fetch price feed data from Pyth and Switchboard and displays it in a table.
- Computes the price averages from Pyth and Switchboard to provide more accurate results.
Before you begin, ensure you have met the following requirements:
- Node.js (>= 14.x.x)
- npm (>= 6.x.x) or yarn (>= 1.x.x)
To set up your development environment, follow these steps:
-
Clone the repository:
git clone https://github.com/leevigh/fusion-oracle-aggregator.git cd fusion-oracle-aggregator
-
Install dependencies:
npm install # or yarn install
To start the development server, run:
npm run dev
# or
yarn run dev
To build the app for production, run:
npm run build
# or
yarn build
To start the production server, run:
npm start
# or
yarn start
This is a Next.js project bootstrapped with create-next-app
.
Open http://localhost:3000 with your browser to see the result.
You can start editing the page by modifying app/page.tsx
. The page auto-updates as you edit the file.