Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/libauth/src/lib/address/bech32.ts>bech32CharacterSetIndex

An ultra-lightweight, zero-dependency JavaScript library for Bitcoin Cash, Bitcoin, and Bitauth applications.
Latest
variable bech32CharacterSetIndex
import { bech32CharacterSetIndex } from "https://deno.land/x/libauth@v2.0.0-alpha.9/src/lib/address/bech32.ts";

An object mapping each of the 32 symbols used in Bech32 encoding to their respective index in the character set.

type

{ q: number; p: number; z: number; r: number; y: number; 9: number; x: number; 8: number; g: number; f: number; 2: number; t: number; v: number; d: number; w: number; 0: number; s: number; 3: number; j: number; n: number; 5: number; 4: number; k: number; h: number; c: number; e: number; 6: number; m: number; u: number; a: number; 7: number; l: number; }