bit-wasp / bech32 Goto Github PK
View Code? Open in Web Editor NEWBech32 library
License: The Unlicense
Bech32 library
License: The Unlicense
Please allow bech32 strings to be larger than 90 characters, to support the decoding of BOLT11.
I use bitcoin-cli to view a transaction like the following command:
bitcoin-cli getrawtransaction '01d94dae5f2e972682e4f33fa0e6b83ab812a2d344d13262135e1acc73832f0d' 1.
In the result returned, Vout has no accurate addresses.
and the result is as follows:
"vout": [
{
"value": 10.00910000,
"valueSat": 1000910000,
"n": 1,
"scriptPubKey": {
"asm": "0 701a8d401c84fb13e6baf169d59684e17abd9fa216c8cc5b9fc63d622ff8c58d",
"hex": "0020701a8d401c84fb13e6baf169d59684e17abd9fa216c8cc5b9fc63d622ff8c58d",
"reqSigs": 1,
"type": "witness_v0_scripthash",
"addresses": [
"3QJmnh"
]
}
}
],
You know whether you can get the bech32 address through the above scriptPubKey.
Thank you very much.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.