From 8472a347e6c26876a6390afb7315c2178d544dba Mon Sep 17 00:00:00 2001 From: RareData <44319370+RareData@users.noreply.github.com> Date: Fri, 9 Aug 2024 18:37:26 +0900 Subject: [PATCH 1/4] Update examples Updating to current and common examples (Bitcoin, Litecoin, Dogecoin) for a better developer experience. --- bip122/caip2.md | 21 +++++++++++++++------ 1 file changed, 15 insertions(+), 6 deletions(-) diff --git a/bip122/caip2.md b/bip122/caip2.md index 4dc20289..8a103e3b 100644 --- a/bip122/caip2.md +++ b/bip122/caip2.md @@ -1,12 +1,12 @@ --- namespace-identifier: bip122-caip2 title: BIP122 Namespace - Chains -author: Simon Warta (@webmaster128), ligi , Pedro Gomes (@pedrouid) +author: Simon Warta (@webmaster128), ligi , Pedro Gomes (@pedrouid), RareData (@RareData) discussions-to: https://github.com/ChainAgnostic/namespaces/pulls/3 status: Draft type: Standard created: 2019-12-05 -updated: 2022-03-27 +updated: 2024-08-09 requires: CAIP-2 replaces: CAIP-4 --- @@ -60,11 +60,20 @@ This is a list of manually composed examples: # Bitcoin mainnet (see [chain ID section of BIP122](https://github.com/bitcoin/bips/blob/master/bip-0122.mediawiki#definition-of-chain-id)) bip122:000000000019d6689c085ae165831e93 -# Litecoin +# Litecoin mainnet bip122:12a765e31ffd4059bada1e25190f6e98 -# Feathercoin (Litecoin fork) -bip122:fdbe99b90c90bae7505796461471d89a +# Dogecoin mainnet +bip122:1a91e3dace36e2be3bf030a65679fe821 + +# Bitcoin testnet +bip122:000000000933ea01ad0ee984209779ba + +# Litecoin testnet +bip122:4966625a4b2851d9fdee139e56211a0d + +# Dogecoin testnet +bip122:bb0a78264637406b6360aad926284d54 ``` ## References @@ -84,4 +93,4 @@ bip122:fdbe99b90c90bae7505796461471d89a ## Rights -Copyright and related rights waived via CC0. \ No newline at end of file +Copyright and related rights waived via CC0. From a17131f2131afd1067fd754f2ca9156285591584 Mon Sep 17 00:00:00 2001 From: RareData <44319370+RareData@users.noreply.github.com> Date: Fri, 16 Aug 2024 00:05:04 +0400 Subject: [PATCH 2/4] Update bip122/caip2.md Co-authored-by: Bumblefudge --- bip122/caip2.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/bip122/caip2.md b/bip122/caip2.md index 8a103e3b..0b5009d0 100644 --- a/bip122/caip2.md +++ b/bip122/caip2.md @@ -63,6 +63,10 @@ bip122:000000000019d6689c085ae165831e93 # Litecoin mainnet bip122:12a765e31ffd4059bada1e25190f6e98 +# Bitcoin Cash (forked from Bitcoin Mainnet after block 478560, with "genesis" hash of +# 000000000000000000b15ad892af8f6aca4462d46d0b6e5884cadc033c8f257b ) +bip122:000000000000000000b15ad892af8f6a + # Dogecoin mainnet bip122:1a91e3dace36e2be3bf030a65679fe821 From 176d0115c5ad8bbe8ae0d542a681bc5a9f00ded3 Mon Sep 17 00:00:00 2001 From: RareData <44319370+RareData@users.noreply.github.com> Date: Fri, 16 Aug 2024 00:07:19 +0400 Subject: [PATCH 3/4] Formatting fixes --- bip122/caip2.md | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/bip122/caip2.md b/bip122/caip2.md index 0b5009d0..fd8220fd 100644 --- a/bip122/caip2.md +++ b/bip122/caip2.md @@ -57,16 +57,15 @@ compatible with the reference syntax defined above. This is a list of manually composed examples: ``` -# Bitcoin mainnet (see [chain ID section of BIP122](https://github.com/bitcoin/bips/blob/master/bip-0122.mediawiki#definition-of-chain-id)) +# Bitcoin mainnet (see https://github.com/bitcoin/bips/blob/master/bip-0122.mediawiki#definition-of-chain-id) bip122:000000000019d6689c085ae165831e93 +# Bitcoin Cash mainnet (forked from Bitcoin mainnet after block 478560, with "genesis" hash of 000000000000000000b15ad892af8f6aca4462d46d0b6e5884cadc033c8f257b) +bip122:000000000000000000b15ad892af8f6a + # Litecoin mainnet bip122:12a765e31ffd4059bada1e25190f6e98 -# Bitcoin Cash (forked from Bitcoin Mainnet after block 478560, with "genesis" hash of -# 000000000000000000b15ad892af8f6aca4462d46d0b6e5884cadc033c8f257b ) -bip122:000000000000000000b15ad892af8f6a - # Dogecoin mainnet bip122:1a91e3dace36e2be3bf030a65679fe821 From 8b523dc3b472662ed6cf84322da9582ec0af9a32 Mon Sep 17 00:00:00 2001 From: RareData <44319370+RareData@users.noreply.github.com> Date: Sat, 17 Aug 2024 01:48:56 +0400 Subject: [PATCH 4/4] Clarify BCH hardfork --- bip122/caip2.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bip122/caip2.md b/bip122/caip2.md index fd8220fd..d6e76508 100644 --- a/bip122/caip2.md +++ b/bip122/caip2.md @@ -6,7 +6,7 @@ discussions-to: https://github.com/ChainAgnostic/namespaces/pulls/3 status: Draft type: Standard created: 2019-12-05 -updated: 2024-08-09 +updated: 2024-08-17 requires: CAIP-2 replaces: CAIP-4 --- @@ -60,8 +60,8 @@ This is a list of manually composed examples: # Bitcoin mainnet (see https://github.com/bitcoin/bips/blob/master/bip-0122.mediawiki#definition-of-chain-id) bip122:000000000019d6689c085ae165831e93 -# Bitcoin Cash mainnet (forked from Bitcoin mainnet after block 478560, with "genesis" hash of 000000000000000000b15ad892af8f6aca4462d46d0b6e5884cadc033c8f257b) -bip122:000000000000000000b15ad892af8f6a +# Bitcoin Cash mainnet (forked from Bitcoin mainnet, the first Bitcoin Cash block is 478559) +bip122:000000000000000000651ef99cb9fcbe # Litecoin mainnet bip122:12a765e31ffd4059bada1e25190f6e98