diff --git a/lib/coins/btc.js b/lib/coins/btc.js index 8dc3385..9046b02 100644 --- a/lib/coins/btc.js +++ b/lib/coins/btc.js @@ -90,6 +90,30 @@ var regtest = Object.assign({}, { } }, common) +var signet = Object.assign({}, { + hashGenesisBlock: '00000008819873e925422c1ff0f99f7cc9bbb232af63a077a480a3633bee1ef6', + port: 38333, + portRpc: 38332, + protocol: { + magic: 0x7ec653a5 + }, + bech32: 'tb', + seedsDns: [ + '178.128.221.177', + '2a01:7c8:d005:390::5' + ], + versions: { + bip32: { + private: 0x04358394, + public: 0x043587cf + }, + bip44: 1, + private: 0xef, + public: 0x6f, + scripthash: 0xc4 + } +}, common) + // source: https://github.com/btcsuite/btcd/blob/6867ff32788a1beb9d148e414d7f84f50958f0d2/chaincfg/params.go#L508 var simnet = Object.assign({}, { hashGenesisBlock: 'f67ad7695d9b662a72ff3d8edbbb2de0bfa67b13974bb9910d116d5cbd863e68', @@ -115,6 +139,7 @@ var simnet = Object.assign({}, { module.exports = { main, test, + signet, regtest, simnet }