The backend API for Ordivote
Provide an API endpoint for a given BRC-20 and block height.
Develop with multiple BRC-20 tokens in mind, but we will initially use this project for a single token.
This project could consist of the following steps:
- Set up a Planetscale database.
- Save all the BRC-20 transfers to our database from the BiS Get BRC-20 Activity endpoint.
- Using this endpoint with
last_new_satpoint
would be better.
- Using this endpoint with
- Create the
GET /v1/snapshot?ticker=ABCD&block=15271002
endpoint.- The response could be a sorted array of objects with
address
andbalance
.
- The response could be a sorted array of objects with
- Add support for the bitcoin testnet.