Skip to content

Michael-Neuman/bitcoin-yield-tracker

Repository files navigation

This is a Next.js project bootstrapped with create-next-app.

Edit bitcoin-yield-tracker

Getting Started

First, install dependencies:

npm install

Then, run the development server:

npm run dev
# or
yarn dev

Open http://localhost:3000 with your browser to see the result.

To add additional yield opportunities, add a file to the opportunities directory following the format below:

---
name: 'Description of yield opportunity.  Could include information like network, application and token.'
api: 'URL of API endpoint that provides interest rate available from yield opportunity.'
link: 'URL that provides more details of yield opportunity.'
category: 'Categorization of opportunity used to filter results.  Examples: DeFi, CeFi'
json_path_rate: 'JSON path of API response that contains the interest rate.  See https://github.com/dchester/jsonpath for usage.'
---