Skip to content
This repository has been archived by the owner on Sep 8, 2020. It is now read-only.

Viacoin add #35

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
23 changes: 22 additions & 1 deletion app/src/bitcoin/networks.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,27 @@ ledger.bitcoin.Networks =
dust: 10000
handleFeePerByte: no

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

dogecoin:
name: 'dogecoin'
plural: 'dogecoins'
Expand Down Expand Up @@ -251,4 +272,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 =

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

'prefrences'

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