Bitshala-Incubator / silent-pay-indexer

An indexer for serving bitcoin silent payment indexes!!
MIT License
5 stars 6 forks source link

End to End test #47

Open notTanveer opened 6 days ago

notTanveer commented 6 days ago

This PR adds an end-to-end test for silent payments, ensuring that a crafted transaction sending 5 BTC to a Taproot address (with a 1 BTC fee) is correctly included in the silent block. The test compares the crafted transaction’s txid and output value against the decoded silent block retrieved from the API (/silent-block/height/108). This ensures the transaction was successfully broadcast, mined, and that the correct amount was sent to the intended address.