Skip to content

Commit 8e86d17

Browse files
committed
chore(script): vksm and sksm
1 parent 50a47aa commit 8e86d17

1 file changed

Lines changed: 35 additions & 0 deletions

File tree

scripts/init-testnet.ts

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -274,6 +274,41 @@ function constructForeignAssetSetup(api: ApiPromise) {
274274
additional: { feePerSecond: 233100000000, coingeckoId: "liquid-ksm" }
275275
},
276276
3
277+
), api.tx.assetRegistry.registerAsset(
278+
{
279+
decimals: 12,
280+
name: "Voucher KSM",
281+
symbol: "VKSM",
282+
existentialDeposit: 0,
283+
location: {
284+
V1: {
285+
parents: 1,
286+
interior: {
287+
X2: [
288+
{
289+
Parachain: 2001
290+
},
291+
{
292+
GeneralKey: "0x0104"
293+
}
294+
]
295+
}
296+
}
297+
298+
},
299+
additional: { feePerSecond: 233100000000, coingeckoId: "" }
300+
},
301+
4
302+
), api.tx.assetRegistry.registerAsset(
303+
{
304+
decimals: 12,
305+
name: "Staked KSM",
306+
symbol: "SKSM",
307+
existentialDeposit: 0,
308+
location: null,
309+
additional: { feePerSecond: 233100000000, coingeckoId: "" }
310+
},
311+
5
277312
)
278313
];
279314
}

0 commit comments

Comments
 (0)