Comments (1)
In general, to compute invalid data for test vectors, you need to edit the code. It would be quite difficult for us to expose the ability to mangle checksums in various ways, and the value is only for testing. This is true for pretty-much any implementation of any spec.
Bech32 is defined in BIP 173 and there are some precomputed test vectors there.
from bech32.
Related Issues (16)
- QR code comparison HOT 7
- 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
- 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.