Bitshala-Incubator / silent-pay

a TS library for silent payments
MIT License
8 stars 10 forks source link

Add functions to parse a silent-block #42

Open theanmolsharma opened 2 weeks ago

theanmolsharma commented 2 weeks ago

Add a function to packages/core/src/encoding.ts called parseSilentBlock() which accepts a silent block as input and returns a structured representation of the block. The function should adhere to the silent block specification outlined in this document.

Function signature:

parseSilentBlock(block: Buffer): SilentBlock {}