stacks-network / sbtc-bridge-web

Web tool to facilitage peg operations for sBTC
https://sbtc.world
GNU Affero General Public License v3.0
14 stars 5 forks source link

Add analysis for fulfillment btc tx #268

Closed friedger closed 10 months ago

friedger commented 11 months ago

Txs like 4c7628f7a5c50c23f1c1d6038d72d9624e1ff9e7f9d3613aa64772c19721e82f (on testnet) should be shown as fulfillment btc txs

radicleart commented 10 months ago

Can you remind me the technique you mentioned for locating these ?

one idea..

record the txid and display as fulflment ?

friedger commented 10 months ago

It is probably enough to search for a FulfillBroadcasted event with the bitcoin request tx in it and then use the bitcoin txid of the fulfillBroadcasted event.

radicleart commented 10 months ago

question is where to search for this event? The bridge has no access to romeo events?

friedger commented 10 months ago

The signer has an rpc api. Maybe we will continue from there.