From fd87b1486d26b243ecffc46a42c690b59c988ded Mon Sep 17 00:00:00 2001 From: By_caballero <37127325+bumblefudge@users.noreply.github.com> Date: Sun, 27 Mar 2022 17:48:05 +0200 Subject: [PATCH 1/8] to add lip9/readme and /caip2 --- lip9/README.md | 29 +++++++++++++++++++++++++ lip9/caip2.md | 59 ++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 lip9/README.md create mode 100644 lip9/caip2.md diff --git a/lip9/README.md b/lip9/README.md new file mode 100644 index 00000000..a4782407 --- /dev/null +++ b/lip9/README.md @@ -0,0 +1,29 @@ +--- +namespace-identifier: lip9 +title: LIP9 Namespace, aka Lisp +--- + +# LIP9 Namespace + +This document is about the details of the Lisk namespace as defined by LIP-9, +including Lisk Mainnet and Testnet, forks and side chains. + +## Syntax + +The namespace `lip9` refers to Lisk namespace as defined above. + +## Governance + +The Lisk namespace is governed by the Lisk Improvement Proposal [LIP][] system. + +## References + +- [LIP-9] - The Lisk Improvement Proposal that defined chain IDs for making + transactions resistant to cross-chain and cross-fork replay. + +[LIP]: https://github.com/LiskHQ/lips/ +[LIP-9]: https://github.com/LiskHQ/lips/blob/main/proposals/lip-0009.md#specification + +## Copyright + +Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/). \ No newline at end of file diff --git a/lip9/caip2.md b/lip9/caip2.md new file mode 100644 index 00000000..94ae93b5 --- /dev/null +++ b/lip9/caip2.md @@ -0,0 +1,59 @@ +--- +namespace-identifier: lip9-caip2 +title: LIP9 Namespace, aka Lisp - Chains +author: Simon Warta (@webmaster128) +discussions-to: https://github.com/ChainAgnostic/CAIPs/issues/7, https://github.com/ChainAgnostic/CAIPs/pull/1 +status: Draft +type: Standard +created: 2019-12-05 +updated: 2020-01-16 +requires: CAIP-2 +supersedes: CAIP-6 +--- + +# CAIP-2 + +*For context, see the [CAIP-2][] specification.* + +## Rationale + +In CAIP-2 a general blockchain identification scheme is defined. This is the +implementation of CAIP-2 for the Lisk ecosystem as defined in [LIP-9][]. + +## Semantics + +The definition is delegated to LIP9. + +## Syntax + +The reference format is a 16 character string extracted from the first 16 +characters of the network identifier defined in LIP9 (a 64-character SHA256 hash +in lowercase hex). + +### Backwards Compatibility + +LIP-9 introduced a hard fork, but no cross-fork/cross-chain replay protection +(or other validating chain identification scheme) predates it. + +## Test Cases + +This is a list of manually composed examples + +``` +# Lisk Mainnet (https://github.com/LiskHQ/lips/blob/master/proposals/lip-0009.md#appendix-example) +lip9:9ee11e9df416b18b + +# Lisk Testnet (echo -n "da3ed6a45429278bac2666961289ca17ad86595d33b31037615d4b8e8f158bbaLisk" | sha256sum | head -c 16) +lip9:e48feb88db5b5cf5 +``` + +## References + +- [LIP-9] - The Lisk Improvement Proposal that defined chain IDs for making + transactions resistant to cross-chain and cross-fork replay. + +[LIP-9]: https://github.com/LiskHQ/lips/blob/main/proposals/lip-0009.md#specification + +## Copyright + +Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/). \ No newline at end of file From 52c2b7e6a45e99bd07eed84351cebcbe598fc9bd Mon Sep 17 00:00:00 2001 From: Bumblefudge Date: Sun, 27 Mar 2022 19:00:36 +0200 Subject: [PATCH 2/8] Update lip9/README.md Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com> --- lip9/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lip9/README.md b/lip9/README.md index a4782407..d801c028 100644 --- a/lip9/README.md +++ b/lip9/README.md @@ -1,6 +1,6 @@ --- namespace-identifier: lip9 -title: LIP9 Namespace, aka Lisp +title: LIP9 Namespace, aka Lisk --- # LIP9 Namespace From 98cb4e8b348374df472bd5e3338eaf8c60f2b262 Mon Sep 17 00:00:00 2001 From: Bumblefudge Date: Sun, 27 Mar 2022 19:00:42 +0200 Subject: [PATCH 3/8] Update lip9/README.md Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com> --- lip9/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lip9/README.md b/lip9/README.md index d801c028..4871d5be 100644 --- a/lip9/README.md +++ b/lip9/README.md @@ -14,7 +14,7 @@ The namespace `lip9` refers to Lisk namespace as defined above. ## Governance -The Lisk namespace is governed by the Lisk Improvement Proposal [LIP][] system. +The Lisk namespace is governed by the Lisk Improvement Proposal [LIP] system. ## References From 3371f988582b4be9beae30d7d4fd9a2750cf143a Mon Sep 17 00:00:00 2001 From: Bumblefudge Date: Sun, 27 Mar 2022 19:00:49 +0200 Subject: [PATCH 4/8] Update lip9/caip2.md Co-authored-by: Simon Warta <2603011+webmaster128@users.noreply.github.com> --- lip9/caip2.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lip9/caip2.md b/lip9/caip2.md index 94ae93b5..55de3213 100644 --- a/lip9/caip2.md +++ b/lip9/caip2.md @@ -1,6 +1,6 @@ --- namespace-identifier: lip9-caip2 -title: LIP9 Namespace, aka Lisp - Chains +title: LIP9 Namespace, aka Lisk - Chains author: Simon Warta (@webmaster128) discussions-to: https://github.com/ChainAgnostic/CAIPs/issues/7, https://github.com/ChainAgnostic/CAIPs/pull/1 status: Draft From 14ee1a44abdd9f376a499086e48a74b63d7caf1c Mon Sep 17 00:00:00 2001 From: By_caballero <37127325+bumblefudge@users.noreply.github.com> Date: Sun, 27 Mar 2022 19:03:59 +0200 Subject: [PATCH 5/8] to replace reference-links --- lip9/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lip9/README.md b/lip9/README.md index 4871d5be..06ff5c00 100644 --- a/lip9/README.md +++ b/lip9/README.md @@ -14,11 +14,11 @@ The namespace `lip9` refers to Lisk namespace as defined above. ## Governance -The Lisk namespace is governed by the Lisk Improvement Proposal [LIP] system. +The Lisk namespace is governed by the Lisk Improvement Proposal [LIP][] system. ## References -- [LIP-9] - The Lisk Improvement Proposal that defined chain IDs for making +- [LIP-9][] - The Lisk Improvement Proposal that defined chain IDs for making transactions resistant to cross-chain and cross-fork replay. [LIP]: https://github.com/LiskHQ/lips/ From b49ff60a8c02d58327378ba48f3cd254521a8b56 Mon Sep 17 00:00:00 2001 From: By_caballero <37127325+bumblefudge@users.noreply.github.com> Date: Sun, 27 Mar 2022 19:04:34 +0200 Subject: [PATCH 6/8] typo --- lip9/README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lip9/README.md b/lip9/README.md index 06ff5c00..83828219 100644 --- a/lip9/README.md +++ b/lip9/README.md @@ -5,8 +5,8 @@ title: LIP9 Namespace, aka Lisk # LIP9 Namespace -This document is about the details of the Lisk namespace as defined by LIP-9, -including Lisk Mainnet and Testnet, forks and side chains. +This document is about the details of the Lisk namespace as defined by +[LIP-9][], including Lisk Mainnet and Testnet, forks and side chains. ## Syntax From c772544fc4e4c2c1ef5fda7cf2780e9c888bdb81 Mon Sep 17 00:00:00 2001 From: By_caballero <37127325+bumblefudge@users.noreply.github.com> Date: Sun, 27 Mar 2022 19:06:50 +0200 Subject: [PATCH 7/8] to fix frontmatter --- lip9/README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lip9/README.md b/lip9/README.md index 83828219..961d66b0 100644 --- a/lip9/README.md +++ b/lip9/README.md @@ -1,6 +1,13 @@ --- namespace-identifier: lip9 title: LIP9 Namespace, aka Lisk +author: Simon Warta (@webmaster128) +status: Accepted +type: Informational +created: 2019-12-05 +updated: 2020-01-16 +replaces: CAIP-6 + --- # LIP9 Namespace From 7c509a081ca4a17059dccb968d6e26fe6f2fda78 Mon Sep 17 00:00:00 2001 From: By_caballero <37127325+bumblefudge@users.noreply.github.com> Date: Sun, 27 Mar 2022 19:13:09 +0200 Subject: [PATCH 8/8] stray newline nixed --- lip9/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/lip9/README.md b/lip9/README.md index 961d66b0..79362e1a 100644 --- a/lip9/README.md +++ b/lip9/README.md @@ -7,7 +7,6 @@ type: Informational created: 2019-12-05 updated: 2020-01-16 replaces: CAIP-6 - --- # LIP9 Namespace