stacks-blockchain-api icon indicating copy to clipboard operation
stacks-blockchain-api copied to clipboard

API support for sBTC

Open zone117x opened this issue 2 years ago • 6 comments

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.

  • [ ] ~~Integration with the sBTC contract (first-class support as if it was a boot-contract)~~
    • (note: unclear requirements here)
  • [ ] ~~Open feature requests / blockers in the blockchain repo to support integration (likely requests for requisite event-emitter data / contract-logs).~~
    • (note: sBTC not built-in to stacks-core in first iteration so likely nothing to do here)
  • [ ] ~~Endpoint providing TVL for sBTC~~
    • (note: This is provided by FT endpoints & RPC contract calls)
  • [ ] Include sBTC signer info in signer metrics
    • (note: This is blocked until v2 of sBTC is released & sBTC and Nakamoto signers are the same entity)

This issue will wait until v2 of sBTC has been released.

zone117x avatar Jan 26 '23 11:01 zone117x

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

image

igorsyl avatar Feb 27 '23 21:02 igorsyl

You should have access now @igorsyl

saralab avatar Mar 08 '23 03:03 saralab

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

netrome avatar Jun 22 '23 14:06 netrome

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

zone117x avatar Jun 26 '23 12:06 zone117x

@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

netrome avatar Aug 04 '23 06:08 netrome

Blocked on sBTC progress

zone117x avatar Jan 16 '24 16:01 zone117x