hirosystems / chainhook

Extract transactions from Stacks and Bitcoin and build event driven re-org resistant indexers and databases.
GNU General Public License v3.0
147 stars 60 forks source link

sBTC compatibility for chainhooks #341

Open smcclellan opened 1 year ago

smcclellan commented 1 year ago

This is a stub to track the work required on chainhooks to accommodate sBTC. Details will be filled in over time.

sabbyanandan commented 11 months ago

As for the 1st experiment, I would love us to add predicate support for sBTC "deposit" and "withdraw" events.

They are both supported in Testnet, and that is already also wired in on Dapp's like https://beta.hermetica.fi/earn—so having to showcase the deposit and withdrawal as observable events could be a great value add for early adopters, including Hermetica.

sabbyanandan commented 11 months ago

It seems we have a WIP PR to support these in Stacks.js -> https://github.com/hirosystems/stacks.js/pull/1554/files