Skip to content

Commit 29d781c

Browse files
authored
feat: enabled transfering Kintsugi tokens (#638)
1 parent 1f2fac1 commit 29d781c

File tree

4 files changed

+32
-32
lines changed

4 files changed

+32
-32
lines changed

src/modules/xcm/index.ts

+9-9
Original file line numberDiff line numberDiff line change
@@ -154,15 +154,15 @@ export const xcmChainObj: XcmChainObj = {
154154
subscan: 'https://statemint.subscan.io',
155155
isAstarNativeToken: false,
156156
},
157-
// [Chain.KINTSUGI]: {
158-
// name: Chain.KINTSUGI,
159-
// relayChain: Chain.KUSAMA,
160-
// img: 'https://polkadot.js.org/apps/static/kintsugi.fba9d4ea..png',
161-
// parachainId: parachainIds.KINTSUGI,
162-
// endpoint: 'wss://kintsugi-rpc.dwellir.com',
163-
// subscan: 'https://kintsugi.subscan.io',
164-
// isAstarNativeToken: false,
165-
// },
157+
[Chain.KINTSUGI]: {
158+
name: Chain.KINTSUGI,
159+
relayChain: Chain.KUSAMA,
160+
img: 'https://polkadot.js.org/apps/static/kintsugi.fba9d4ea..png',
161+
parachainId: parachainIds.KINTSUGI,
162+
endpoint: 'wss://api-kusama.interlay.io/parachain',
163+
subscan: 'https://kintsugi.subscan.io',
164+
isAstarNativeToken: false,
165+
},
166166
[Chain.INTERLAY]: {
167167
name: Chain.INTERLAY,
168168
relayChain: Chain.POLKADOT,

src/modules/xcm/tokens/index.ts

+20-20
Original file line numberDiff line numberDiff line change
@@ -167,26 +167,26 @@ export const xcmToken = {
167167
originChain: Chain.STATEMINE,
168168
minBridgeAmount: '0.1',
169169
},
170-
// {
171-
// symbol: 'KBTC',
172-
// isNativeToken: false,
173-
// assetId: '18446744073709551621',
174-
// originAssetId: 'KBTC',
175-
// logo: 'https://assets.coingecko.com/coins/images/25816/small/jKEvMy-9_400x400.jpeg?1653990781',
176-
// isXcmCompatible: true,
177-
// originChain: Chain.KINTSUGI,
178-
// minBridgeAmount: '0.00000237',
179-
// },
180-
// {
181-
// symbol: 'KINT',
182-
// isNativeToken: true,
183-
// assetId: '18446744073709551622',
184-
// originAssetId: 'KINT',
185-
// logo: 'https://assets.coingecko.com/coins/images/22045/small/Kintsugi_logo-150x150.jpeg?1640675060',
186-
// isXcmCompatible: true,
187-
// originChain: Chain.KINTSUGI,
188-
// minBridgeAmount: '0.345',
189-
// },
170+
{
171+
symbol: 'KBTC',
172+
isNativeToken: false,
173+
assetId: '18446744073709551621',
174+
originAssetId: 'KBTC',
175+
logo: 'https://assets.coingecko.com/coins/images/25816/small/jKEvMy-9_400x400.jpeg?1653990781',
176+
isXcmCompatible: true,
177+
originChain: Chain.KINTSUGI,
178+
minBridgeAmount: '0.00000237',
179+
},
180+
{
181+
symbol: 'KINT',
182+
isNativeToken: true,
183+
assetId: '18446744073709551622',
184+
originAssetId: 'KINT',
185+
logo: 'https://assets.coingecko.com/coins/images/22045/small/Kintsugi_logo-150x150.jpeg?1640675060',
186+
isXcmCompatible: true,
187+
originChain: Chain.KINTSUGI,
188+
minBridgeAmount: '0.345',
189+
},
190190
{
191191
symbol: 'CSM',
192192
isNativeToken: true,

src/v2/config/xcm/XcmRepositoryConfiguration.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const XcmRepositoryConfiguration: TypeMapping = {
2222
[Chain.MOONRIVER]: MoonbeamXcmRepository,
2323
[Chain.POLKADOT]: PolkadotXcmRepository,
2424
[Chain.KUSAMA]: PolkadotXcmRepository,
25-
// [Chain.KINTSUGI]: InterlayXcmRepository,
25+
[Chain.KINTSUGI]: InterlayXcmRepository,
2626
[Chain.INTERLAY]: InterlayXcmRepository,
2727
[Chain.CRUST_SHADOW]: CrustShadowXcmRepository,
2828
[Chain.KHALA]: PhalaXcmRepository,

src/v2/models/XcmModels.ts

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export enum Chain {
1212
MOONBEAM = 'Moonbeam',
1313
STATEMINE = 'Statemine',
1414
STATEMINT = 'Statemint',
15-
// KINTSUGI = 'Kintsugi',
15+
KINTSUGI = 'Kintsugi',
1616
INTERLAY = 'Interlay',
1717
CRUST_SHADOW = 'Crust-shadow',
1818
KHALA = 'Khala',
@@ -28,7 +28,7 @@ export enum parachainIds {
2828
MOONBEAM = 2004,
2929
STATEMINE = 1000,
3030
STATEMINT = 1000,
31-
// KINTSUGI = 2092,
31+
KINTSUGI = 2092,
3232
INTERLAY = 2032,
3333
CRUST_SHADOW = 2012,
3434
KHALA = 2004,

0 commit comments

Comments
 (0)