Skip to content

Add Kadena namespace (kadena) with CAIP-2 profile - #204

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

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

Conversation

@okwme

@okwme okwme commented Sep 14, 2026

Copy link
Copy Markdown

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

This aligns with an identifier Kadena already registered

KIP-0017 is Status: Final and already defines kadena:mainnet01, kadena:testnet04 and kadena:development as CAIP-2 identifiers, deployed in wallets via WalletConnect. This PR documents that existing practice in CASA rather than proposing anything new.

Who wrote this

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

The Chainweb question, answered by KIP-0017 rather than by me

Kadena's Chainweb is 20 parallel chains under one network id, so the obvious objection is that kadena:mainnet01 cannot address the chain an asset actually lives on. KIP-0017 states these identifiers are not Kadena Chain IDs, and surfaces the Chainweb chain separately as a chains array in kadena_getAccounts_v1.

The spec argues the same conclusion structurally: Chainweb chains cannot finalise independently. Each header commits to its adjacents, and a cut is valid only if all 20 braid. That breaks the cosmos/polkadot analogy, whose zones and parachains have independent validator sets. Mainnet also went from 10 chains to 20 at height 852,054 under the same network id, so a chain count cannot be part of the identifier. Per-chain addressing belongs at CAIP-10/CAIP-19.

Verified live (2026-09-14)

  • /chainweb/0.0/mainnet01/cut returns "instance": "mainnet01" with exactly 20 chains; block production confirmed (cut height advanced 144,563,274 → 144,563,305 over 45s).
  • Wrong network ids in the path (testnet04, mainnet02) 404 on the same host — used as a validation property in Resolution Mechanics.
  • Network ids cross-checked in src/Chainweb/Version/*.hs.

Two operational facts the docs get wrong, both recorded in the spec

  • api.chainweb.com is dead — NXDOMAIN from chainweb.com's own authoritative nameservers (zone SOA serial 1). Kadena's docs and OpenAPI cite it throughout. I verified the network via the community bootstrap nodes listed in src/P2P/BootstrapNodes.hs instead, and the spec tells implementers not to hard-code a vendor host.
  • Kadena Inc. wound down in October 2025 (every kadena-io repo returns archived: true; maintenance moved to kda-community/chainweb-node). Secondary sources claiming mainnet halted on 2025-11-15 are wrong — I measured blocks advancing.

Flagged for a future CAIP-19 profile

Kadena principal namespaces are n_ + 40 hex (e.g. n_14912521….my-calculator), and _ is not legal in a CAIP-19 asset_reference. % is, so percent-encoding is the only grammar-legal escape. Flagged, not decided.

discussions-to: 0xcounting/FAR#1

Adds a CAN for the kadena 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 kadena 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