hirosystems / stacks-blockchain-api

API for the Stacks blockchain
https://stacks-blockchain-api.vercel.app
GNU General Public License v3.0
179 stars 117 forks source link

API support for sBTC #1532

Open zone117x opened 1 year ago

zone117x commented 1 year ago

Initial issue to track sBTC work related to the API. By default, sBTC will have have some support due to it being defined as an ft contract. We likely will be defining additional requirements as sBTC progress on the blockchain matures.

This issue will wait until clarinet has support for interacting with sBTC: https://github.com/hirosystems/clarinet/issues/1083, which will indicate a level of readiness on the Nakamoto side.

igorsyl commented 1 year ago

Trying to add to the sBTC project board. @saralab @diwakergupta can you grant me contributor access?

image
saralab commented 1 year ago

You should have access now @igorsyl

netrome commented 1 year ago

For context: This is the RPC endpoint we have added in the next branch to get sBTC ops: https://github.com/stacks-network/stacks-blockchain/pull/3511

zone117x commented 1 year ago

For context: This is the RPC endpoint we have added in the next branch to get sBTC ops: stacks-network/stacks-blockchain#3511

Note that Hiro API does not use RPC endpoints. The burnchain op data needs to be added to the event-emitter payload. The issue tracking that work is here: https://github.com/stacks-network/stacks-blockchain/issues/3554

netrome commented 1 year ago

@zone117x it turns out the burnchain op data has already been added to the event-emitter payload. Let me know if you encounter any issues with the format. This issue is closed now https://github.com/stacks-network/stacks-blockchain/issues/3554

zone117x commented 10 months ago

Blocked on sBTC progress