Skip to content

Commit

Permalink
add missing configurations for moonbase-alpha
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaurello committed Mar 21, 2024
1 parent 7aafa02 commit 04f22ad
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
8 changes: 8 additions & 0 deletions packages/config/src/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,14 @@ export const moonbaseAlpha = new EvmParachain({
asset: ftmwh,
id: '0x566c1cebc6A4AFa1C122E039C4BEBe77043148Ee',
},
{
asset: hdx,
id: '69606720909260275826784788104880799692',
},
{
asset: usdcwh,
id: '0xD909178CC99d318e4D46e7E66a972955859670E1',
},
],
ecosystem: Ecosystem.AlphanetRelay,
genesisHash:
Expand Down
18 changes: 17 additions & 1 deletion packages/config/src/configs/moonbaseAlpha.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import {
tt1,
tur,
unit,
usdcwh,
} from '../assets';
import {
alphanetAssetHub,
Expand Down Expand Up @@ -207,13 +208,28 @@ export const moonbaseAlphaConfig = new ChainConfig({
balance: BalanceBuilder().substrate().system().account(),
},
}),
new AssetConfig({
asset: usdcwh,
balance: BalanceBuilder().evm().erc20(),
contract: ContractBuilder().Xtokens().transfer(),
destination: hydraDxAlphanet,
destinationFee: {
amount: 0.1,
asset: hdx,
balance: BalanceBuilder().substrate().system().account(),
},
fee: {
asset: dev,
balance: BalanceBuilder().substrate().system().account(),
},
}),
new AssetConfig({
asset: ftmwh,
balance: BalanceBuilder().evm().erc20(),
contract: ContractBuilder().Xtokens().transfer(),
destination: hydraDxAlphanet,
destinationFee: {
amount: 0.1, // not sure
amount: 0.1,
asset: hdx,
balance: BalanceBuilder().substrate().system().account(),
},
Expand Down

0 comments on commit 04f22ad

Please sign in to comment.