npm install @runonbitcoin/nimble
Create and sign a transaction
const transaction = new nimble.Transaction()
Generate new keys and address
const privateKey = nimble.PrivateKey.fromRandom()
Decode transactions scripts
const transaction = nimble.Transaction.fromString(hex)
Hash arbitrary data
We’re happy that this is the first piece of the Run SDK to be open-sourced with more to come.
Check it out on the github: https://github.com/runonbitcoin/nimble
And we welcome your contributions or ideas for improvement! Thanks.