Last active
February 13, 2016 07:28
-
-
Save you21979/81e8667190d34db62def to your computer and use it in GitHub Desktop.
bitcoin dsl
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
どんなウォレットを作るか定義する | |
<hdwallet> | |
<enum name="coin_type"> | |
<const name="bitcoin" value="0" /> | |
<const name="testnet" value="1" /> | |
<const name="litecoin" value="2" /> | |
</enum> | |
<enum name="change_type"> | |
<const name="external" value="0" /> | |
<const name="internal" value="1" /> | |
</enum> | |
<structure name="deposit_wallet"> | |
<const name="purpose" value="777" hardened="true" /> | |
<param name="coin_type" type="coin_type" hardened="true" /> | |
<param name="account" /> | |
<param name="address_index" /> | |
</structure> | |
<structure name="BIP44"> | |
<const name="purpose" value="44" hardened="true" /> | |
<param name="coin_type" type="coin_type" hardened="true" /> | |
<param name="account" hardened="true" /> | |
<param name="change" type="change_type" /> | |
<param name="address_index" /> | |
</structure> | |
</hdwallet> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://github.com/satoshilabs/slips/blob/master/slip-0044.md | |
https://github.com/bitcoinjs/bip44-constants | |
コイン種別はsatoshilabの人がやってる | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment