1
0
mirror of https://github.com/trezor/trezor-wallet synced 2024-12-30 19:00:53 +00:00

add decimals to appConfig.json

This commit is contained in:
Szymon Lesisz 2018-12-19 18:19:03 +01:00
parent 6c398ba506
commit ce5b13223c
2 changed files with 6 additions and 0 deletions

View File

@ -10,6 +10,7 @@
"defaultGasPrice": 64, "defaultGasPrice": 64,
"defaultGasLimit": 21000, "defaultGasLimit": 21000,
"defaultGasLimitTokens": 200000, "defaultGasLimitTokens": 200000,
"decimals": 18,
"tokens": "./data/ethereumTokens.json", "tokens": "./data/ethereumTokens.json",
"web3": [ "web3": [
"wss://eth2.trezor.io/geth" "wss://eth2.trezor.io/geth"
@ -29,6 +30,7 @@
"defaultGasPrice": 64, "defaultGasPrice": 64,
"defaultGasLimit": 21000, "defaultGasLimit": 21000,
"defaultGasLimitTokens": 200000, "defaultGasLimitTokens": 200000,
"decimals": 18,
"tokens": "./data/ethereumClassicTokens.json", "tokens": "./data/ethereumClassicTokens.json",
"web3": [ "web3": [
"wss://etc2.trezor.io/geth" "wss://etc2.trezor.io/geth"
@ -49,6 +51,7 @@
"defaultGasPrice": 64, "defaultGasPrice": 64,
"defaultGasLimit": 21000, "defaultGasLimit": 21000,
"defaultGasLimitTokens": 200000, "defaultGasLimitTokens": 200000,
"decimals": 18,
"tokens": "./data/ropstenTokens.json", "tokens": "./data/ropstenTokens.json",
"web3": [ "web3": [
"wss://ropsten1.trezor.io/geth" "wss://ropsten1.trezor.io/geth"
@ -64,6 +67,7 @@
"symbol": "XRP", "symbol": "XRP",
"shortcut": "xrp", "shortcut": "xrp",
"bip44": "m/44'/144'/a'/0/0", "bip44": "m/44'/144'/a'/0/0",
"decimals": 6,
"explorer": { "explorer": {
"tx": "https://xrpcharts.ripple.com/#/transactions/", "tx": "https://xrpcharts.ripple.com/#/transactions/",
"address": "https://xrpcharts.ripple.com/#/graph/" "address": "https://xrpcharts.ripple.com/#/graph/"
@ -76,6 +80,7 @@
"symbol": "tXRP", "symbol": "tXRP",
"shortcut": "txrp", "shortcut": "txrp",
"bip44": "m/44'/144'/a'/0/0", "bip44": "m/44'/144'/a'/0/0",
"decimals": 6,
"explorer": { "explorer": {
"tx": "https://sisyfos.trezor.io/ripple-testnet-explorer/tx/", "tx": "https://sisyfos.trezor.io/ripple-testnet-explorer/tx/",
"address": "https://sisyfos.trezor.io/ripple-testnet-explorer/address/" "address": "https://sisyfos.trezor.io/ripple-testnet-explorer/address/"

View File

@ -21,6 +21,7 @@ export type Network = {
address: string; address: string;
}; };
tokens: string; tokens: string;
decimals: number,
backends: Array<{ backends: Array<{
name: string; name: string;
urls: Array<string>; urls: Array<string>;