Skip to content

Commit

Permalink
Viacoin network add
Browse files Browse the repository at this point in the history
  • Loading branch information
romanornr committed Jun 17, 2017
1 parent 3fbf8d9 commit 9802c6a
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 1 deletion.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ You can build the chrome application for other coins. Run `gulp clean build pack
- testnet
- litecoin
- litecoin_test
- viacoin
- dogecoin
- dogecoin_test

Expand Down
20 changes: 19 additions & 1 deletion app/src/bitcoin/networks.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,24 @@ ledger.bitcoin.Networks =
dust: 10000
handleFeePerByte: no

viacoin:
name: 'viacoin'
plural: 'viacoins'
scheme: 'viacoin'
bolosAppName: 'Viacoin'
ticker: 'via'
tickerKey:
from: 'fromVIA'
to: 'toVIA'
bip44_coin_type: '14'
version:
regular: 71
P2SH: 33
XPUB: 0X0488B21E
bitcoinjs: bitcoin.networks.litecoin
dust: 1000
handleFeePerByte: no

dogecoin:
name: 'dogecoin'
plural: 'dogecoins'
Expand Down Expand Up @@ -251,4 +269,4 @@ ledger.bitcoin.Networks =
XPUB: 0xf9eee48d
bitcoinjs: bitcoin.networks.komodo
dust: 10000
handleFeePerByte: no
handleFeePerByte: no
20 changes: 20 additions & 0 deletions app/src/preferences/defaults.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -189,6 +189,26 @@ ledger.preferences.litecoin =
address: 'https://bchain.info/LTC/tx/%s'
discoveryGap: 20

ledger.prefrences.viacoin =
Display:
units:
bitcoin:
symbol: 'VIA'
unit: 8
milibitcoin:
symbol: 'mVIA'
unit: 5
microbitcoin:
symbol: 'μVIA'
unit: 2

#Coin preferences
Coin:
explorers:
name: 'CryptoID'
address: 'https://chainz.cryptoid.info/via/tx.dws?%s.html'
discoveryGap: 20

ledger.preferences.dogecoin =
Display:
units:
Expand Down

0 comments on commit 9802c6a

Please sign in to comment.