diff options
author | iancoleman <1281387+iancoleman@users.noreply.github.com> | 2020-02-06 15:00:02 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-06 15:00:02 +1100 |
commit | a98d40c43d44f052794e787efec778365997825d (patch) | |
tree | 3b8e2905ea21622af9a22140c266e819a49ed966 /src | |
parent | 54a8e781b476b6be3d404f9e8a4897a5a661ea6d (diff) | |
parent | c16661aeea6645ea662f6af75a8e6e8e06096bcf (diff) | |
download | BIP39-a98d40c43d44f052794e787efec778365997825d.tar.gz BIP39-a98d40c43d44f052794e787efec778365997825d.tar.zst BIP39-a98d40c43d44f052794e787efec778365997825d.zip |
Merge pull request #397 from aitorp6/master
Added DeepOnion Segwit parameters
Diffstat (limited to 'src')
-rw-r--r-- | src/js/segwit-parameters.js | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/js/segwit-parameters.js b/src/js/segwit-parameters.js index c548215..801c3a6 100644 --- a/src/js/segwit-parameters.js +++ b/src/js/segwit-parameters.js | |||
@@ -657,4 +657,30 @@ libs.bitcoin.networks.groestlcointestnet.p2wpkhInP2sh = { | |||
657 | wif: 0xef | 657 | wif: 0xef |
658 | }; | 658 | }; |
659 | 659 | ||
660 | libs.bitcoin.networks.deeponion.p2wpkh = { | ||
661 | baseNetwork: "deeponion", | ||
662 | messagePrefix: '\x18DeepOnion Signed Message:\n', | ||
663 | bech32: 'dpn', | ||
664 | bip32: { | ||
665 | public: 0x0488b21e, | ||
666 | private: 0x0488ade4 | ||
667 | }, | ||
668 | pubKeyHash: 0x1f, | ||
669 | scriptHash: 0x4e, | ||
670 | wif: 0x9f | ||
671 | }; | ||
672 | |||
673 | libs.bitcoin.networks.deeponion.p2wpkhInP2sh = { | ||
674 | baseNetwork: "deeponion", | ||
675 | messagePrefix: '\x18DeepOnion Signed Message:\n', | ||
676 | bech32: 'dpn', | ||
677 | bip32: { | ||
678 | public: 0x0488b21e, | ||
679 | private: 0x0488ade4 | ||
680 | }, | ||
681 | pubKeyHash: 0x1f, | ||
682 | scriptHash: 0x4e, | ||
683 | wif: 0x9f | ||
684 | }; | ||
685 | |||
660 | })(); | 686 | })(); |