Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab/src/components/Common/Ticker.js
import mainLogo from '@assets/12-bitcoin-cash-square-crop.svg'; | import mainLogo from '@assets/12-bitcoin-cash-square-crop.svg'; | ||||
import tokenLogo from '@assets/simple-ledger-protocol-logo.png'; | import tokenLogo from '@assets/simple-ledger-protocol-logo.png'; | ||||
import cashaddr from 'cashaddrjs'; | import cashaddr from 'cashaddrjs'; | ||||
import BigNumber from 'bignumber.js'; | import BigNumber from 'bignumber.js'; | ||||
export const feeLevels = { | |||||
minimum: 1.01, | |||||
normal: 3.01, | |||||
express: 5.01, | |||||
ludicrous: 83.3, | |||||
}; | |||||
export const currency = { | export const currency = { | ||||
name: 'Bitcoin ABC', | name: 'Bitcoin ABC', | ||||
ticker: 'BCHA', | ticker: 'BCHA', | ||||
logo: mainLogo, | logo: mainLogo, | ||||
legacyPrefix: 'bitcoincash', | legacyPrefix: 'bitcoincash', | ||||
prefixes: ['bitcoincash', 'ecash'], | prefixes: ['bitcoincash', 'ecash'], | ||||
coingeckoId: 'bitcoin-cash-abc-2', | coingeckoId: 'bitcoin-cash-abc-2', | ||||
defaultFee: 5.01, | defaultFee: feeLevels.express, // Must select from feeLevels object | ||||
dust: '0.00000546', // The minimum amount of BCHA that can be sent by the app | dust: '0.00000546', // The minimum amount of BCHA that can be sent by the app | ||||
cashDecimals: 8, | cashDecimals: 8, | ||||
blockExplorerUrl: 'https://explorer.bitcoinabc.org', | blockExplorerUrl: 'https://explorer.bitcoinabc.org', | ||||
blockExplorerUrlTestnet: 'https://texplorer.bitcoinabc.org', | blockExplorerUrlTestnet: 'https://texplorer.bitcoinabc.org', | ||||
tokenName: 'Bitcoin ABC SLP', | tokenName: 'Bitcoin ABC SLP', | ||||
tokenTicker: 'SLPA', | tokenTicker: 'SLPA', | ||||
tokenLogo: tokenLogo, | tokenLogo: tokenLogo, | ||||
tokenPrefixes: ['simpleledger', 'etoken'], | tokenPrefixes: ['simpleledger', 'etoken'], | ||||
▲ Show 20 Lines • Show All 120 Lines • Show Last 20 Lines |