bstring
String encodings for javascript.
Usage
'use strict';const assert = ;const base58 bech32 cashaddr = ;// Base58const b58 = base58;;const data = base58;console;// Bech32const b32 = bech32;;const hrp version hash = bech32;console;// CashAddrconst address = cashaddr;;const res1 = cashaddr;console;const noPrefixAddress = address1;;const res2 = cashaddr;console;
Contribution and License Agreement
If you contribute code to this project, you are implicitly allowing your code
to be distributed under the MIT license. You are also implicitly verifying that
all code is your original work. </legalese>
License
- Copyright (c) 2017, Christopher Jeffrey (MIT License).
See LICENSE for more info.