Skip to content

Add Massa namespace (massa) with CAIP-2 profile - #207

Open
okwme wants to merge 1 commit into
ChainAgnostic:mainfrom
okwme:add-massa-namespace
Open

Add Massa namespace (massa) with CAIP-2 profile#207
okwme wants to merge 1 commit into
ChainAgnostic:mainfrom
okwme:add-massa-namespace

Conversation

@okwme

@okwme okwme commented Sep 14, 2026

Copy link
Copy Markdown

Adds a CAN for Massa with a CAIP-2 Blockchain ID profile.

Who wrote this

I do not represent the Massa ecosystem. I maintain FAR, an open cross-reference between CAIP-19, CoinGecko and ISO 24165 identifiers. Offered as a starting point for Massa's maintainers to correct, adopt or replace.

Proposal

massa: + the node's u64 chain_id as canonical decimal. Max 20 digits, so truncation never arises.

massa:77658377    mainnet
massa:77658366    buildnet

Verified live (2026-09-14)

POST https://mainnet.massa.net/api/v2 get_statuschain_id: 77658377, version: MAIN.5.0. Buildnet → 77658366. Corroborated twice more against the CHAINID constant in massa-models/src/config/constants.rs and the published table at docs.massa.net/docs/node/constants.

A self-check worth knowing

Massa chain ids are the ASCII code points of a four-letter network code: MASM = 77·65·83·77 = 77658377, MASB = 77658366, MASS = 77658383. Documented in the Rationale, since it lets a reviewer sanity-check a value without a node.

Address format, corrected against source

Verified against massa-models/src/address.rs, which documents the format as A + {U | S} + base58(version + hash). The README makes a point that is easy to get wrong: the 1 in AU1… / AS1… is not a fixed prefix. It is address version 0, whose varint is 0x00, which base58 renders as 1. Tooling that hard-codes AU1/AS1 breaks at address version 1.

discussions-to: 0xcounting/FAR#1

Adds a CAN for the massa ecosystem with a CAIP-2 Blockchain ID profile.
Drafted by the maintainers of FAR, an open cross-reference between CAIP-19,
CoinGecko and ISO 24165 identifiers, which needs a CAIP-2 for this chain to
name assets that exist on it. The authors do not represent the massa ecosystem
and offer this as a starting point for its community to correct, adopt or
replace. Discussion: 0xcounting/FAR#1
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.

1 participant