rainbreak / solidity-btc-parser

Solidity library to parse raw Bitcoin transaction bytes
Other
33 stars 12 forks source link

Define API #8

Open rainbreak opened 8 years ago

rainbreak commented 8 years ago
rainbreak commented 7 years ago

@ethers: I'm open to ideas for useful function calls here.

ethers commented 7 years ago

Thanks, I'm not yet sure about the higher level apis, but meantime the primitives would be to get inputs and outputs. I looked around and saw some ideas here: https://21.co/learn/21-lib-bitcoin/#parsing-a-transaction https://blockchain.info/api/blockchain_api - see Single transaction

The other main libs don't seem to have higher level apis or have documentation about them: https://github.com/bitpay/bitcore-lib https://github.com/bitcoinjs/bitcoinjs-lib

rainbreak commented 7 years ago

@iurimatias: trying to define a useful api here. Ideas welcome.