Skip to content

net: add betanet and drop alphanet - #22

Merged
mplatt8 merged 1 commit into
LayerTwo-Labs:masterfrom
octobocto:sep-19-truthcoin-betanet-up
Sep 21, 2026
Merged

mplatt8 merged 1 commit into
LayerTwo-Labs:masterfrom
octobocto:sep-19-truthcoin-betanet-up

Conversation

@octobocto

Copy link
Copy Markdown

Truthcoin cannot join Betanet. Network has Alphanet, but no Betanet, so the node has no Betanet magic bytes and no Betanet seed. BitWindow starts truthcoin with --network=betanet on Betanet, and clap refuses that value.

#17 gave truthcoin its own TRUTH prefix, and it kept Alphanet as network id 3. Betanet replaces Alphanet as the live eCash test network, and the other sidechains already use network id 4 for Betanet.

This PR adds Network::Betanet with the magic bytes 828f0a04 and the seed seed.beta.ecash.eu.com, the node that runs BMM for truthcoin, and drops Alphanet. It does not change signet, regtest or forknet.

The magic bytes copied the bitassets name "BITS8", so truthcoin shared
regtest, forknet and alphanet with that chain. Its 6 characters also left
2 free bits, which is why Signet squatted on 0b110. The name is "TRUTH"
now, and every network identifier fits.
@mplatt8
mplatt8 merged commit f399e21 into LayerTwo-Labs:master Sep 21, 2026
8 checks passed
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