Skip to content

Commit 8a3a8bd

Browse files
committed
fix: update to provide for future extensibility
1 parent dd3033f commit 8a3a8bd

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

bip-0048.mediawiki

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,8 @@ This BIP is a particular application of BIP43.
2323

2424
The motivation of this BIP is to define the existing industry wide practice of utilizing m/48'
2525
derivation paths in hierarchical deterministic multi-sig wallets so that other developers may
26-
benefit from a standard.
26+
benefit from a standard. This BIP allows for future script types to easily be appended to the
27+
specification so that a new BIP is not required for every future script type.
2728

2829
The hierarchy proposed in this paper is quite comprehensive. It allows the handling of
2930
multiple accounts, external and internal chains per account, multiple script types and
@@ -84,15 +85,22 @@ Hardened derivation is used at this level.
8485
===Script===
8586

8687
This level splits the key space into two separate <code>script_type</code>(s). To provide
87-
backward compatibility.
88+
forward compatibility for future script types this specification can be easily extended.
8889

89-
The recommended default is pay to witness script hash <code>m/48'/0'/0'/2'</code>.
90-
91-
The following represent mainnet, account 0:
90+
Currently the only script types covered by this BIP are Native Segwit (p2wsh) and
91+
Nested Segwit (p2sh-p2wsh).
9292

93+
The following path represents Nested Segwit (p2sh-p2wsh) mainnet, account 0:
9394
<code>1'</code>: Nested Segwit (p2sh-p2wsh) <code>m/48'/0'/0'/1'</code></br>
95+
96+
The following paths represent Native Segwit (p2wsh) mainnet, account 0:
9497
<code>2'</code>: Native Segwit (p2wsh) <code>m/48'/0'/0'/2'</code></br>
9598

99+
The recommended default for wallets is pay to witness script hash <code>m/48'/0'/0'/2'</code>.
100+
101+
To add new script types submit a PR to this specification and include it in the list above:
102+
<code>X'</code>: Future script type <code>m/48'/0'/0'/X'</code></br>
103+
96104
===Change===
97105

98106
Constant 0 is used for external chain and constant 1 for internal chain (also

0 commit comments

Comments
 (0)