Add Massa namespace (massa) with CAIP-2 profile - #207
Open
okwme wants to merge 1 commit into
Open
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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'su64chain_idas canonical decimal. Max 20 digits, so truncation never arises.Verified live (2026-09-14)
POST https://mainnet.massa.net/api/v2get_status→chain_id: 77658377,version: MAIN.5.0. Buildnet →77658366. Corroborated twice more against theCHAINIDconstant inmassa-models/src/config/constants.rsand the published table atdocs.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 asA + {U | S} + base58(version + hash). The README makes a point that is easy to get wrong: the1inAU1…/AS1…is not a fixed prefix. It is address version0, whose varint is0x00, which base58 renders as1. Tooling that hard-codesAU1/AS1breaks at address version 1.discussions-to: 0xcounting/FAR#1