Changeset View
Changeset View
Standalone View
Standalone View
cashtab/src/constants/tokens.ts
| // Copyright (c) 2025 The Bitcoin developers | // Copyright (c) 2025 The Bitcoin developers | ||||
| // Distributed under the MIT software license, see the accompanying | // Distributed under the MIT software license, see the accompanying | ||||
| // file COPYING or http://www.opensource.org/licenses/mit-license.php. | // file COPYING or http://www.opensource.org/licenses/mit-license.php. | ||||
| import { Tx, TokenInfo } from 'chronik-client'; | import { Tx, TokenInfo } from 'chronik-client'; | ||||
| interface TokenConst { | interface TokenConst { | ||||
| tokenId: string; | tokenId: string; | ||||
| token: TokenInfo; | token: TokenInfo; | ||||
| tx: Tx; | tx: Tx; | ||||
| } | } | ||||
| /** | |||||
| * Hot wallet that handles XECX redemptions to XEC | |||||
| * In practice, any redemption must be <= the balance of this wallet | |||||
| * to be instantly accepted | |||||
| * | |||||
| * We alert Cashtab users the "max instant redemption", and include | |||||
| * a notice that larger amounts can expect redemption within 24 hrs | |||||
| */ | |||||
| export const XECX_SWEEPER_ADDRESS = | |||||
| 'ecash:qqrjf6n3gvavhw3f35zd0p96m3heujujcs4458vcwf'; | |||||
| export const FIRMA: TokenConst = { | export const FIRMA: TokenConst = { | ||||
| tokenId: '0387947fd575db4fb19a3e322f635dec37fd192b5941625b66bc4b2c3008cbf0', | tokenId: '0387947fd575db4fb19a3e322f635dec37fd192b5941625b66bc4b2c3008cbf0', | ||||
| token: { | token: { | ||||
| tokenId: | tokenId: | ||||
| '0387947fd575db4fb19a3e322f635dec37fd192b5941625b66bc4b2c3008cbf0', | '0387947fd575db4fb19a3e322f635dec37fd192b5941625b66bc4b2c3008cbf0', | ||||
| tokenType: { | tokenType: { | ||||
| protocol: 'ALP', | protocol: 'ALP', | ||||
| type: 'ALP_TOKEN_TYPE_STANDARD', | type: 'ALP_TOKEN_TYPE_STANDARD', | ||||
| ▲ Show 20 Lines • Show All 159 Lines • Show Last 20 Lines | |||||