aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorAdam Soltys <[email protected]>2026-03-11 22:03:52 -0700
committerAdam Soltys <[email protected]>2026-03-11 22:03:52 -0700
commit4007842de3cacd93db5df6222ddaa47ec6e557ce (patch)
treed3a4b196483c4f2673aceccc6cf576b502fdf7b7 /lib
parenta9288f14bfceff7e2597593ce7dae7ebf67eaf6c (diff)
downloadcoinos-server-4007842de3cacd93db5df6222ddaa47ec6e557ce.tar.gz
coinos-server-4007842de3cacd93db5df6222ddaa47ec6e557ce.zip
add network alias
Diffstat (limited to 'lib')
-rw-r--r--lib/p2a.ts1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/p2a.ts b/lib/p2a.ts
index ce91006f..30e977a1 100644
--- a/lib/p2a.ts
+++ b/lib/p2a.ts
@@ -9,6 +9,7 @@ const P2A_WITNESS_PROGRAM = new Uint8Array([0x4e, 0x73]);
const P2A_WITNESS_VERSION = 1;
const BECH32M_PREFIXES: Record<string, string> = {
+ bitcoin: "bc",
mainnet: "bc",
testnet: "tb",
signet: "tb",