Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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 join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant