Comments (7)
Thinking more about it, it's a bit more complicated as you can't just convert a segwit address to an old-style address. I'll add an extra box for encoding, which lets you enter a pubkey or a script, and constructs the P2PKH/P2WPKH or P2SH/P2WSH address for it, as well as the QR code for it.
from bech32.
It probably doesn't work this way?
from bech32.
Hmm, would there be a way to generate these on the fly? The size of the QR code will depend on the address type.
from bech32.
Oh I see. Drak asked me, but he gave these images.
So what you want is generating QR codes and showing that on the demo page ?
from bech32.
@romanornr Right, but I'll do the work of generating addresses first - something the current JS code does not support.
from bech32.
Checking in
from bech32.
Hello me
from bech32.
Related Issues (16)
- Suggestion to start address with "btc" instead of "bc" HOT 21
- extra things to test
- Allow first bech32 character to be uppercase? HOT 4
- Case handling inconsistencies in reference implementations HOT 1
- Safe usage in mainnet HOT 2
- LICENSE HOT 1
- bech32 decoder looks for the first '1' as the HRP separator, not the last '1' as specified HOT 2
- JS Version encoder doesn't work as the python one
- Haskell implementation of `bech32Encode` generates invalid output if the HRP contains upper case characters. HOT 2
- For certain Bech32 strings, deleting or inserting a single character produces a string that is still valid HOT 6
- Possibly incorrect bech32m test case HOT 4
- P2PKH to bech32 HOT 4
- Hello, do you have a JAVA version? HOT 1
- How generate bech with wrong ecoding ? HOT 1
- bip72b payment requests and qrcodes HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bech32.