Skip to content

feat: support additional Bitcoin networks#119

Merged
andrerfneves merged 1 commit into
andrerfneves:mainfrom
starius:bitcoin-networks
Jun 1, 2026
Merged

feat: support additional Bitcoin networks#119
andrerfneves merged 1 commit into
andrerfneves:mainfrom
starius:bitcoin-networks

Conversation

@starius

@starius starius commented Jun 1, 2026

Copy link
Copy Markdown
Contributor
  • Add signet lntbs and regtest lnbcrt BOLT11 mappings
  • Keep signet fallback addresses on the testnet tb address HRP
  • Treat testnet4 as testnet-compatible lntb because BOLT11 has no distinct testnet4 HRP
  • Allow the app wrapper to route the new prefixes and cover them in tests

I tested locally on a signet invoice. It works. The official site https://lightningdecoder.com determines the chain as "unknown".

@vercel

vercel Bot commented Jun 1, 2026

Copy link
Copy Markdown

@starius is attempting to deploy a commit to the Andre Neves' projects Team on Vercel.

A member of the Team first needs to authorize it.

- Add signet lntbs and regtest lnbcrt BOLT11 mappings
- Keep signet fallback addresses on the testnet tb address HRP
- Treat testnet4 as testnet-compatible lntb because BOLT11 has no distinct testnet4 HRP
- Allow the app wrapper to route the new prefixes and cover them in tests
@vercel

vercel Bot commented Jun 1, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
lightning-decoder Ready Ready Preview, Comment Jun 1, 2026 6:23pm

@andrerfneves andrerfneves merged commit ff3d203 into andrerfneves:main Jun 1, 2026
4 checks passed
@andrerfneves

Copy link
Copy Markdown
Owner

@starius merged it. Can you test with a few regtest/signet invoices and send screenshots here? Want to make sure its looking clean as it should.

@starius

starius commented Jun 1, 2026

Copy link
Copy Markdown
Contributor Author

Signet invoice lntbs10u1p4pmkadpp54vju9nhep0e96pjz4kzc7s4egz4x2jgu28m9q3c9n4ej0gd0r5msdqqcqzzsxqyz5vqsp5jecykp6grca9jexnxnldrlzf0d5rsxqykp49s05uy0qrcgns63kq9qxpqysgqlwu63gu68hh65mleknvl2d42qp425xymyu4097ugcvg5mffq4apkt6ywqm5v6904dz5ykfak6vkarcdm39fk44emgfrvg9y5ql76wlsqf435m2

Screenshot 2026-06-01 at 14-28-00 Lightning Decoder - Decode Lightning Network Requests (BOLT11 LNURL and Lightning Address)

Regtest invoice lnbcrt123450n1p4pmh9vpp57fc4k3cfhe2yazzt05r2x5u4n7th0dfqff4txe5vp3a6yj6lfpnsdp6f35kw6r5de5kueeqg3jkxmmyv4ezqun9va6x2um5ypmxzmrfv3shg6t0dccqzzsxqyz5vqsp5as72egccnd5wanf9fsp8yqvlunslawp09c5mzvfez2a4ag3t028q9qxpqysgqtrqde0hxq6z5360v48ge5cx3jfsuv4luhc2j0q6jt5xha6uqnky9vzepj97crsmzgx0y025uqfnv7ee34cyt3rrr8pgz2sfq5enhs9qp58dt6w

Screenshot 2026-06-01 at 14-29-58 Lightning Decoder - Decode Lightning Network Requests (BOLT11 LNURL and Lightning Address)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants