diff --git a/README.md b/README.md index 8ea64b37..4b50f9a9 100644 --- a/README.md +++ b/README.md @@ -36,6 +36,7 @@ You can build the chrome application for other coins. Run `gulp clean build pack - dogecoin - dogecoin_test - zencash + - syscoin Note: that the API is only available for bitcoin and testnet right now. diff --git a/app/src/bitcoin/networks.coffee b/app/src/bitcoin/networks.coffee index 99bb1f9c..bce95ed2 100644 --- a/app/src/bitcoin/networks.coffee +++ b/app/src/bitcoin/networks.coffee @@ -126,6 +126,14 @@ bitcoin.networks.digibyte = pubKeyHash: 30 scriptHash: 5 +bitcoin.networks.syscoin = + magicPrefix: '\x19Syscoin Signed Message:\n' + bip32: + public: 0x0488B21E, + private: 0x0488ADE4 + pubKeyHash: 63 + scriptHash: 5 + ledger.bitcoin ||= {} ledger.bitcoin.Networks = bitcoin: @@ -904,3 +912,24 @@ ledger.bitcoin.Networks = dust: 10000 handleFeePerByte: no areTransactionTimestamped: no + + syscoin: + name: 'syscoin' + display_name: 'syscoin' + plural: 'syscoins' + scheme: 'syscoin:' + bolosAppName: 'syscoin' + ticker: 'sys' + tickerKey: + from: 'fromSYS' + to: 'toSYS' + bip44_coin_type: '57' + isSegwitSupported: no + version: + regular: 63 + P2SH: 5 + XPUB: 0x0488b21E + bitcoinjs: bitcoin.networks.syscoin + dust: 5430 + handleFeePerByte: no + areTransactionTimestamped: no \ No newline at end of file diff --git a/app/src/preferences/defaults.coffee b/app/src/preferences/defaults.coffee index c5b2c815..3420123c 100644 --- a/app/src/preferences/defaults.coffee +++ b/app/src/preferences/defaults.coffee @@ -732,4 +732,22 @@ ledger.preferences.digibyte = address: 'https://digiexplorer.info/tx/%s' discoveryGap: 20 +ledger.preferences.syscoin = + Display: + units: + bitcoin: + symbol: 'SYS' + unit: 8 + milibitcoin: + symbol: 'mSYS' + unit: 5 + +# Coin preferences + Coin: + explorers: + qtuminfo: + name: 'CryptoID' + address: 'https://chainz.cryptoid.info/sys/tx.dws?%s.htm' + discoveryGap: 20 + ledger.preferences.common.setCoin("bitcoin")