mirror of
https://github.com/bitcoin/bips.git
synced 2025-05-12 12:03:29 +00:00
fix: define motivation, remove account creation blurb.
This commit is contained in:
parent
86e77903ba
commit
bf8c208da5
@ -21,10 +21,16 @@ This BIP is a particular application of BIP43.
|
|||||||
|
|
||||||
==Motivation==
|
==Motivation==
|
||||||
|
|
||||||
|
The motivation of this BIP is to define the existing industry wide practice of utilizing m/48'
|
||||||
|
derivation paths in hierarchical deterministic multi-sig wallets so that other developers may
|
||||||
|
benefit from a standard.
|
||||||
|
|
||||||
The hierarchy proposed in this paper is quite comprehensive. It allows the handling of
|
The hierarchy proposed in this paper is quite comprehensive. It allows the handling of
|
||||||
multiple accounts, external and internal chains per account, multiple script types and
|
multiple accounts, external and internal chains per account, multiple script types and
|
||||||
millions of addresses per chain.
|
millions of addresses per chain.
|
||||||
|
|
||||||
|
This paper was inspired from BIP44.
|
||||||
|
|
||||||
==Key sorting==
|
==Key sorting==
|
||||||
|
|
||||||
Any wallet that supports BIP48 inherently supports deterministic key sorting as per BIP67 so that all possible
|
Any wallet that supports BIP48 inherently supports deterministic key sorting as per BIP67 so that all possible
|
||||||
@ -75,21 +81,15 @@ This number is used as child index in BIP32 derivation.
|
|||||||
|
|
||||||
Hardened derivation is used at this level.
|
Hardened derivation is used at this level.
|
||||||
|
|
||||||
Software should prevent a creation of an account if a previous account does not
|
|
||||||
have a transaction history (meaning none of its addresses have been used before).
|
|
||||||
|
|
||||||
Software needs to discover all used accounts after importing the seed from
|
|
||||||
an external source. Such an algorithm is described in "Account discovery" chapter.
|
|
||||||
|
|
||||||
===Script===
|
===Script===
|
||||||
|
|
||||||
This level splits the key space into three separate <code>script_type</code>(s). To provide
|
This level splits the key space into two separate <code>script_type</code>(s). To provide
|
||||||
backward and forward compatibility.
|
backward and forward compatibility.
|
||||||
|
|
||||||
The following represent mainnet, account 0:
|
|
||||||
|
|
||||||
The recommended default is pay to witness script hash <code>m/48'/0'/0'/2'</code>.
|
The recommended default is pay to witness script hash <code>m/48'/0'/0'/2'</code>.
|
||||||
|
|
||||||
|
The following represent mainnet, account 0:
|
||||||
|
|
||||||
<code>1'</code>: Nested Segwit (p2sh-p2wsh) <code>m/48'/0'/0'/1'</code></br>
|
<code>1'</code>: Nested Segwit (p2sh-p2wsh) <code>m/48'/0'/0'/1'</code></br>
|
||||||
<code>2'</code>: Native Segwit (p2wsh) <code>m/48'/0'/0'/2'</code></br>
|
<code>2'</code>: Native Segwit (p2wsh) <code>m/48'/0'/0'/2'</code></br>
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user