From a0aa5afbb009bc4e3d7fa531a6143d2deb85211a Mon Sep 17 00:00:00 2001 From: Nick Johnson Date: Fri, 14 Apr 2017 12:29:19 +0100 Subject: [PATCH 1/7] Create eip-draft-ethereum-purpose.md --- eip-draft-ethereum-purpose.md | 61 +++++++++++++++++++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 eip-draft-ethereum-purpose.md diff --git a/eip-draft-ethereum-purpose.md b/eip-draft-ethereum-purpose.md new file mode 100644 index 00000000000000..d2dc676a311652 --- /dev/null +++ b/eip-draft-ethereum-purpose.md @@ -0,0 +1,61 @@ +## Preamble + + EIP: + Title: Ethereum purpose allocation for Deterministic Wallets + Author: Nick Johnson , Micah Zoltu + Type: Standard Track + Category : ERC + Status: Draft + Created: 2017-04-13 + Replaces: [84](https://github.com/ethereum/EIPs/issues/84) + + +## Abstract +This EIP defines a logical hierarchy for deterministic wallets based on [BIP32](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki) and the purpose scheme defined in [BIP43](https://github.com/bitcoin/bips/blob/master/bip-0043.mediawiki). + +This EIP is a particular application of BIP43. + +## Motivation +Because Ethereum is based on account balances rather than UTXO, the hierarchy defined by BIP44 is poorly suited. As a result, several competing derivation path strategies have sprung up for deterministic wallets, resulting in inter-client incompatibility. This BIP seeks to provide a path to standardise this in a fashion better suited to Ethereum's unique requirements. + +## Specification +We define the following 2 levels in BIP32 path: + +
+m / purpose' / subpurpose' / *
+
+ +Apostrophe in the path indicates that BIP32 hardened derivation is used. + +Each level has a special meaning, described in the chapters below. + +### Purpose + +Purpose is a constant set to a value to be determined; the authors of this EIP are still engaged in the standards process to obtain assignment of a 'purpose' field. + +The purpose field indicates that the subtree of this node is used according to this specification. + +Hardened derivation is used at this level. + +### Subpurpose +Subpurpose is set to the EIP number specifying the remainder of the BIP32 derivation path. This permits new Ethereum-focused applications of deterministic wallets without needing to interface with the BIP process. + +Hardened derivation is used at this level. + +## Rationale +The existing convention is to use the 'Ethereum' coin type, leading to paths starting with `m/44'/60'/*`. Because this still assumes a UTXO-based coin, we contend that this is a poor fit, resulting in standardisation, usability, and security compromises. As a result, we are making the above proposal to define an entirely new hierarchy for Ethereum-based chains. + +## Backwards Compatibility +The introduction of another derivation path requires existing software to add support for this scheme in addition to any existing schemes. Given the already confused nature of wallet derivation paths in Ethereum, we anticipate this will cause relatively little additional disruption, and has the potential to improve matters significantly in the long run. + +## Test Cases +TBD + +## Implementation +None yet. + +## References +[This discussion on derivation paths](https://github.com/ethereum/EIPs/issues/84) + +## Copyright +Copyright and related rights waived via [CC0](https://creativecommons.org/publicdomain/zero/1.0/). From 00398a2ede261686b3a62292a2ee3b4c1b7050da Mon Sep 17 00:00:00 2001 From: Nick Johnson Date: Mon, 18 Jun 2018 16:34:36 +0100 Subject: [PATCH 2/7] Update and rename eip-draft-ethereum-purpose.md to eip-600.md --- eip-draft-ethereum-purpose.md => eip-600.md | 20 +++++++++----------- 1 file changed, 9 insertions(+), 11 deletions(-) rename eip-draft-ethereum-purpose.md => eip-600.md (89%) diff --git a/eip-draft-ethereum-purpose.md b/eip-600.md similarity index 89% rename from eip-draft-ethereum-purpose.md rename to eip-600.md index d2dc676a311652..bdf5aa20baa070 100644 --- a/eip-draft-ethereum-purpose.md +++ b/eip-600.md @@ -1,14 +1,12 @@ -## Preamble - - EIP: - Title: Ethereum purpose allocation for Deterministic Wallets - Author: Nick Johnson , Micah Zoltu - Type: Standard Track - Category : ERC - Status: Draft - Created: 2017-04-13 - Replaces: [84](https://github.com/ethereum/EIPs/issues/84) - +eip: 600 +title: Ethereum purpose allocation for Deterministic Wallets +author: Nick Johnson , Micah Zoltu +type: Standard Track +category: ERC +status: Draft +created: 2017-04-13 +replaces: 84 +--- ## Abstract This EIP defines a logical hierarchy for deterministic wallets based on [BIP32](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki) and the purpose scheme defined in [BIP43](https://github.com/bitcoin/bips/blob/master/bip-0043.mediawiki). From d5e99145d962b0b6b4c66daaabb598b870d9d0ad Mon Sep 17 00:00:00 2001 From: Nick Johnson Date: Mon, 18 Jun 2018 16:34:55 +0100 Subject: [PATCH 3/7] Update eip-600.md --- eip-600.md | 1 + 1 file changed, 1 insertion(+) diff --git a/eip-600.md b/eip-600.md index bdf5aa20baa070..6c0bffcad89629 100644 --- a/eip-600.md +++ b/eip-600.md @@ -1,3 +1,4 @@ +--- eip: 600 title: Ethereum purpose allocation for Deterministic Wallets author: Nick Johnson , Micah Zoltu From 1c9071e3b2d9d35e4486d3b24f841a343b92cc57 Mon Sep 17 00:00:00 2001 From: Nick Johnson Date: Tue, 19 Mar 2019 11:07:30 +1300 Subject: [PATCH 4/7] Update eip-600.md --- eip-600.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eip-600.md b/eip-600.md index 6c0bffcad89629..6fa3d739880e17 100644 --- a/eip-600.md +++ b/eip-600.md @@ -1,7 +1,7 @@ --- eip: 600 title: Ethereum purpose allocation for Deterministic Wallets -author: Nick Johnson , Micah Zoltu +author: Nick Johnson (@arachnid), Micah Zoltu (@micahzoltu) type: Standard Track category: ERC status: Draft From 486943b5da72e4987d5ed11a03aa95724319bfe9 Mon Sep 17 00:00:00 2001 From: Nick Johnson Date: Tue, 19 Mar 2019 11:08:59 +1300 Subject: [PATCH 5/7] Update eip-600.md --- eip-600.md | 1 + 1 file changed, 1 insertion(+) diff --git a/eip-600.md b/eip-600.md index 6fa3d739880e17..2ba732edc49e50 100644 --- a/eip-600.md +++ b/eip-600.md @@ -5,6 +5,7 @@ author: Nick Johnson (@arachnid), Micah Zoltu (@micahzoltu) type: Standard Track category: ERC status: Draft +discussions-to: https://ethereum-magicians.org/t/eip-erc-app-keys-application-specific-wallet-accounts/2742 created: 2017-04-13 replaces: 84 --- From 5a33c2a378da95d6693f2745fc813b2ca12fe266 Mon Sep 17 00:00:00 2001 From: Nick Johnson Date: Tue, 19 Mar 2019 11:17:15 +1300 Subject: [PATCH 6/7] Update eip-600.md --- eip-600.md | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/eip-600.md b/eip-600.md index 2ba732edc49e50..6b205af29795f3 100644 --- a/eip-600.md +++ b/eip-600.md @@ -11,7 +11,7 @@ replaces: 84 --- ## Abstract -This EIP defines a logical hierarchy for deterministic wallets based on [BIP32](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki) and the purpose scheme defined in [BIP43](https://github.com/bitcoin/bips/blob/master/bip-0043.mediawiki). +This EIP defines a logical hierarchy for deterministic wallets based on [BIP32](https://github.com/bitcoin/bips/blob/master/bip-0032.mediawiki), the purpose scheme defined in [BIP43](https://github.com/bitcoin/bips/blob/master/bip-0043.mediawiki) and [this proposed change to BIP43](https://github.com/bitcoin/bips/pull/523). This EIP is a particular application of BIP43. @@ -22,7 +22,7 @@ Because Ethereum is based on account balances rather than UTXO, the hierarchy de We define the following 2 levels in BIP32 path:
-m / purpose' / subpurpose' / *
+m / purpose' / subpurpose' / EIP'
 
Apostrophe in the path indicates that BIP32 hardened derivation is used. @@ -31,14 +31,19 @@ Each level has a special meaning, described in the chapters below. ### Purpose -Purpose is a constant set to a value to be determined; the authors of this EIP are still engaged in the standards process to obtain assignment of a 'purpose' field. +Purpose is set to 43, as documented in [this proposed change to BIP43](https://github.com/bitcoin/bips/pull/523). -The purpose field indicates that the subtree of this node is used according to this specification. +The purpose field indicates that this path is for a non-bitcoin cryptocurrency. Hardened derivation is used at this level. ### Subpurpose -Subpurpose is set to the EIP number specifying the remainder of the BIP32 derivation path. This permits new Ethereum-focused applications of deterministic wallets without needing to interface with the BIP process. +Subpurpose is set to 60, the SLIP-44 code for Ethereum. + +Hardened derivation is used at this level. + +### EIP +EIP is set to the EIP number specifying the remainder of the BIP32 derivation path. This permits new Ethereum-focused applications of deterministic wallets without needing to interface with the BIP process. Hardened derivation is used at this level. From 9ebee88ad531928645b2ebbb944185736c3554bb Mon Sep 17 00:00:00 2001 From: Nick Johnson Date: Tue, 19 Mar 2019 11:24:04 +1300 Subject: [PATCH 7/7] Update eip-600.md --- eip-600.md | 1 - 1 file changed, 1 deletion(-) diff --git a/eip-600.md b/eip-600.md index 6b205af29795f3..c315aefca4877d 100644 --- a/eip-600.md +++ b/eip-600.md @@ -7,7 +7,6 @@ category: ERC status: Draft discussions-to: https://ethereum-magicians.org/t/eip-erc-app-keys-application-specific-wallet-accounts/2742 created: 2017-04-13 -replaces: 84 --- ## Abstract