File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -71,6 +71,7 @@ import { vetTokens } from './coins/vetTokens';
7171import { cosmosTokens } from './coins/cosmosTokens' ;
7272import { jettonTokens } from './coins/jettonTokens' ;
7373import { polyxTokens } from './coins/polyxTokens' ;
74+ import { cantonTokens } from './coins/cantonTokens' ;
7475import { flrp } from './flrp' ;
7576import {
7677 ACCOUNT_COIN_DEFAULT_FEATURES_EXCLUDE_SINGAPORE_AND_MENA_FZE ,
@@ -159,6 +160,7 @@ export const allCoinsAndTokens = [
159160 ...adaTokens ,
160161 ...jettonTokens ,
161162 ...polyxTokens ,
163+ ...cantonTokens ,
162164 avaxp (
163165 '5436386e-9e4d-4d82-92df-59d9720d1738' ,
164166 'avaxp' ,
Original file line number Diff line number Diff line change @@ -3534,6 +3534,10 @@ export enum UnderlyingAsset {
35343534 'ada:usda' = 'ada:usda' ,
35353535 'ada:night' = 'ada:night' ,
35363536
3537+ // Canton testnet tokens
3538+ 'tcanton:testcoin1' = 'tcanton:testcoin1' ,
3539+ 'tcanton:testtoken' = 'tcanton:testtoken' ,
3540+
35373541 // fiats
35383542 AED = 'aed' ,
35393543 EUR = 'eur' ,
Original file line number Diff line number Diff line change @@ -755,3 +755,13 @@ export const CANTON_FEATURES = [
755755 CoinFeature . ALPHANUMERIC_MEMO_ID ,
756756 CoinFeature . SUPPORTS_TOKENS ,
757757] ;
758+
759+ export const CANTON_TOKEN_FEATURES = [
760+ ...ACCOUNT_COIN_DEFAULT_FEATURES ,
761+ CoinFeature . TSS ,
762+ CoinFeature . TSS_COLD ,
763+ CoinFeature . SUPPORTS_ONE_STEP_DEPOSIT ,
764+ CoinFeature . REQUIRES_WALLET_INITIALIZATION_TRANSACTION ,
765+ CoinFeature . REQUIRES_DEPOSIT_ACCEPTANCE_TRANSACTION ,
766+ CoinFeature . ALPHANUMERIC_MEMO_ID ,
767+ ] ;
Original file line number Diff line number Diff line change 1+ import { tcantonToken } from '../account' ;
2+ import { UnderlyingAsset } from '../base' ;
3+ import { CANTON_TOKEN_FEATURES } from '../coinFeatures' ;
4+
5+ export const cantonTokens = [
6+ // testnet tokens
7+ tcantonToken (
8+ '46356790-0ac4-4c3b-8b70-39094106d772' ,
9+ 'tcanton:testcoin1' ,
10+ 'Test Coin 1' ,
11+ 10 ,
12+ 'https://api.utilities.digitalasset-dev.com/api/token-standard/v0/registrars/' ,
13+ 'TestCoin1' ,
14+ 'auth0_007c65f857f1c3d599cb6df73775::1220d2d732d042c281cee80f483ab80f3cbaa4782860ed5f4dc228ab03dedd2ee8f9' ,
15+ UnderlyingAsset [ 'tcanton:testcoin1' ] ,
16+ CANTON_TOKEN_FEATURES
17+ ) ,
18+ tcantonToken (
19+ '76e5e451-ce0b-481f-ba6a-79d95fb48b63' ,
20+ 'tcanton:testtoken' ,
21+ 'Test Token' ,
22+ 10 ,
23+ 'https://api.utilities.digitalasset-dev.com/api/token-standard/v0/registrars/' ,
24+ 'TestToken' ,
25+ 'auth0_007c65f857f1c3d599cb6df73775::1220d2d732d042c281cee80f483ab80f3cbaa4782860ed5f4dc228ab03dedd2ee8f9' ,
26+ UnderlyingAsset [ 'tcanton:testtoken' ] ,
27+ CANTON_TOKEN_FEATURES
28+ ) ,
29+ ] ;
You can’t perform that action at this time.
0 commit comments