Skip to content

Commit 85eac20

Browse files
Add ton-testnet to CCIP Directory (#3579)
* Add ton-testnet to CCIP Directory
1 parent 55593c9 commit 85eac20

File tree

12 files changed

+110
-2
lines changed

12 files changed

+110
-2
lines changed

public/assets/chains/ton.svg

Lines changed: 4 additions & 0 deletions
Loading

src/components/CCIP/Chain/Chain.astro

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const chainStructuredData = generateChainStructuredData(
127127
<div class="ccip-heading">
128128
<h2>Tokens <span>({allTokens.length})</span></h2>
129129
{
130-
network.chainType !== "solana" && network.chainType !== "aptos" && (
130+
network.chainType !== "solana" && network.chainType !== "aptos" && network.chainType !== "ton" && (
131131
<a class="button secondary" href="/ccip/tutorials/evm/token-manager#verifying-your-token">
132132
<img
133133
src="/assets/icons/plus.svg"

src/components/QuickLinks/data/productChainLinks.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,7 @@ export const productChainLinks: ProductChainLinks = {
108108
"adi-network": "/ccip/directory/testnet/chain/adi-testnet",
109109
edge: "/ccip/directory/mainnet/chain/edge-mainnet",
110110
robinhood: "/ccip/directory/testnet/chain/robinhood-testnet",
111+
ton: "/ccip/directory/testnet/chain/ton-testnet",
111112
},
112113
},
113114
CRE: {
@@ -458,4 +459,5 @@ export const chainNames: Record<string, string> = {
458459
dogeos: "DogeOS",
459460
edge: "Edge",
460461
robinhood: "Robinhood Chain",
462+
ton: "TON",
461463
}

src/config/data/ccip/selectors.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1074,3 +1074,7 @@ selectors:
10741074
selector: "1091131740251125869"
10751075
name: "ethereum-testnet-sepolia-ronin-1"
10761076
network_type: testnet
1077+
-3:
1078+
name: ton-testnet
1079+
selector: "1399300952838017768"
1080+
network_type: testnet

src/config/data/ccip/v1_2_0/testnet/chains.json

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1676,6 +1676,22 @@
16761676
"version": "1.5.1"
16771677
}
16781678
},
1679+
"ton-testnet": {
1680+
"armProxy": {
1681+
"address": "EQB9QIw22sgwNKMfqsMKGepkhnjXYJmXlzCgcBSAlaiF9VCj",
1682+
"version": "1.6.0"
1683+
},
1684+
"chainSelector": "1399300952838017768",
1685+
"feeTokens": ["TON"],
1686+
"router": {
1687+
"address": "EQB9QIw22sgwNKMfqsMKGepkhnjXYJmXlzCgcBSAlaiF9VCj",
1688+
"version": "1.6.0"
1689+
},
1690+
"tokenAdminRegistry": {
1691+
"address": "",
1692+
"version": ""
1693+
}
1694+
},
16791695
"treasure-testnet-topaz": {
16801696
"armProxy": {
16811697
"address": "0x43f7b33Aee99208A38e4384655d35D8F0dCe7C51",

src/config/data/ccip/v1_2_0/testnet/lanes.json

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3589,6 +3589,17 @@
35893589
}
35903590
}
35913591
},
3592+
"ton-testnet": {
3593+
"offRamp": {
3594+
"address": "0x0820f975ce90EE5c508657F0C58b71D1fcc85cE0",
3595+
"version": "1.6.0"
3596+
},
3597+
"onRamp": {
3598+
"address": "0x23a5084Fa78104F3DF11C63Ae59fcac4f6AD9DeE",
3599+
"enforceOutOfOrder": true,
3600+
"version": "1.6.0"
3601+
}
3602+
},
35923603
"treasure-testnet-topaz": {
35933604
"offRamp": {
35943605
"address": "0x25bDd16cD2721baB3D81043ed9742CD8F1f5bF6b",
@@ -4184,6 +4195,17 @@
41844195
}
41854196
}
41864197
},
4198+
"ton-testnet": {
4199+
"offRamp": {
4200+
"address": "0xF4EbCC2c077d3939434C7Ab0572660c5A45e4df5",
4201+
"version": "1.6.0"
4202+
},
4203+
"onRamp": {
4204+
"address": "0x28A025d34c830BF212f5D2357C8DcAB32dD92A20",
4205+
"enforceOutOfOrder": true,
4206+
"version": "1.6.0"
4207+
}
4208+
},
41874209
"treasure-testnet-topaz": {
41884210
"offRamp": {
41894211
"address": "0xc3d4057a56bA7E05f6A753d200d7053fE672d151",
@@ -7627,6 +7649,30 @@
76277649
}
76287650
}
76297651
},
7652+
"ton-testnet": {
7653+
"ethereum-testnet-sepolia": {
7654+
"offRamp": {
7655+
"address": "EQDPuQ0nydRXyQPWFr_d4w-tzfQMXwovke0TaIPLlCBdgAed",
7656+
"version": "1.6.0"
7657+
},
7658+
"onRamp": {
7659+
"address": "EQDioi9PI32Wo1oBwkUp0pj1AhwvAHiKiZCfgrr0iDqu3lTA",
7660+
"enforceOutOfOrder": true,
7661+
"version": "1.6.0"
7662+
}
7663+
},
7664+
"ethereum-testnet-sepolia-arbitrum-1": {
7665+
"offRamp": {
7666+
"address": "EQDPuQ0nydRXyQPWFr_d4w-tzfQMXwovke0TaIPLlCBdgAed",
7667+
"version": "1.6.0"
7668+
},
7669+
"onRamp": {
7670+
"address": "EQDioi9PI32Wo1oBwkUp0pj1AhwvAHiKiZCfgrr0iDqu3lTA",
7671+
"enforceOutOfOrder": true,
7672+
"version": "1.6.0"
7673+
}
7674+
}
7675+
},
76307676
"treasure-testnet-topaz": {
76317677
"ethereum-testnet-sepolia": {
76327678
"offRamp": {

src/config/data/ccip/v1_2_0/testnet/tokens.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1424,6 +1424,16 @@
14241424
"tokenAddress": "0x20C0000000000000000000000000000000000003"
14251425
}
14261426
},
1427+
"TON": {
1428+
"ton-testnet": {
1429+
"allowListEnabled": false,
1430+
"decimals": 9,
1431+
"name": "TON",
1432+
"poolType": "feeTokenOnly",
1433+
"symbol": "TON",
1434+
"tokenAddress": "EQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAd99"
1435+
}
1436+
},
14271437
"USDC": {
14281438
"avalanche-fuji-testnet": {
14291439
"allowListEnabled": false,

src/config/data/chain-to-technology.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,5 +174,6 @@
174174
"ADI_NETWORK_MAINNET": "ADI_NETWORK",
175175
"EDGE_MAINNET": "EDGE",
176176
"EDGE_TESTNET": "EDGE",
177-
"ROBINHOOD_TESTNET": "ROBINHOOD_CHAIN"
177+
"ROBINHOOD_TESTNET": "ROBINHOOD_CHAIN",
178+
"TON_TESTNET": "TON"
178179
}

src/config/data/chains.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2781,5 +2781,24 @@
27812781
}
27822782
}
27832783
}
2784+
},
2785+
"TON": {
2786+
"title": "TON",
2787+
"icon": "/assets/chains/ton.svg",
2788+
"chainType": "ton",
2789+
"chains": {
2790+
"TON_TESTNET": {
2791+
"chainId": -3,
2792+
"title": "TON Testnet",
2793+
"explorer": {
2794+
"baseUrl": "https://testnet.tonviewer.com"
2795+
},
2796+
"nativeCurrency": {
2797+
"name": "TON",
2798+
"symbol": "TON",
2799+
"decimals": 9
2800+
}
2801+
}
2802+
}
27842803
}
27852804
}

src/config/types.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -267,6 +267,7 @@ export type SupportedChain =
267267
| "EDGE_MAINNET"
268268
| "EDGE_TESTNET"
269269
| "ROBINHOOD_TESTNET"
270+
| "TON_TESTNET"
270271

271272
export type ExplorerInfo = {
272273
baseUrl: string

0 commit comments

Comments
 (0)