Skip to content
Permalink
Browse files

Add Ravencoin support

  • Loading branch information...
brian112358 committed Apr 21, 2018
1 parent 28a6c23 commit 303f5030059c805d808c83466275e078d06afbb5
Showing with 54 additions and 1 deletion.
  1. +1 −1 README.md
  2. +29 −0 app/src/bitcoin/networks.coffee
  3. +24 −0 app/src/preferences/defaults.coffee
@@ -36,6 +36,6 @@ You can build the chrome application for other coins. Run `gulp clean build pack
- dogecoin
- dogecoin_test
- zencash
- ravencoin

Note: that the API is only available for bitcoin and testnet right now.

@@ -126,6 +126,14 @@ bitcoin.networks.digibyte =
pubKeyHash: 30
scriptHash: 5

bitcoin.networks.ravencoin =
magicPrefix: '\x16Raven Signed Message:\n'
bip32:
public: 0x0488B21E,
private: 0x0488ADE4
pubKeyHash: 60
scriptHash: 122

ledger.bitcoin ||= {}
ledger.bitcoin.Networks =
bitcoin:
@@ -904,3 +912,24 @@ ledger.bitcoin.Networks =
dust: 10000
handleFeePerByte: no
areTransactionTimestamped: no

ravencoin:
name: 'ravencoin'
display_name: 'ravencoin'
plural: 'ravencoins'
scheme: 'ravencoin:'
bolosAppName: 'ravencoin'
ticker: 'rvn'
tickerKey:
from: 'fromRVN'
to: 'toRVN'
bip44_coin_type: '175'
isSegwitSupported: no
version:
regular: 60
P2SH: 122
XPUB: 0x0488B21E
bitcoinjs: bitcoin.networks.ravencoin
dust: 10000
handleFeePerByte: no
areTransactionTimestamped: no
@@ -732,4 +732,28 @@ ledger.preferences.digibyte =
address: 'https://digiexplorer.info/tx/%s'
discoveryGap: 20

ledger.preferences.ravencoin =
Display:
units:
bitcoin:
symbol: 'RVN'
unit: 8
milibitcoin:
symbol: 'mRVN'
unit: 5

# Coin preferences
Coin:
explorers:
hash4life:
name: 'Hash4Life'
address: 'https://rvn.hash4.life/tx/%s'
rvnblockchain:
name: 'raven-blockchain.info'
address: 'http://raven-blockchain.info/tx/%s'
rvnhodl:
name: 'rvnhodl'
address: 'http://rvnhodl.com/tx/%s'
discoveryGap: 20

ledger.preferences.common.setCoin("bitcoin")

0 comments on commit 303f503

Please sign in to comment.
You can’t perform that action at this time.