Skip to content
This repository has been archived by the owner on Feb 11, 2025. It is now read-only.

Solidity library that parses a Bitcoin transaction #36

Open
ethers opened this issue May 3, 2016 · 1 comment
Open

Solidity library that parses a Bitcoin transaction #36

ethers opened this issue May 3, 2016 · 1 comment

Comments

@ethers
Copy link
Member

ethers commented May 3, 2016

For those that are interested, a Solidity library that parses a Bitcoin transaction would be a great compliment to BTC Relay. The first version could parse a "standard" Bitcoin transaction that just has 1 input and 1 output, like the following in Serpent:
https://github.com/ethereum/btcrelay/blob/master/example-btc-eth/btcSpecialTx.se

A more general, but outdated (since it accepts input as hex string instead of bytes) example is:
https://github.com/ethereum/btcrelay/blob/master/example-btc-eth/btcTx.se

@ethers
Copy link
Member Author

ethers commented May 10, 2016

Thanks to @rainbeam https://github.com/rainbeam/solidity-btc-parser

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant