From 1ee1a58af804d0d488f5df591b2f307d89fbe415 Mon Sep 17 00:00:00 2001 From: Mario J Maurello Date: Thu, 28 Nov 2024 15:36:37 +0100 Subject: [PATCH] adjust configs --- .../config/src/mrl-configs/fantomTestnet.ts | 33 +++++++++++++++++++ .../config/src/mrl-configs/peaqAlphanet.ts | 2 +- 2 files changed, 34 insertions(+), 1 deletion(-) diff --git a/packages/config/src/mrl-configs/fantomTestnet.ts b/packages/config/src/mrl-configs/fantomTestnet.ts index c8c22ee1..8ec0679b 100644 --- a/packages/config/src/mrl-configs/fantomTestnet.ts +++ b/packages/config/src/mrl-configs/fantomTestnet.ts @@ -5,6 +5,8 @@ import { moonbaseAlpha, moonbaseBeta, peaqAlphanet, + peaqEvm, + peaqEvmAlphanet, } from '../chains'; import { MrlChainRoutes } from '../types/MrlChainRoutes'; @@ -42,6 +44,37 @@ export const fantomTestnetRoutes = new MrlChainRoutes({ }, }, }, + { + source: { + asset: ftm, + balance: BalanceBuilder().evm().native(), + destinationFee: { + asset: ftm, + balance: BalanceBuilder().evm().native(), + }, + }, + destination: { + asset: ftmwh, + chain: peaqEvmAlphanet, + balance: BalanceBuilder().evm().erc20(), + fee: { + asset: ftmwh, + amount: 0.01, + }, + }, + mrl: { + isAutomaticPossible: false, + transfer: MrlBuilder().wormhole().wormhole().tokenTransfer(), + moonChain: { + asset: ftmwh, + fee: { + asset: dev, + amount: 0.1, + balance: BalanceBuilder().substrate().system().account(), + }, + }, + }, + }, { source: { asset: agng, diff --git a/packages/config/src/mrl-configs/peaqAlphanet.ts b/packages/config/src/mrl-configs/peaqAlphanet.ts index a9bd5dc7..d076e6f8 100644 --- a/packages/config/src/mrl-configs/peaqAlphanet.ts +++ b/packages/config/src/mrl-configs/peaqAlphanet.ts @@ -61,7 +61,7 @@ export const peaqAlphanetRoutes = new MrlChainRoutes({ destination: { asset: agng, chain: fantomTestnet, - balance: BalanceBuilder().evm().native(), + balance: BalanceBuilder().evm().erc20(), fee: { asset: agng, amount: 0.2,