nips icon indicating copy to clipboard operation
nips copied to clipboard

External Content IDs for blockchain: Adopt chain agnostic specifications

Open friedger opened this issue 2 months ago • 0 comments

In the current version of NIP-073, content IDs for blockchain addresses and blockchain txs are described similarly to the chain agnostic project. In particular, blockchain addresses are specified as blockchain accounts at https://chainagnostic.org/CAIPs/caip-10

The main difference is the blockchain specifier. CAIP-010 defines chain_id that consists of a blockchain namespace and a reference. NIP-073 uses a language like "any layer 1 blockchain [a well known name] plus chain ID [a number]".

Suggestion

  • Replace the specification of "Blockchain Address" with the one of CAIP-010
  • Replace the specification of "Blockchain Transaction" with the one of https://github.com/ChainAgnostic/CAIPs/pull/221
  • Add human-readable short names as an alias for chain_ids, like ethereum for eip155:1, bitcoin for bip122:1

friedger avatar Oct 24 '25 16:10 friedger