From b4d988f5dc9d8c7dfd8067747234609e8701ef52 Mon Sep 17 00:00:00 2001 From: albertov19 <64150856+albertov19@users.noreply.github.com> Date: Fri, 12 Jan 2024 12:16:54 +0100 Subject: [PATCH 01/15] Updated Parallel WSS Endpoint (#180) * Updated Parallel WSS Endpoint * Create big-rice-float.md --------- Co-authored-by: mmaurello <93129175+mmaurello@users.noreply.github.com> --- .changeset/big-rice-float.md | 5 +++++ packages/config/src/chains.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/big-rice-float.md diff --git a/.changeset/big-rice-float.md b/.changeset/big-rice-float.md new file mode 100644 index 00000000..283473d6 --- /dev/null +++ b/.changeset/big-rice-float.md @@ -0,0 +1,5 @@ +--- +"@moonbeam-network/xcm-config": patch +--- + +Updated Parallel WSS Endpoint diff --git a/packages/config/src/chains.ts b/packages/config/src/chains.ts index 3eda27a3..c23e606c 100644 --- a/packages/config/src/chains.ts +++ b/packages/config/src/chains.ts @@ -1135,7 +1135,7 @@ export const parallel = new Parachain({ name: 'Parallel', parachainId: 2012, ss58Format: 172, - ws: 'wss://rpc.parallel.fi', + ws: 'wss://polkadot-parallel-rpc.parallel.fi', }); export const parallelHeiko = new Parachain({ From 8635450d1dea1569f945f8eeae607368578724cc Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 12 Jan 2024 16:45:49 +0100 Subject: [PATCH 02/15] Version Packages (#181) Co-authored-by: github-actions[bot] --- .changeset/big-rice-float.md | 5 ----- examples/sdk-simple/package.json | 4 ++-- package-lock.json | 10 +++++----- packages/config/CHANGELOG.md | 6 ++++++ packages/config/package.json | 2 +- packages/sdk/CHANGELOG.md | 7 +++++++ packages/sdk/package.json | 4 ++-- 7 files changed, 23 insertions(+), 15 deletions(-) delete mode 100644 .changeset/big-rice-float.md diff --git a/.changeset/big-rice-float.md b/.changeset/big-rice-float.md deleted file mode 100644 index 283473d6..00000000 --- a/.changeset/big-rice-float.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonbeam-network/xcm-config": patch ---- - -Updated Parallel WSS Endpoint diff --git a/examples/sdk-simple/package.json b/examples/sdk-simple/package.json index 8f4c0839..3091a9f2 100644 --- a/examples/sdk-simple/package.json +++ b/examples/sdk-simple/package.json @@ -12,8 +12,8 @@ "author": "", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-config": "1.3.18", - "@moonbeam-network/xcm-sdk": "1.4.14", + "@moonbeam-network/xcm-config": "1.3.19", + "@moonbeam-network/xcm-sdk": "1.4.15", "@moonbeam-network/xcm-utils": "1.0.3" }, "devDependencies": { diff --git a/package-lock.json b/package-lock.json index 2492db84..a66cd325 100644 --- a/package-lock.json +++ b/package-lock.json @@ -49,8 +49,8 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-config": "1.3.18", - "@moonbeam-network/xcm-sdk": "1.4.14", + "@moonbeam-network/xcm-config": "1.3.19", + "@moonbeam-network/xcm-sdk": "1.4.15", "@moonbeam-network/xcm-utils": "1.0.3" }, "devDependencies": { @@ -17004,7 +17004,7 @@ }, "packages/config": { "name": "@moonbeam-network/xcm-config", - "version": "1.3.18", + "version": "1.3.19", "license": "MIT", "dependencies": { "@moonbeam-network/xcm-builder": "1.0.10", @@ -17018,11 +17018,11 @@ }, "packages/sdk": { "name": "@moonbeam-network/xcm-sdk", - "version": "1.4.14", + "version": "1.4.15", "license": "MIT", "dependencies": { "@moonbeam-network/xcm-builder": "1.0.10", - "@moonbeam-network/xcm-config": "1.3.18", + "@moonbeam-network/xcm-config": "1.3.19", "@moonbeam-network/xcm-types": "1.0.1", "@moonbeam-network/xcm-utils": "1.0.3", "big.js": "^6.2.1" diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index be0d3e12..96772c2a 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,11 @@ # @moonbeam-network/xcm-config +## 1.3.19 + +### Patch Changes + +- [#180](https://github.com/PureStake/xcm-sdk/pull/180) [`b4d988f`](https://github.com/PureStake/xcm-sdk/commit/b4d988f5dc9d8c7dfd8067747234609e8701ef52) Thanks [@albertov19](https://github.com/albertov19)! - Updated Parallel WSS Endpoint + ## 1.3.18 ### Patch Changes diff --git a/packages/config/package.json b/packages/config/package.json index 51188dbc..2990ffc9 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-config", - "version": "1.3.18", + "version": "1.3.19", "description": "All necessary configuration to transfer assets from Moonbeam, Moonriver, Moonbase to other parachains and back", "scripts": { "build": "tsup", diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index 1b9134ff..082281b2 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -1,5 +1,12 @@ # @moonbeam-network/xcm-sdk +## 1.4.15 + +### Patch Changes + +- Updated dependencies [[`b4d988f`](https://github.com/PureStake/xcm-sdk/commit/b4d988f5dc9d8c7dfd8067747234609e8701ef52)]: + - @moonbeam-network/xcm-config@1.3.19 + ## 1.4.14 ### Patch Changes diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 64dc15f7..2f30d645 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-sdk", - "version": "1.4.14", + "version": "1.4.15", "description": "The Moonbeam XCM SDK enables developers to easily deposit and withdraw assets to Moonbeam/Moonriver from the relay chain and other parachains in the Polkadot/Kusama ecosystem", "scripts": { "build": "tsup", @@ -52,7 +52,7 @@ "main": "./build/index.cjs", "dependencies": { "@moonbeam-network/xcm-builder": "1.0.10", - "@moonbeam-network/xcm-config": "1.3.18", + "@moonbeam-network/xcm-config": "1.3.19", "@moonbeam-network/xcm-types": "1.0.1", "@moonbeam-network/xcm-utils": "1.0.3", "big.js": "^6.2.1" From 6beaf73e39d339f6221b7346758822f63bbf99e3 Mon Sep 17 00:00:00 2001 From: mmaurello <93129175+mmaurello@users.noreply.github.com> Date: Tue, 16 Jan 2024 21:17:19 +1300 Subject: [PATCH 03/15] Remove equilibrium alphanet config (#182) * remove equilibrium alphanet config * remove unused assets from moonbase alpha * add changeset --- .changeset/fuzzy-cherries-dress.md | 6 ++ .../src/ConfigBuilder/ConfigBuilder.test.ts | 20 +++---- .../src/ConfigService/ConfigService.test.ts | 9 +-- packages/config/src/chains.ts | 49 ++-------------- .../config/src/configs/equilibriumAlphanet.ts | 56 ------------------- packages/config/src/configs/index.ts | 2 - packages/config/src/configs/moonbaseAlpha.ts | 44 --------------- packages/sdk/src/polkadot/PolkadotService.ts | 6 +- 8 files changed, 23 insertions(+), 169 deletions(-) create mode 100644 .changeset/fuzzy-cherries-dress.md delete mode 100644 packages/config/src/configs/equilibriumAlphanet.ts diff --git a/.changeset/fuzzy-cherries-dress.md b/.changeset/fuzzy-cherries-dress.md new file mode 100644 index 00000000..10f8632f --- /dev/null +++ b/.changeset/fuzzy-cherries-dress.md @@ -0,0 +1,6 @@ +--- +'@moonbeam-network/xcm-config': patch +'@moonbeam-network/xcm-sdk': patch +--- + +Remove equilibrium alphanet config diff --git a/packages/config/src/ConfigBuilder/ConfigBuilder.test.ts b/packages/config/src/ConfigBuilder/ConfigBuilder.test.ts index 94619cd1..c182b682 100644 --- a/packages/config/src/ConfigBuilder/ConfigBuilder.test.ts +++ b/packages/config/src/ConfigBuilder/ConfigBuilder.test.ts @@ -2,9 +2,9 @@ import { Ecosystem } from '@moonbeam-network/xcm-types'; import { ConfigService } from '../ConfigService'; import { dev } from '../assets'; -import { equilibriumAlphanet, moonbaseAlpha } from '../chains'; -import { equilibriumAlphanetConfig } from '../configs/equilibriumAlphanet'; +import { moonbaseAlpha, pendulumAlphanet } from '../chains'; import { moonbaseAlphaConfig } from '../configs/moonbaseAlpha'; +import { pendulumAlphanetConfig } from '../configs/pendulumAlphanet'; import { ConfigBuilder } from './ConfigBuilder'; describe('configBuilder', () => { @@ -13,7 +13,7 @@ describe('configBuilder', () => { .assets(Ecosystem.AlphanetRelay) .asset(dev) .source(moonbaseAlpha) - .destination(equilibriumAlphanet) + .destination(pendulumAlphanet) .build(); expect(config).toStrictEqual({ @@ -22,12 +22,12 @@ describe('configBuilder', () => { chain: moonbaseAlpha, config: moonbaseAlphaConfig.getAssetDestinationConfig( dev, - equilibriumAlphanet, + pendulumAlphanet, ), }, destination: { - chain: equilibriumAlphanet, - config: equilibriumAlphanetConfig.getAssetDestinationConfig( + chain: pendulumAlphanet, + config: pendulumAlphanetConfig.getAssetDestinationConfig( dev, moonbaseAlpha, ), @@ -41,7 +41,7 @@ describe('configBuilder', () => { .assets(Ecosystem.AlphanetRelay) .asset(dev) .source(moonbaseAlpha) - .destination(equilibriumAlphanet) + .destination(pendulumAlphanet) .build(); expect(config).toStrictEqual({ @@ -50,12 +50,12 @@ describe('configBuilder', () => { chain: moonbaseAlpha, config: moonbaseAlphaConfig.getAssetDestinationConfig( dev, - equilibriumAlphanet, + pendulumAlphanet, ), }, destination: { - chain: equilibriumAlphanet, - config: equilibriumAlphanetConfig.getAssetDestinationConfig( + chain: pendulumAlphanet, + config: pendulumAlphanetConfig.getAssetDestinationConfig( dev, moonbaseAlpha, ), diff --git a/packages/config/src/ConfigService/ConfigService.test.ts b/packages/config/src/ConfigService/ConfigService.test.ts index fc3e88e1..55ca9ecc 100644 --- a/packages/config/src/ConfigService/ConfigService.test.ts +++ b/packages/config/src/ConfigService/ConfigService.test.ts @@ -9,12 +9,7 @@ import { Parachain, } from '@moonbeam-network/xcm-types'; import { assetsList, dev, glmr, tt1, unit } from '../assets'; -import { - equilibriumAlphanet, - hydraDX, - moonbaseAlpha, - moonbeam, -} from '../chains'; +import { hydraDX, moonbaseAlpha, moonbeam, pendulumAlphanet } from '../chains'; import { ConfigService } from './ConfigService'; import { AssetConfig } from '../types/AssetConfig'; @@ -123,7 +118,7 @@ describe('config service', () => { ); expect(chains).toStrictEqual( - expect.arrayContaining([moonbaseAlpha, equilibriumAlphanet]), + expect.arrayContaining([moonbaseAlpha, pendulumAlphanet]), ); }); }); diff --git a/packages/config/src/chains.ts b/packages/config/src/chains.ts index c23e606c..0b17c818 100644 --- a/packages/config/src/chains.ts +++ b/packages/config/src/chains.ts @@ -47,7 +47,6 @@ import { ring, rmrk, sdn, - soon, sub, teer, tt1, @@ -403,33 +402,6 @@ export const equilibrium = new Parachain({ ws: 'wss://node.pol.equilibrium.io', }); -export const equilibriumAlphanet = new Parachain({ - assetsData: [ - { - asset: dev, - decimals: 9, - id: 1_735_159_154, - }, - { - asset: eq, - id: 25_969, - }, - { - asset: eqd, - id: 6_648_164, - }, - ], - ecosystem: Ecosystem.AlphanetRelay, - genesisHash: - '0x0ba4508078664cfd04f00bf17892dd1a0764ce61d90857f76c6a2ea61f008247', - isTestChain: true, - key: 'equilibrium-alphanet', - name: 'EquilibriumAlphanet', - parachainId: 2011, - ss58Format: 68, - ws: 'wss://devnet.equilab.io/alphanet/collator/api/wss', -}); - export const hydraDX = new Parachain({ assetsData: [ { @@ -699,24 +671,16 @@ export const moonbaseAlpha = new EvmParachain({ asset: atom, id: '244316754493307480955066032215622931381', }, - { - asset: auq, - id: '69536036667157951501899290870203586130', - }, + // { + // asset: auq, + // id: '69536036667157951501899290870203586130', + // }, { asset: dev, id: '0x0000000000000000000000000000000000000802', metadataId: 0, min: 0.01, }, - { - asset: eq, - id: '190590555344745888270686124937537713878', - }, - { - asset: eqd, - id: '187224307232923873519830480073807488153', - }, { asset: lit, id: '65216491554813189869575508812319036608', @@ -733,10 +697,6 @@ export const moonbaseAlpha = new EvmParachain({ asset: pica, id: '22417088946346045371238623691600461855', }, - { - asset: soon, - id: '205153165378836428058230526014907639736', - }, { asset: tt1, id: '156305701417244550631956600137082963628', @@ -1455,7 +1415,6 @@ export const chainsList: AnyChain[] = [ darwiniaCrab, darwiniaPangoro, equilibrium, - equilibriumAlphanet, hydraDX, integritee, interlay, diff --git a/packages/config/src/configs/equilibriumAlphanet.ts b/packages/config/src/configs/equilibriumAlphanet.ts deleted file mode 100644 index bc453de0..00000000 --- a/packages/config/src/configs/equilibriumAlphanet.ts +++ /dev/null @@ -1,56 +0,0 @@ -import { - BalanceBuilder, - ExtrinsicBuilder, - FeeBuilder, -} from '@moonbeam-network/xcm-builder'; -import { dev, eq, eqd } from '../assets'; -import { equilibriumAlphanet, moonbaseAlpha } from '../chains'; -import { AssetConfig } from '../types/AssetConfig'; -import { ChainConfig } from '../types/ChainConfig'; - -export const equilibriumAlphanetConfig = new ChainConfig({ - assets: [ - new AssetConfig({ - asset: eq, - balance: BalanceBuilder().substrate().system().accountEquilibrium(), - destination: moonbaseAlpha, - destinationFee: { - amount: FeeBuilder().assetManager().assetTypeUnitsPerSecond(), - asset: eq, - balance: BalanceBuilder().substrate().system().accountEquilibrium(), - }, - extrinsic: ExtrinsicBuilder().eqBalances().transferXcm(), - }), - new AssetConfig({ - asset: eqd, - balance: BalanceBuilder().substrate().system().accountEquilibrium(), - destination: moonbaseAlpha, - destinationFee: { - amount: FeeBuilder().assetManager().assetTypeUnitsPerSecond(), - asset: eq, - balance: BalanceBuilder().substrate().system().accountEquilibrium(), - }, - extrinsic: ExtrinsicBuilder().eqBalances().transferXcm(), - fee: { - asset: eq, - balance: BalanceBuilder().substrate().system().accountEquilibrium(), - }, - }), - new AssetConfig({ - asset: dev, - balance: BalanceBuilder().substrate().system().accountEquilibrium(), - destination: moonbaseAlpha, - destinationFee: { - amount: 0.00005, - asset: dev, - balance: BalanceBuilder().substrate().system().accountEquilibrium(), - }, - extrinsic: ExtrinsicBuilder().eqBalances().transferXcm(), - fee: { - asset: eq, - balance: BalanceBuilder().substrate().system().accountEquilibrium(), - }, - }), - ], - chain: equilibriumAlphanet, -}); diff --git a/packages/config/src/configs/index.ts b/packages/config/src/configs/index.ts index 1a09e5d9..f42f0247 100644 --- a/packages/config/src/configs/index.ts +++ b/packages/config/src/configs/index.ts @@ -13,7 +13,6 @@ import { darwiniaConfig } from './darwinia'; import { darwiniaCrabConfig } from './darwiniaCrab'; import { darwiniaPangoroConfig } from './darwiniaPangoro'; import { equilibriumConfig } from './equilibrium'; -import { equilibriumAlphanetConfig } from './equilibriumAlphanet'; import { hydraDxConfig } from './hydraDX'; import { integriteeConfig } from './integritee'; import { interlayConfig } from './interlay'; @@ -61,7 +60,6 @@ export const chainsConfigList: ChainConfig[] = [ darwiniaConfig, darwiniaCrabConfig, darwiniaPangoroConfig, - equilibriumAlphanetConfig, equilibriumConfig, hydraDxConfig, integriteeConfig, diff --git a/packages/config/src/configs/moonbaseAlpha.ts b/packages/config/src/configs/moonbaseAlpha.ts index dea9b312..ceb95b63 100644 --- a/packages/config/src/configs/moonbaseAlpha.ts +++ b/packages/config/src/configs/moonbaseAlpha.ts @@ -4,8 +4,6 @@ import { ampe, atom, dev, - eq, - eqd, lit, otp, paring, @@ -18,7 +16,6 @@ import { alphanetAssetHub, alphanetRelay, darwiniaPangoro, - equilibriumAlphanet, litentryAlphanet, moonbaseAlpha, moonbaseBeta, @@ -32,17 +29,6 @@ import { ChainConfig } from '../types/ChainConfig'; export const moonbaseAlphaConfig = new ChainConfig({ assets: [ - new AssetConfig({ - asset: dev, - balance: BalanceBuilder().substrate().system().account(), - contract: ContractBuilder().Xtokens().transfer(), - destination: equilibriumAlphanet, - destinationFee: { - amount: 4, - asset: dev, - balance: BalanceBuilder().substrate().system().account(), - }, - }), new AssetConfig({ asset: dev, balance: BalanceBuilder().substrate().system().account(), @@ -132,36 +118,6 @@ export const moonbaseAlphaConfig = new ChainConfig({ balance: BalanceBuilder().substrate().system().account(), }, }), - new AssetConfig({ - asset: eq, - balance: BalanceBuilder().substrate().assets().account(), - contract: ContractBuilder().Xtokens().transfer(), - destination: equilibriumAlphanet, - destinationFee: { - amount: 14, - asset: eq, - balance: BalanceBuilder().substrate().assets().account(), - }, - fee: { - asset: dev, - balance: BalanceBuilder().substrate().system().account(), - }, - }), - new AssetConfig({ - asset: eqd, - balance: BalanceBuilder().substrate().assets().account(), - contract: ContractBuilder().Xtokens().transfer(), - destination: equilibriumAlphanet, - destinationFee: { - amount: 4, - asset: eqd, - balance: BalanceBuilder().substrate().assets().account(), - }, - fee: { - asset: dev, - balance: BalanceBuilder().substrate().system().account(), - }, - }), new AssetConfig({ asset: lit, balance: BalanceBuilder().substrate().assets().account(), diff --git a/packages/sdk/src/polkadot/PolkadotService.ts b/packages/sdk/src/polkadot/PolkadotService.ts index f61fef9b..ef634242 100644 --- a/packages/sdk/src/polkadot/PolkadotService.ts +++ b/packages/sdk/src/polkadot/PolkadotService.ts @@ -9,7 +9,6 @@ import { darwiniaPangoro, eq, equilibrium, - equilibriumAlphanet, paring, } from '@moonbeam-network/xcm-config'; import { @@ -74,10 +73,7 @@ export class PolkadotService { // TODO: Remove this once Equilibrium is updated // or find better way if issue appears on other chains - if ( - key === 'token' && - [equilibriumAlphanet.key, equilibrium.key].includes(this.chain.key) - ) { + if (key === 'token' && [equilibrium.key].includes(this.chain.key)) { return eq; } From 4e6e0f0a7454c609dc4cb7e3264ea4f2b73e5839 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 16 Jan 2024 21:25:04 +1300 Subject: [PATCH 04/15] Version Packages (#183) Co-authored-by: github-actions[bot] --- .changeset/fuzzy-cherries-dress.md | 6 ------ examples/sdk-simple/package.json | 4 ++-- package-lock.json | 10 +++++----- packages/config/CHANGELOG.md | 6 ++++++ packages/config/package.json | 2 +- packages/sdk/CHANGELOG.md | 9 +++++++++ packages/sdk/package.json | 4 ++-- 7 files changed, 25 insertions(+), 16 deletions(-) delete mode 100644 .changeset/fuzzy-cherries-dress.md diff --git a/.changeset/fuzzy-cherries-dress.md b/.changeset/fuzzy-cherries-dress.md deleted file mode 100644 index 10f8632f..00000000 --- a/.changeset/fuzzy-cherries-dress.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@moonbeam-network/xcm-config': patch -'@moonbeam-network/xcm-sdk': patch ---- - -Remove equilibrium alphanet config diff --git a/examples/sdk-simple/package.json b/examples/sdk-simple/package.json index 3091a9f2..6919ae01 100644 --- a/examples/sdk-simple/package.json +++ b/examples/sdk-simple/package.json @@ -12,8 +12,8 @@ "author": "", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-config": "1.3.19", - "@moonbeam-network/xcm-sdk": "1.4.15", + "@moonbeam-network/xcm-config": "1.3.20", + "@moonbeam-network/xcm-sdk": "1.4.16", "@moonbeam-network/xcm-utils": "1.0.3" }, "devDependencies": { diff --git a/package-lock.json b/package-lock.json index a66cd325..51a29eb4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -49,8 +49,8 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-config": "1.3.19", - "@moonbeam-network/xcm-sdk": "1.4.15", + "@moonbeam-network/xcm-config": "1.3.20", + "@moonbeam-network/xcm-sdk": "1.4.16", "@moonbeam-network/xcm-utils": "1.0.3" }, "devDependencies": { @@ -17004,7 +17004,7 @@ }, "packages/config": { "name": "@moonbeam-network/xcm-config", - "version": "1.3.19", + "version": "1.3.20", "license": "MIT", "dependencies": { "@moonbeam-network/xcm-builder": "1.0.10", @@ -17018,11 +17018,11 @@ }, "packages/sdk": { "name": "@moonbeam-network/xcm-sdk", - "version": "1.4.15", + "version": "1.4.16", "license": "MIT", "dependencies": { "@moonbeam-network/xcm-builder": "1.0.10", - "@moonbeam-network/xcm-config": "1.3.19", + "@moonbeam-network/xcm-config": "1.3.20", "@moonbeam-network/xcm-types": "1.0.1", "@moonbeam-network/xcm-utils": "1.0.3", "big.js": "^6.2.1" diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index 96772c2a..452e5935 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,11 @@ # @moonbeam-network/xcm-config +## 1.3.20 + +### Patch Changes + +- [#182](https://github.com/PureStake/xcm-sdk/pull/182) [`6beaf73`](https://github.com/PureStake/xcm-sdk/commit/6beaf73e39d339f6221b7346758822f63bbf99e3) Thanks [@mmaurello](https://github.com/mmaurello)! - Remove equilibrium alphanet config + ## 1.3.19 ### Patch Changes diff --git a/packages/config/package.json b/packages/config/package.json index 2990ffc9..9173b6c8 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-config", - "version": "1.3.19", + "version": "1.3.20", "description": "All necessary configuration to transfer assets from Moonbeam, Moonriver, Moonbase to other parachains and back", "scripts": { "build": "tsup", diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index 082281b2..7e77706f 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -1,5 +1,14 @@ # @moonbeam-network/xcm-sdk +## 1.4.16 + +### Patch Changes + +- [#182](https://github.com/PureStake/xcm-sdk/pull/182) [`6beaf73`](https://github.com/PureStake/xcm-sdk/commit/6beaf73e39d339f6221b7346758822f63bbf99e3) Thanks [@mmaurello](https://github.com/mmaurello)! - Remove equilibrium alphanet config + +- Updated dependencies [[`6beaf73`](https://github.com/PureStake/xcm-sdk/commit/6beaf73e39d339f6221b7346758822f63bbf99e3)]: + - @moonbeam-network/xcm-config@1.3.20 + ## 1.4.15 ### Patch Changes diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 2f30d645..500a8083 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-sdk", - "version": "1.4.15", + "version": "1.4.16", "description": "The Moonbeam XCM SDK enables developers to easily deposit and withdraw assets to Moonbeam/Moonriver from the relay chain and other parachains in the Polkadot/Kusama ecosystem", "scripts": { "build": "tsup", @@ -52,7 +52,7 @@ "main": "./build/index.cjs", "dependencies": { "@moonbeam-network/xcm-builder": "1.0.10", - "@moonbeam-network/xcm-config": "1.3.19", + "@moonbeam-network/xcm-config": "1.3.20", "@moonbeam-network/xcm-types": "1.0.1", "@moonbeam-network/xcm-utils": "1.0.3", "big.js": "^6.2.1" From 88b6322327b30baa0fb2bf55f99497e2944c95ef Mon Sep 17 00:00:00 2001 From: mmaurello <93129175+mmaurello@users.noreply.github.com> Date: Wed, 17 Jan 2024 21:34:49 +1300 Subject: [PATCH 05/15] Adjust weight limit, always use unlimited (fix Bifrost issue) (#184) * always use unlimited weight limit to fix bifrost issues * update snapshot * add changeset --- .changeset/late-carpets-suffer.md | 6 +++++ .../__snapshots__/xTokens.test.ts.snap | 6 ++--- .../src/extrinsic/pallets/xTokens/xTokens.ts | 14 +++++----- .../pallets/xTokens/xTokens.utils.ts | 27 +++---------------- .../types/src/chain/parachain/Parachain.ts | 4 +-- 5 files changed, 21 insertions(+), 36 deletions(-) create mode 100644 .changeset/late-carpets-suffer.md diff --git a/.changeset/late-carpets-suffer.md b/.changeset/late-carpets-suffer.md new file mode 100644 index 00000000..584c223b --- /dev/null +++ b/.changeset/late-carpets-suffer.md @@ -0,0 +1,6 @@ +--- +'@moonbeam-network/xcm-builder': patch +'@moonbeam-network/xcm-types': patch +--- + +Use unlimited weight in all transactions for the xTokens pallet diff --git a/packages/builder/src/extrinsic/pallets/xTokens/__snapshots__/xTokens.test.ts.snap b/packages/builder/src/extrinsic/pallets/xTokens/__snapshots__/xTokens.test.ts.snap index e388f1bd..00588e79 100644 --- a/packages/builder/src/extrinsic/pallets/xTokens/__snapshots__/xTokens.test.ts.snap +++ b/packages/builder/src/extrinsic/pallets/xTokens/__snapshots__/xTokens.test.ts.snap @@ -30,7 +30,7 @@ exports[`xTokens transfer should get correct arguments 1`] = ` "parents": 1, }, }, - 1000000000, + "Unlimited", ] `; @@ -85,7 +85,7 @@ exports[`xTokens transferMultiAsset parachain should get correct arguments 1`] = "parents": 1, }, }, - 1000000000, + "Unlimited", ] `; @@ -188,7 +188,7 @@ exports[`xTokens transferMultiAsset x2 should get correct arguments 1`] = ` "parents": 1, }, }, - 1000000000, + "Unlimited", ] `; diff --git a/packages/builder/src/extrinsic/pallets/xTokens/xTokens.ts b/packages/builder/src/extrinsic/pallets/xTokens/xTokens.ts index 5a55f22a..b05ec066 100644 --- a/packages/builder/src/extrinsic/pallets/xTokens/xTokens.ts +++ b/packages/builder/src/extrinsic/pallets/xTokens/xTokens.ts @@ -12,7 +12,7 @@ const pallet = 'xTokens'; export function xTokens() { return { transfer: (): ExtrinsicConfigBuilder => ({ - build: ({ address, amount, asset, destination, source }) => + build: ({ address, amount, asset, destination }) => new ExtrinsicConfig({ module: pallet, func: 'transfer', @@ -23,7 +23,7 @@ export function xTokens() { asset, amount, getDestination(version, address, destination), - getWeight(source.weight, func), + getWeight(), ]; }, }), @@ -55,7 +55,7 @@ export function xTokens() { }, }, getDestination(version, address, destination), - 'Unlimited', + getWeight(), ]; }, }), @@ -87,13 +87,13 @@ export function xTokens() { }, }, getDestination(version, address, destination), - 'Unlimited', + getWeight(), ]; }, }), }), X2: (): ExtrinsicConfigBuilder => ({ - build: ({ address, amount, asset, destination, source }) => + build: ({ address, amount, asset, destination }) => new ExtrinsicConfig({ module: pallet, func: funcName, @@ -124,7 +124,7 @@ export function xTokens() { }, }, getDestination(version, address, destination), - getWeight(source.weight, func), + getWeight(), ]; }, }), @@ -143,7 +143,7 @@ export function xTokens() { ], 1, getDestination(XcmVersion.v3, address, destination), - 'Unlimited', + getWeight(), ], }), }), diff --git a/packages/builder/src/extrinsic/pallets/xTokens/xTokens.utils.ts b/packages/builder/src/extrinsic/pallets/xTokens/xTokens.utils.ts index 2b44f740..1a6518af 100644 --- a/packages/builder/src/extrinsic/pallets/xTokens/xTokens.utils.ts +++ b/packages/builder/src/extrinsic/pallets/xTokens/xTokens.utils.ts @@ -1,34 +1,13 @@ import { AnyChain } from '@moonbeam-network/xcm-types'; -import { SubmittableExtrinsicFunction } from '@polkadot/api/types'; import { XcmVersion } from '../../ExtrinsicBuilder.interfaces'; import { getExtrinsicAccount } from '../../ExtrinsicBuilder.utils'; import { XTokensWeightLimit } from './xTokens.interfaces'; /** - * Workaround for weight parameter type change in xTokens pallet - * https://github.com/open-web3-stack/open-runtime-module-library/pull/841 + * It is safer to always use unlimited */ -export function getWeight( - weight: number, - func?: SubmittableExtrinsicFunction<'promise'>, -): XTokensWeightLimit { - const type = func?.meta.args.at(-1)?.type; - - if (!type) { - return weight; - } - - if (type.eq('XcmV2WeightLimit')) { - return { - Limited: weight, - }; - } - - if (type.eq('XcmV3WeightLimit')) { - return 'Unlimited'; - } - - return weight; +export function getWeight(): XTokensWeightLimit { + return 'Unlimited'; } export function getDestination( diff --git a/packages/types/src/chain/parachain/Parachain.ts b/packages/types/src/chain/parachain/Parachain.ts index b7f57950..03cb14ae 100644 --- a/packages/types/src/chain/parachain/Parachain.ts +++ b/packages/types/src/chain/parachain/Parachain.ts @@ -23,7 +23,7 @@ export class Parachain extends Chain { readonly ss58Format: number; - readonly weight: number; + readonly weight: number | undefined; readonly ws: string; @@ -46,7 +46,7 @@ export class Parachain extends Chain { this.genesisHash = genesisHash; this.parachainId = parachainId; this.ss58Format = ss58Format; - this.weight = weight ?? 1_000_000_000; + this.weight = weight; this.ws = ws; } From bd9722729a6bc8b6f6e450ffb403af3637a1a1f8 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 17 Jan 2024 21:36:35 +1300 Subject: [PATCH 06/15] Version Packages (#185) Co-authored-by: github-actions[bot] --- .changeset/late-carpets-suffer.md | 6 ------ examples/sdk-simple/package.json | 4 ++-- package-lock.json | 24 ++++++++++++------------ packages/builder/CHANGELOG.md | 9 +++++++++ packages/builder/package.json | 4 ++-- packages/config/CHANGELOG.md | 8 ++++++++ packages/config/package.json | 6 +++--- packages/sdk/CHANGELOG.md | 9 +++++++++ packages/sdk/package.json | 8 ++++---- packages/types/CHANGELOG.md | 6 ++++++ packages/types/package.json | 2 +- 11 files changed, 56 insertions(+), 30 deletions(-) delete mode 100644 .changeset/late-carpets-suffer.md diff --git a/.changeset/late-carpets-suffer.md b/.changeset/late-carpets-suffer.md deleted file mode 100644 index 584c223b..00000000 --- a/.changeset/late-carpets-suffer.md +++ /dev/null @@ -1,6 +0,0 @@ ---- -'@moonbeam-network/xcm-builder': patch -'@moonbeam-network/xcm-types': patch ---- - -Use unlimited weight in all transactions for the xTokens pallet diff --git a/examples/sdk-simple/package.json b/examples/sdk-simple/package.json index 6919ae01..fd128596 100644 --- a/examples/sdk-simple/package.json +++ b/examples/sdk-simple/package.json @@ -12,8 +12,8 @@ "author": "", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-config": "1.3.20", - "@moonbeam-network/xcm-sdk": "1.4.16", + "@moonbeam-network/xcm-config": "1.3.21", + "@moonbeam-network/xcm-sdk": "1.4.17", "@moonbeam-network/xcm-utils": "1.0.3" }, "devDependencies": { diff --git a/package-lock.json b/package-lock.json index 51a29eb4..1d9483ca 100644 --- a/package-lock.json +++ b/package-lock.json @@ -49,8 +49,8 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-config": "1.3.20", - "@moonbeam-network/xcm-sdk": "1.4.16", + "@moonbeam-network/xcm-config": "1.3.21", + "@moonbeam-network/xcm-sdk": "1.4.17", "@moonbeam-network/xcm-utils": "1.0.3" }, "devDependencies": { @@ -16976,10 +16976,10 @@ }, "packages/builder": { "name": "@moonbeam-network/xcm-builder", - "version": "1.0.10", + "version": "1.0.11", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-types": "1.0.1", + "@moonbeam-network/xcm-types": "1.0.2", "@moonbeam-network/xcm-utils": "1.0.3", "big.js": "^6.2.1", "type-fest": "^3.8.0" @@ -17004,11 +17004,11 @@ }, "packages/config": { "name": "@moonbeam-network/xcm-config", - "version": "1.3.20", + "version": "1.3.21", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-builder": "1.0.10", - "@moonbeam-network/xcm-types": "1.0.1" + "@moonbeam-network/xcm-builder": "1.0.11", + "@moonbeam-network/xcm-types": "1.0.2" }, "peerDependencies": { "@polkadot/types": "^10.10.1", @@ -17018,12 +17018,12 @@ }, "packages/sdk": { "name": "@moonbeam-network/xcm-sdk", - "version": "1.4.16", + "version": "1.4.17", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-builder": "1.0.10", - "@moonbeam-network/xcm-config": "1.3.20", - "@moonbeam-network/xcm-types": "1.0.1", + "@moonbeam-network/xcm-builder": "1.0.11", + "@moonbeam-network/xcm-config": "1.3.21", + "@moonbeam-network/xcm-types": "1.0.2", "@moonbeam-network/xcm-utils": "1.0.3", "big.js": "^6.2.1" }, @@ -17038,7 +17038,7 @@ }, "packages/types": { "name": "@moonbeam-network/xcm-types", - "version": "1.0.1", + "version": "1.0.2", "license": "MIT", "dependencies": { "@moonbeam-network/xcm-utils": "1.x", diff --git a/packages/builder/CHANGELOG.md b/packages/builder/CHANGELOG.md index c5d3ec1d..b3373efb 100644 --- a/packages/builder/CHANGELOG.md +++ b/packages/builder/CHANGELOG.md @@ -1,5 +1,14 @@ # @moonbeam-network/xcm-builder +## 1.0.11 + +### Patch Changes + +- [#184](https://github.com/PureStake/xcm-sdk/pull/184) [`88b6322`](https://github.com/PureStake/xcm-sdk/commit/88b6322327b30baa0fb2bf55f99497e2944c95ef) Thanks [@mmaurello](https://github.com/mmaurello)! - Use unlimited weight in all transactions for the xTokens pallet + +- Updated dependencies [[`88b6322`](https://github.com/PureStake/xcm-sdk/commit/88b6322327b30baa0fb2bf55f99497e2944c95ef)]: + - @moonbeam-network/xcm-types@1.0.2 + ## 1.0.10 ### Patch Changes diff --git a/packages/builder/package.json b/packages/builder/package.json index 1ef3c9e2..ffd35037 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-builder", - "version": "1.0.10", + "version": "1.0.11", "description": "Moonbeam XCM builder", "scripts": { "build": "tsup", @@ -50,7 +50,7 @@ "types": "./build/index.d.ts", "main": "./build/index.cjs", "dependencies": { - "@moonbeam-network/xcm-types": "1.0.1", + "@moonbeam-network/xcm-types": "1.0.2", "@moonbeam-network/xcm-utils": "1.0.3", "big.js": "^6.2.1", "type-fest": "^3.8.0" diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index 452e5935..c1eec703 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,13 @@ # @moonbeam-network/xcm-config +## 1.3.21 + +### Patch Changes + +- Updated dependencies [[`88b6322`](https://github.com/PureStake/xcm-sdk/commit/88b6322327b30baa0fb2bf55f99497e2944c95ef)]: + - @moonbeam-network/xcm-builder@1.0.11 + - @moonbeam-network/xcm-types@1.0.2 + ## 1.3.20 ### Patch Changes diff --git a/packages/config/package.json b/packages/config/package.json index 9173b6c8..ad8dbc91 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-config", - "version": "1.3.20", + "version": "1.3.21", "description": "All necessary configuration to transfer assets from Moonbeam, Moonriver, Moonbase to other parachains and back", "scripts": { "build": "tsup", @@ -50,8 +50,8 @@ "types": "./build/index.d.ts", "main": "./build/index.cjs", "dependencies": { - "@moonbeam-network/xcm-builder": "1.0.10", - "@moonbeam-network/xcm-types": "1.0.1" + "@moonbeam-network/xcm-builder": "1.0.11", + "@moonbeam-network/xcm-types": "1.0.2" }, "peerDependencies": { "@polkadot/types": "^10.10.1", diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index 7e77706f..a5bf1a0c 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -1,5 +1,14 @@ # @moonbeam-network/xcm-sdk +## 1.4.17 + +### Patch Changes + +- Updated dependencies [[`88b6322`](https://github.com/PureStake/xcm-sdk/commit/88b6322327b30baa0fb2bf55f99497e2944c95ef)]: + - @moonbeam-network/xcm-builder@1.0.11 + - @moonbeam-network/xcm-types@1.0.2 + - @moonbeam-network/xcm-config@1.3.21 + ## 1.4.16 ### Patch Changes diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 500a8083..4ac94f09 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-sdk", - "version": "1.4.16", + "version": "1.4.17", "description": "The Moonbeam XCM SDK enables developers to easily deposit and withdraw assets to Moonbeam/Moonriver from the relay chain and other parachains in the Polkadot/Kusama ecosystem", "scripts": { "build": "tsup", @@ -51,9 +51,9 @@ "types": "./build/index.d.ts", "main": "./build/index.cjs", "dependencies": { - "@moonbeam-network/xcm-builder": "1.0.10", - "@moonbeam-network/xcm-config": "1.3.20", - "@moonbeam-network/xcm-types": "1.0.1", + "@moonbeam-network/xcm-builder": "1.0.11", + "@moonbeam-network/xcm-config": "1.3.21", + "@moonbeam-network/xcm-types": "1.0.2", "@moonbeam-network/xcm-utils": "1.0.3", "big.js": "^6.2.1" }, diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 0eff6272..60b50754 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,11 @@ # @moonbeam-network/xcm-types +## 1.0.2 + +### Patch Changes + +- [#184](https://github.com/PureStake/xcm-sdk/pull/184) [`88b6322`](https://github.com/PureStake/xcm-sdk/commit/88b6322327b30baa0fb2bf55f99497e2944c95ef) Thanks [@mmaurello](https://github.com/mmaurello)! - Use unlimited weight in all transactions for the xTokens pallet + ## 1.0.1 ### Patch Changes diff --git a/packages/types/package.json b/packages/types/package.json index 2bb5476e..162a3401 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-types", - "version": "1.0.1", + "version": "1.0.2", "description": "Moonbeam XCM Types", "scripts": { "build": "tsup", From f72cf9b55e20c24294971a41ff7b3dc82d588126 Mon Sep 17 00:00:00 2001 From: albertov19 <64150856+albertov19@users.noreply.github.com> Date: Thu, 18 Jan 2024 11:48:34 +0100 Subject: [PATCH 07/15] Updated Calamari Endpoint (#186) * Updated Calamari Endpoint * add changeset --------- Co-authored-by: mmaurello <93129175+mmaurello@users.noreply.github.com> --- .changeset/late-houses-type.md | 5 +++++ packages/config/src/chains.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/late-houses-type.md diff --git a/.changeset/late-houses-type.md b/.changeset/late-houses-type.md new file mode 100644 index 00000000..10e69d42 --- /dev/null +++ b/.changeset/late-houses-type.md @@ -0,0 +1,5 @@ +--- +"@moonbeam-network/xcm-config": patch +--- + +Updated Calamari Endpoint diff --git a/packages/config/src/chains.ts b/packages/config/src/chains.ts index 0b17c818..07c38477 100644 --- a/packages/config/src/chains.ts +++ b/packages/config/src/chains.ts @@ -254,7 +254,7 @@ export const calamari = new Parachain({ name: 'Calamari', parachainId: 2084, ss58Format: 78, - ws: 'wss://ws.calamari.systems', + ws: 'wss://calamari.systems', }); export const centrifuge = new Parachain({ From d26fa1035414b47201ead77d92ca3a389767b8f5 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 19 Jan 2024 00:55:19 +1300 Subject: [PATCH 08/15] Version Packages (#187) Co-authored-by: github-actions[bot] --- .changeset/late-houses-type.md | 5 ----- examples/sdk-simple/package.json | 4 ++-- package-lock.json | 10 +++++----- packages/config/CHANGELOG.md | 6 ++++++ packages/config/package.json | 2 +- packages/sdk/CHANGELOG.md | 7 +++++++ packages/sdk/package.json | 4 ++-- 7 files changed, 23 insertions(+), 15 deletions(-) delete mode 100644 .changeset/late-houses-type.md diff --git a/.changeset/late-houses-type.md b/.changeset/late-houses-type.md deleted file mode 100644 index 10e69d42..00000000 --- a/.changeset/late-houses-type.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"@moonbeam-network/xcm-config": patch ---- - -Updated Calamari Endpoint diff --git a/examples/sdk-simple/package.json b/examples/sdk-simple/package.json index fd128596..5bf4bc8d 100644 --- a/examples/sdk-simple/package.json +++ b/examples/sdk-simple/package.json @@ -12,8 +12,8 @@ "author": "", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-config": "1.3.21", - "@moonbeam-network/xcm-sdk": "1.4.17", + "@moonbeam-network/xcm-config": "1.3.22", + "@moonbeam-network/xcm-sdk": "1.4.18", "@moonbeam-network/xcm-utils": "1.0.3" }, "devDependencies": { diff --git a/package-lock.json b/package-lock.json index 1d9483ca..33c9ad65 100644 --- a/package-lock.json +++ b/package-lock.json @@ -49,8 +49,8 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-config": "1.3.21", - "@moonbeam-network/xcm-sdk": "1.4.17", + "@moonbeam-network/xcm-config": "1.3.22", + "@moonbeam-network/xcm-sdk": "1.4.18", "@moonbeam-network/xcm-utils": "1.0.3" }, "devDependencies": { @@ -17004,7 +17004,7 @@ }, "packages/config": { "name": "@moonbeam-network/xcm-config", - "version": "1.3.21", + "version": "1.3.22", "license": "MIT", "dependencies": { "@moonbeam-network/xcm-builder": "1.0.11", @@ -17018,11 +17018,11 @@ }, "packages/sdk": { "name": "@moonbeam-network/xcm-sdk", - "version": "1.4.17", + "version": "1.4.18", "license": "MIT", "dependencies": { "@moonbeam-network/xcm-builder": "1.0.11", - "@moonbeam-network/xcm-config": "1.3.21", + "@moonbeam-network/xcm-config": "1.3.22", "@moonbeam-network/xcm-types": "1.0.2", "@moonbeam-network/xcm-utils": "1.0.3", "big.js": "^6.2.1" diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index c1eec703..cf601f53 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,11 @@ # @moonbeam-network/xcm-config +## 1.3.22 + +### Patch Changes + +- [#186](https://github.com/PureStake/xcm-sdk/pull/186) [`f72cf9b`](https://github.com/PureStake/xcm-sdk/commit/f72cf9b55e20c24294971a41ff7b3dc82d588126) Thanks [@albertov19](https://github.com/albertov19)! - Updated Calamari Endpoint + ## 1.3.21 ### Patch Changes diff --git a/packages/config/package.json b/packages/config/package.json index ad8dbc91..454639ca 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-config", - "version": "1.3.21", + "version": "1.3.22", "description": "All necessary configuration to transfer assets from Moonbeam, Moonriver, Moonbase to other parachains and back", "scripts": { "build": "tsup", diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index a5bf1a0c..a7b3ecd7 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -1,5 +1,12 @@ # @moonbeam-network/xcm-sdk +## 1.4.18 + +### Patch Changes + +- Updated dependencies [[`f72cf9b`](https://github.com/PureStake/xcm-sdk/commit/f72cf9b55e20c24294971a41ff7b3dc82d588126)]: + - @moonbeam-network/xcm-config@1.3.22 + ## 1.4.17 ### Patch Changes diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 4ac94f09..ee8fd616 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-sdk", - "version": "1.4.17", + "version": "1.4.18", "description": "The Moonbeam XCM SDK enables developers to easily deposit and withdraw assets to Moonbeam/Moonriver from the relay chain and other parachains in the Polkadot/Kusama ecosystem", "scripts": { "build": "tsup", @@ -52,7 +52,7 @@ "main": "./build/index.cjs", "dependencies": { "@moonbeam-network/xcm-builder": "1.0.11", - "@moonbeam-network/xcm-config": "1.3.21", + "@moonbeam-network/xcm-config": "1.3.22", "@moonbeam-network/xcm-types": "1.0.2", "@moonbeam-network/xcm-utils": "1.0.3", "big.js": "^6.2.1" From 1b0992493f5afac24e7cdbfd907303f7d450860c Mon Sep 17 00:00:00 2001 From: mmaurello <93129175+mmaurello@users.noreply.github.com> Date: Mon, 22 Jan 2024 23:05:35 +1300 Subject: [PATCH 09/15] Remove obsolete integration (#188) * remove litentry alphanet configuration * change parallel endpoint * add changeset --- .changeset/many-ladybugs-tickle.md | 5 ++++ packages/config/src/chains.ts | 21 +-------------- packages/config/src/configs/index.ts | 2 -- .../config/src/configs/litentryAlphanet.ts | 26 ------------------- packages/config/src/configs/moonbaseAlpha.ts | 17 ------------ 5 files changed, 6 insertions(+), 65 deletions(-) create mode 100644 .changeset/many-ladybugs-tickle.md delete mode 100644 packages/config/src/configs/litentryAlphanet.ts diff --git a/.changeset/many-ladybugs-tickle.md b/.changeset/many-ladybugs-tickle.md new file mode 100644 index 00000000..2c279dd1 --- /dev/null +++ b/.changeset/many-ladybugs-tickle.md @@ -0,0 +1,5 @@ +--- +'@moonbeam-network/xcm-config': patch +--- + +Remove Litentry alphanet and change Parallel endpoint diff --git a/packages/config/src/chains.ts b/packages/config/src/chains.ts index 07c38477..82d9826e 100644 --- a/packages/config/src/chains.ts +++ b/packages/config/src/chains.ts @@ -600,24 +600,6 @@ export const kusamaAssetHub = new Parachain({ ws: 'wss://kusama-asset-hub-rpc.polkadot.io', }); -export const litentryAlphanet = new Parachain({ - assetsData: [ - { - asset: lit, - id: 'SelfReserve', - }, - ], - ecosystem: Ecosystem.AlphanetRelay, - genesisHash: - '0x4decfd421755d9008781d00ce40ea4cf47ec24a3717a34ca995126fc4a78c4f8', - isTestChain: true, - key: 'litentry-alphanet', - name: 'Litentry Alphanet', - parachainId: 2106, - ss58Format: 131, - ws: 'wss://moonbase-parachain-sg-0.litentry.io', -}); - export const litmus = new Parachain({ assetsData: [ { @@ -1095,7 +1077,7 @@ export const parallel = new Parachain({ name: 'Parallel', parachainId: 2012, ss58Format: 172, - ws: 'wss://polkadot-parallel-rpc.parallel.fi', + ws: 'wss://parallel-rpc.dwellir.com', }); export const parallelHeiko = new Parachain({ @@ -1422,7 +1404,6 @@ export const chainsList: AnyChain[] = [ khala, kintsugi, kusama, - litentryAlphanet, litmus, mangataKusama, moonbaseAlpha, diff --git a/packages/config/src/configs/index.ts b/packages/config/src/configs/index.ts index f42f0247..5d250cab 100644 --- a/packages/config/src/configs/index.ts +++ b/packages/config/src/configs/index.ts @@ -21,7 +21,6 @@ import { khalaConfig } from './khala'; import { kintsugiConfig } from './kintsugi'; import { kusamaConfig } from './kusama'; import { kusamaAssetHubConfig } from './kusamaAssetHub'; -import { litentryAlphanetConfig } from './litentryAlphanet'; import { litmusConfig } from './litmus'; import { mangataKusamaConfig } from './mangataKusama'; import { moonbaseAlphaConfig } from './moonbaseAlpha'; @@ -68,7 +67,6 @@ export const chainsConfigList: ChainConfig[] = [ khalaConfig, kintsugiConfig, kusamaConfig, - litentryAlphanetConfig, litmusConfig, mangataKusamaConfig, moonbaseAlphaConfig, diff --git a/packages/config/src/configs/litentryAlphanet.ts b/packages/config/src/configs/litentryAlphanet.ts deleted file mode 100644 index 9d76b5a0..00000000 --- a/packages/config/src/configs/litentryAlphanet.ts +++ /dev/null @@ -1,26 +0,0 @@ -import { - BalanceBuilder, - ExtrinsicBuilder, - FeeBuilder, -} from '@moonbeam-network/xcm-builder'; -import { lit } from '../assets'; -import { litentryAlphanet, moonbaseAlpha } from '../chains'; -import { AssetConfig } from '../types/AssetConfig'; -import { ChainConfig } from '../types/ChainConfig'; - -export const litentryAlphanetConfig = new ChainConfig({ - assets: [ - new AssetConfig({ - asset: lit, - balance: BalanceBuilder().substrate().system().account(), - destination: moonbaseAlpha, - destinationFee: { - amount: FeeBuilder().assetManager().assetTypeUnitsPerSecond(), - asset: lit, - balance: BalanceBuilder().substrate().system().account(), - }, - extrinsic: ExtrinsicBuilder().xTokens().transfer(), - }), - ], - chain: litentryAlphanet, -}); diff --git a/packages/config/src/configs/moonbaseAlpha.ts b/packages/config/src/configs/moonbaseAlpha.ts index ceb95b63..b362fd1c 100644 --- a/packages/config/src/configs/moonbaseAlpha.ts +++ b/packages/config/src/configs/moonbaseAlpha.ts @@ -4,7 +4,6 @@ import { ampe, atom, dev, - lit, otp, paring, pica, @@ -16,7 +15,6 @@ import { alphanetAssetHub, alphanetRelay, darwiniaPangoro, - litentryAlphanet, moonbaseAlpha, moonbaseBeta, originTrailAlphanet, @@ -118,21 +116,6 @@ export const moonbaseAlphaConfig = new ChainConfig({ balance: BalanceBuilder().substrate().system().account(), }, }), - new AssetConfig({ - asset: lit, - balance: BalanceBuilder().substrate().assets().account(), - contract: ContractBuilder().Xtokens().transfer(), - destination: litentryAlphanet, - destinationFee: { - amount: 0.032, - asset: lit, - balance: BalanceBuilder().substrate().assets().account(), - }, - fee: { - asset: dev, - balance: BalanceBuilder().substrate().system().account(), - }, - }), new AssetConfig({ asset: otp, balance: BalanceBuilder().substrate().assets().account(), From d7d021cd93d0ba11d5575b316cf11251a222e820 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 23 Jan 2024 00:26:09 +1300 Subject: [PATCH 10/15] Version Packages (#189) Co-authored-by: github-actions[bot] --- .changeset/many-ladybugs-tickle.md | 5 ----- examples/sdk-simple/package.json | 4 ++-- package-lock.json | 10 +++++----- packages/config/CHANGELOG.md | 6 ++++++ packages/config/package.json | 2 +- packages/sdk/CHANGELOG.md | 7 +++++++ packages/sdk/package.json | 4 ++-- 7 files changed, 23 insertions(+), 15 deletions(-) delete mode 100644 .changeset/many-ladybugs-tickle.md diff --git a/.changeset/many-ladybugs-tickle.md b/.changeset/many-ladybugs-tickle.md deleted file mode 100644 index 2c279dd1..00000000 --- a/.changeset/many-ladybugs-tickle.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@moonbeam-network/xcm-config': patch ---- - -Remove Litentry alphanet and change Parallel endpoint diff --git a/examples/sdk-simple/package.json b/examples/sdk-simple/package.json index 5bf4bc8d..787bc6be 100644 --- a/examples/sdk-simple/package.json +++ b/examples/sdk-simple/package.json @@ -12,8 +12,8 @@ "author": "", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-config": "1.3.22", - "@moonbeam-network/xcm-sdk": "1.4.18", + "@moonbeam-network/xcm-config": "1.3.23", + "@moonbeam-network/xcm-sdk": "1.4.19", "@moonbeam-network/xcm-utils": "1.0.3" }, "devDependencies": { diff --git a/package-lock.json b/package-lock.json index 33c9ad65..822e3dbd 100644 --- a/package-lock.json +++ b/package-lock.json @@ -49,8 +49,8 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-config": "1.3.22", - "@moonbeam-network/xcm-sdk": "1.4.18", + "@moonbeam-network/xcm-config": "1.3.23", + "@moonbeam-network/xcm-sdk": "1.4.19", "@moonbeam-network/xcm-utils": "1.0.3" }, "devDependencies": { @@ -17004,7 +17004,7 @@ }, "packages/config": { "name": "@moonbeam-network/xcm-config", - "version": "1.3.22", + "version": "1.3.23", "license": "MIT", "dependencies": { "@moonbeam-network/xcm-builder": "1.0.11", @@ -17018,11 +17018,11 @@ }, "packages/sdk": { "name": "@moonbeam-network/xcm-sdk", - "version": "1.4.18", + "version": "1.4.19", "license": "MIT", "dependencies": { "@moonbeam-network/xcm-builder": "1.0.11", - "@moonbeam-network/xcm-config": "1.3.22", + "@moonbeam-network/xcm-config": "1.3.23", "@moonbeam-network/xcm-types": "1.0.2", "@moonbeam-network/xcm-utils": "1.0.3", "big.js": "^6.2.1" diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index cf601f53..9d9157fe 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,11 @@ # @moonbeam-network/xcm-config +## 1.3.23 + +### Patch Changes + +- [#188](https://github.com/PureStake/xcm-sdk/pull/188) [`1b09924`](https://github.com/PureStake/xcm-sdk/commit/1b0992493f5afac24e7cdbfd907303f7d450860c) Thanks [@mmaurello](https://github.com/mmaurello)! - Remove Litentry alphanet and change Parallel endpoint + ## 1.3.22 ### Patch Changes diff --git a/packages/config/package.json b/packages/config/package.json index 454639ca..a914d19d 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-config", - "version": "1.3.22", + "version": "1.3.23", "description": "All necessary configuration to transfer assets from Moonbeam, Moonriver, Moonbase to other parachains and back", "scripts": { "build": "tsup", diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index a7b3ecd7..68728ac5 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -1,5 +1,12 @@ # @moonbeam-network/xcm-sdk +## 1.4.19 + +### Patch Changes + +- Updated dependencies [[`1b09924`](https://github.com/PureStake/xcm-sdk/commit/1b0992493f5afac24e7cdbfd907303f7d450860c)]: + - @moonbeam-network/xcm-config@1.3.23 + ## 1.4.18 ### Patch Changes diff --git a/packages/sdk/package.json b/packages/sdk/package.json index ee8fd616..a7982619 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-sdk", - "version": "1.4.18", + "version": "1.4.19", "description": "The Moonbeam XCM SDK enables developers to easily deposit and withdraw assets to Moonbeam/Moonriver from the relay chain and other parachains in the Polkadot/Kusama ecosystem", "scripts": { "build": "tsup", @@ -52,7 +52,7 @@ "main": "./build/index.cjs", "dependencies": { "@moonbeam-network/xcm-builder": "1.0.11", - "@moonbeam-network/xcm-config": "1.3.22", + "@moonbeam-network/xcm-config": "1.3.23", "@moonbeam-network/xcm-types": "1.0.2", "@moonbeam-network/xcm-utils": "1.0.3", "big.js": "^6.2.1" From 9257ddb62ede7b0bda3e24385b119b65b456639d Mon Sep 17 00:00:00 2001 From: mmaurello <93129175+mmaurello@users.noreply.github.com> Date: Tue, 23 Jan 2024 22:48:11 +1300 Subject: [PATCH 11/15] add empty workflow with workflow dispatch (#190) --- .github/workflows/xcm-wss-endpoints-monitor.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .github/workflows/xcm-wss-endpoints-monitor.yml diff --git a/.github/workflows/xcm-wss-endpoints-monitor.yml b/.github/workflows/xcm-wss-endpoints-monitor.yml new file mode 100644 index 00000000..3b915be5 --- /dev/null +++ b/.github/workflows/xcm-wss-endpoints-monitor.yml @@ -0,0 +1,12 @@ +name: XCM WS endpoints monitor + +on: + workflow_dispatch: + +jobs: + run_script: + runs-on: ubuntu-latest + + steps: + - name: hello world + run: echo "Hello World!" From fc7505e9e1ec65fca051c56786faa4e137655217 Mon Sep 17 00:00:00 2001 From: mmaurello <93129175+mmaurello@users.noreply.github.com> Date: Wed, 24 Jan 2024 00:36:40 +1300 Subject: [PATCH 12/15] Monitor ws endpoints with script execution (#191) * xcm ws endpoints monitor script * add workflow * fix workflow * add build step * fix build misplacement * remove include test chains param --- .../workflows/xcm-wss-endpoints-monitor.yml | 25 ++++- package-lock.json | 84 +++++++++++++-- package.json | 1 + scripts/check-websockets.ts | 100 ++++++++++++++++++ 4 files changed, 202 insertions(+), 8 deletions(-) create mode 100644 scripts/check-websockets.ts diff --git a/.github/workflows/xcm-wss-endpoints-monitor.yml b/.github/workflows/xcm-wss-endpoints-monitor.yml index 3b915be5..7ce1b628 100644 --- a/.github/workflows/xcm-wss-endpoints-monitor.yml +++ b/.github/workflows/xcm-wss-endpoints-monitor.yml @@ -2,11 +2,32 @@ name: XCM WS endpoints monitor on: workflow_dispatch: + schedule: + # Runs every 30 minutes + - cron: '*/30 * * * *' jobs: run_script: runs-on: ubuntu-latest steps: - - name: hello world - run: echo "Hello World!" + - name: 🤘 checkout + uses: actions/checkout@v3 + + - name: ⚙️ Setup Node.js environment + uses: actions/setup-node@v3.0.0 + with: + node-version: 18.x + cache: 'npm' + + - name: Update npm + run: npm i -g npm@9 + + - name: ⬇️ install + run: npm ci --ignore-scripts + + - name: 🛠️ Build + run: npm run build + + - name: 💻 Run script + run: npx bun ./scripts/check-websockets.ts --slack-wh=${{ secrets.SLACK_WEBHOOK_URL }} diff --git a/package-lock.json b/package-lock.json index 822e3dbd..677ffa93 100644 --- a/package-lock.json +++ b/package-lock.json @@ -20,6 +20,7 @@ "devDependencies": { "@changesets/changelog-github": "^0.4.8", "@changesets/cli": "^2.26.2", + "@slack/webhook": "^7.0.2", "@types/jest": "^29.5.3", "@typescript-eslint/eslint-plugin": "^5.59.8", "@typescript-eslint/parser": "^5.59.8", @@ -5148,6 +5149,31 @@ "@sinonjs/commons": "^3.0.0" } }, + "node_modules/@slack/types": { + "version": "2.11.0", + "resolved": "https://registry.npmjs.org/@slack/types/-/types-2.11.0.tgz", + "integrity": "sha512-UlIrDWvuLaDly3QZhCPnwUSI/KYmV1N9LyhuH6EDKCRS1HWZhyTG3Ja46T3D0rYfqdltKYFXbJSSRPwZpwO0cQ==", + "dev": true, + "engines": { + "node": ">= 12.13.0", + "npm": ">= 6.12.0" + } + }, + "node_modules/@slack/webhook": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/@slack/webhook/-/webhook-7.0.2.tgz", + "integrity": "sha512-dsrO/ow6a6+xkLm/lZKbUNTsFJlBc679tD+qwlVTztsQkDxPLH6odM7FKALz1IHa+KpLX8HKUIPV13a7y7z29w==", + "dev": true, + "dependencies": { + "@slack/types": "^2.9.0", + "@types/node": ">=18.0.0", + "axios": "^1.6.3" + }, + "engines": { + "node": ">= 18", + "npm": ">= 8.6.0" + } + }, "node_modules/@snowfork/snowbridge-types": { "version": "0.2.7", "resolved": "https://registry.npmjs.org/@snowfork/snowbridge-types/-/snowbridge-types-0.2.7.tgz", @@ -6578,8 +6604,7 @@ "node_modules/asynckit": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz", - "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==", - "peer": true + "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==" }, "node_modules/available-typed-arrays": { "version": "1.0.5", @@ -6593,6 +6618,31 @@ "url": "https://github.com/sponsors/ljharb" } }, + "node_modules/axios": { + "version": "1.6.5", + "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.5.tgz", + "integrity": "sha512-Ii012v05KEVuUoFWmMW/UQv9aRIc3ZwkWDcM+h5Il8izZCtRVpDUfwpoFf7eOtajT3QiGR4yDUx7lPqHJULgbg==", + "dev": true, + "dependencies": { + "follow-redirects": "^1.15.4", + "form-data": "^4.0.0", + "proxy-from-env": "^1.1.0" + } + }, + "node_modules/axios/node_modules/form-data": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz", + "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==", + "dev": true, + "dependencies": { + "asynckit": "^0.4.0", + "combined-stream": "^1.0.8", + "mime-types": "^2.1.12" + }, + "engines": { + "node": ">= 6" + } + }, "node_modules/babel-jest": { "version": "29.6.1", "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.6.1.tgz", @@ -7360,7 +7410,6 @@ "version": "1.0.8", "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz", "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==", - "peer": true, "dependencies": { "delayed-stream": "~1.0.0" }, @@ -7625,7 +7674,6 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz", "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==", - "peer": true, "engines": { "node": ">=0.4.0" } @@ -8832,6 +8880,26 @@ "integrity": "sha512-5nqDSxl8nn5BSNxyR3n4I6eDmbolI6WT+QqR547RwxQapgjQBmtktdP+HTBb/a/zLsbzERTONyUB5pefh5TtjQ==", "dev": true }, + "node_modules/follow-redirects": { + "version": "1.15.5", + "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.5.tgz", + "integrity": "sha512-vSFWUON1B+yAw1VN4xMfxgn5fTUiaOzAJCKBwIIgT/+7CuGy9+r+5gITvP62j3RmaD5Ph65UaERdOSRGUzZtgw==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/RubenVerborgh" + } + ], + "engines": { + "node": ">=4.0" + }, + "peerDependenciesMeta": { + "debug": { + "optional": true + } + } + }, "node_modules/for-each": { "version": "0.3.3", "resolved": "https://registry.npmjs.org/for-each/-/for-each-0.3.3.tgz", @@ -12393,7 +12461,6 @@ "version": "1.52.0", "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz", "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==", - "peer": true, "engines": { "node": ">= 0.6" } @@ -12402,7 +12469,6 @@ "version": "2.1.35", "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz", "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==", - "peer": true, "dependencies": { "mime-db": "1.52.0" }, @@ -14398,6 +14464,12 @@ "node": ">= 8" } }, + "node_modules/proxy-from-env": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz", + "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg==", + "dev": true + }, "node_modules/pseudomap": { "version": "1.0.2", "resolved": "https://registry.npmjs.org/pseudomap/-/pseudomap-1.0.2.tgz", diff --git a/package.json b/package.json index 2a72cf45..1df6f46a 100644 --- a/package.json +++ b/package.json @@ -43,6 +43,7 @@ "devDependencies": { "@changesets/changelog-github": "^0.4.8", "@changesets/cli": "^2.26.2", + "@slack/webhook": "^7.0.2", "@types/jest": "^29.5.3", "@typescript-eslint/eslint-plugin": "^5.59.8", "@typescript-eslint/parser": "^5.59.8", diff --git a/scripts/check-websockets.ts b/scripts/check-websockets.ts new file mode 100644 index 00000000..9023cbe2 --- /dev/null +++ b/scripts/check-websockets.ts @@ -0,0 +1,100 @@ +/* eslint-disable import/no-extraneous-dependencies */ +/* eslint-disable no-console */ +import { chainsList } from '@moonbeam-network/xcm-config'; +import { IncomingWebhook } from '@slack/webhook'; +import WebSocket from 'ws'; + +function procesArgs() { + const args = process.argv; + const incudeTestChains = args.some((arg) => arg === '--include-test-chains'); + const slackWebhookArg = args.find((arg) => arg.startsWith('--slack-wh=')); + const webhookUrl = slackWebhookArg ? slackWebhookArg.split('=')[1] : ''; + return { incudeTestChains, webhookUrl }; +} + +async function checkWebSocketEndpoints( + endpoints: ChainEndpoint[], +): Promise<{ endpoint: ChainEndpoint; isAlive: boolean }[]> { + async function checkIsWebSocketAlive({ + chainKey, + ws: endpoint, + }: ChainEndpoint): Promise { + return new Promise((resolve) => { + const ws = new WebSocket(endpoint); + + let isAlive = false; + + ws.on('error', (error) => { + console.error( + `WebSocket ${chainKey} connection to ${endpoint} failed. Error: ${error.message}`, + ); + resolve(false); + }); + + ws.on('open', () => { + console.log( + `WebSocket ${chainKey} connection to ${endpoint} successful.`, + ); + isAlive = true; + ws.terminate(); + }); + + ws.on('close', () => { + resolve(isAlive); + }); + }); + } + + return Promise.all( + endpoints.map(async (endpoint) => { + const isAlive = await checkIsWebSocketAlive(endpoint); + + return { endpoint, isAlive }; + }), + ); +} + +const { incudeTestChains, webhookUrl } = procesArgs(); + +const webhook = new IncomingWebhook(webhookUrl); + +interface ChainEndpoint { + chainKey: string; + ws: string; +} + +const filteredChainList = incudeTestChains + ? chainsList + : chainsList.filter((chain) => !chain.isTestChain); + +const websocketEndpoints = filteredChainList.map(({ key, ws }) => ({ + chainKey: key, + ws, +})); + +if (incudeTestChains) { + console.log('Checking the endpoints of all chains, including test chains...'); +} + +checkWebSocketEndpoints(websocketEndpoints).then(async (results) => { + let output = ''; + + results.forEach(({ isAlive, endpoint: { chainKey, ws } }) => { + if (!isAlive) { + output += `\n${chainKey}: \`${ws}\`,`; + } + }); + + if (output) { + const text = `The following websocket endpoints from the XCM integrations in the dapp are not working, please review them: ${output}`; + + console.log(text); + if (webhookUrl) { + await webhook.send({ + text, + }); + } else { + console.warn('Slack webhook not detected, notification not sent'); + } + } +}); From 0b3cb1db7897bec9bfd743fe3f8104e480500496 Mon Sep 17 00:00:00 2001 From: mmaurello <93129175+mmaurello@users.noreply.github.com> Date: Thu, 25 Jan 2024 01:27:03 +1300 Subject: [PATCH 13/15] Manta - Moonbeam configuration (#192) * Manta - Moonbeam configuration * update repository url * add changeset --- .changeset/config.json | 2 +- .changeset/proud-ghosts-sip.md | 9 ++ .github/pull-request-template.md | 2 +- package.json | 6 +- packages/builder/CHANGELOG.md | 36 ++--- packages/builder/package.json | 6 +- packages/config/CHANGELOG.md | 112 ++++++------- packages/config/package.json | 6 +- packages/config/src/assets.ts | 6 + packages/config/src/chains.ts | 27 ++++ packages/config/src/configs/index.ts | 2 + packages/config/src/configs/mantaParachain.ts | 43 +++++ packages/config/src/configs/moonbeam.ts | 28 ++++ packages/sdk/CHANGELOG.md | 148 +++++++++--------- packages/sdk/README.md | 10 +- packages/sdk/package.json | 6 +- packages/types/CHANGELOG.md | 8 +- packages/types/package.json | 6 +- packages/utils/CHANGELOG.md | 12 +- packages/utils/package.json | 6 +- 20 files changed, 298 insertions(+), 183 deletions(-) create mode 100644 .changeset/proud-ghosts-sip.md create mode 100644 packages/config/src/configs/mantaParachain.ts diff --git a/.changeset/config.json b/.changeset/config.json index e59115b6..9a7be117 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -2,7 +2,7 @@ "$schema": "https://unpkg.com/@changesets/config@2.3.0/schema.json", "changelog": [ "@changesets/changelog-github", - { "repo": "PureStake/xcm-sdk" } + { "repo": "moonbeam-foundation/xcm-sdk" } ], "commit": false, "fixed": [], diff --git a/.changeset/proud-ghosts-sip.md b/.changeset/proud-ghosts-sip.md new file mode 100644 index 00000000..d489203b --- /dev/null +++ b/.changeset/proud-ghosts-sip.md @@ -0,0 +1,9 @@ +--- +'@moonbeam-network/xcm-builder': patch +'@moonbeam-network/xcm-config': patch +'@moonbeam-network/xcm-types': patch +'@moonbeam-network/xcm-utils': patch +'@moonbeam-network/xcm-sdk': patch +--- + +Manta - Moonbeam integration and change of repo url diff --git a/.github/pull-request-template.md b/.github/pull-request-template.md index 29a0fc90..deb59ab4 100644 --- a/.github/pull-request-template.md +++ b/.github/pull-request-template.md @@ -4,7 +4,7 @@ Please explain the changes this PR addresses here. ### Checklist -- [ ] If this requires a documentation change, I have created a PR in [moonbeam-docs](https://github.com/PureStake/moonbeam-docs) repository. +- [ ] If this requires a documentation change, I have created a PR in [moonbeam-docs](https://github.com/moonbeam-foundation/moonbeam-docs) repository. - [ ] If this requires it, I have updated the Readme - [ ] If necessary, I have updated the examples - [ ] I have verified if I need to create/update unit tests diff --git a/package.json b/package.json index 1df6f46a..d959e950 100644 --- a/package.json +++ b/package.json @@ -1,15 +1,15 @@ { "name": "xcm-sdk", - "author": "PureStake", + "author": "moonbeam-foundation", "license": "MIT", "private": true, "homepage": "https://docs.moonbeam.network/builders/xcm/xcm-sdk/xcm-sdk/", "bugs": { - "url": "https://github.com/PureStake/xcm-sdk/issues" + "url": "https://github.com/moonbeam-foundation/xcm-sdk/issues" }, "repository": { "type": "git", - "url": "git+https://github.com/PureStake/xcm-sdk.git" + "url": "git+https://github.com/moonbeam-foundation/xcm-sdk.git" }, "type": "module", "workspaces": [ diff --git a/packages/builder/CHANGELOG.md b/packages/builder/CHANGELOG.md index b3373efb..e4d65d32 100644 --- a/packages/builder/CHANGELOG.md +++ b/packages/builder/CHANGELOG.md @@ -4,90 +4,90 @@ ### Patch Changes -- [#184](https://github.com/PureStake/xcm-sdk/pull/184) [`88b6322`](https://github.com/PureStake/xcm-sdk/commit/88b6322327b30baa0fb2bf55f99497e2944c95ef) Thanks [@mmaurello](https://github.com/mmaurello)! - Use unlimited weight in all transactions for the xTokens pallet +- [#184](https://github.com/moonbeam-foundation/xcm-sdk/pull/184) [`88b6322`](https://github.com/moonbeam-foundation/xcm-sdk/commit/88b6322327b30baa0fb2bf55f99497e2944c95ef) Thanks [@mmaurello](https://github.com/mmaurello)! - Use unlimited weight in all transactions for the xTokens pallet -- Updated dependencies [[`88b6322`](https://github.com/PureStake/xcm-sdk/commit/88b6322327b30baa0fb2bf55f99497e2944c95ef)]: +- Updated dependencies [[`88b6322`](https://github.com/moonbeam-foundation/xcm-sdk/commit/88b6322327b30baa0fb2bf55f99497e2944c95ef)]: - @moonbeam-network/xcm-types@1.0.2 ## 1.0.10 ### Patch Changes -- [#174](https://github.com/PureStake/xcm-sdk/pull/174) [`dec7174`](https://github.com/PureStake/xcm-sdk/commit/dec71741caeb770e555a11daafcfba2144c74533) Thanks [@mmaurello](https://github.com/mmaurello)! - Pendulum integration with Moonbase +- [#174](https://github.com/moonbeam-foundation/xcm-sdk/pull/174) [`dec7174`](https://github.com/moonbeam-foundation/xcm-sdk/commit/dec71741caeb770e555a11daafcfba2144c74533) Thanks [@mmaurello](https://github.com/mmaurello)! - Pendulum integration with Moonbase ## 1.0.9 ### Patch Changes -- [#166](https://github.com/PureStake/xcm-sdk/pull/166) [`e4989bb`](https://github.com/PureStake/xcm-sdk/commit/e4989bb4eb525dc5d9515e2b08cb0820956d7826) Thanks [@mmaurello](https://github.com/mmaurello)! - Change Astar and Shiden pallet and fix Any keyword error +- [#166](https://github.com/moonbeam-foundation/xcm-sdk/pull/166) [`e4989bb`](https://github.com/moonbeam-foundation/xcm-sdk/commit/e4989bb4eb525dc5d9515e2b08cb0820956d7826) Thanks [@mmaurello](https://github.com/mmaurello)! - Change Astar and Shiden pallet and fix Any keyword error -- [#161](https://github.com/PureStake/xcm-sdk/pull/161) [`df29a0b`](https://github.com/PureStake/xcm-sdk/commit/df29a0b5b92fdbaa18e435b7aecef9e6d9c6087e) Thanks [@duxiaofeng-github](https://github.com/duxiaofeng-github)! - Add AccountId32 support +- [#161](https://github.com/moonbeam-foundation/xcm-sdk/pull/161) [`df29a0b`](https://github.com/moonbeam-foundation/xcm-sdk/commit/df29a0b5b92fdbaa18e435b7aecef9e6d9c6087e) Thanks [@duxiaofeng-github](https://github.com/duxiaofeng-github)! - Add AccountId32 support ## 1.0.8 ### Patch Changes -- [#148](https://github.com/PureStake/xcm-sdk/pull/148) [`3f071c4`](https://github.com/PureStake/xcm-sdk/commit/3f071c42555e9694b090b2281eb9d67b695aa750) Thanks [@mmaurello](https://github.com/mmaurello)! - Picasso integration with Moonbase and dependency updates +- [#148](https://github.com/moonbeam-foundation/xcm-sdk/pull/148) [`3f071c4`](https://github.com/moonbeam-foundation/xcm-sdk/commit/3f071c42555e9694b090b2281eb9d67b695aa750) Thanks [@mmaurello](https://github.com/mmaurello)! - Picasso integration with Moonbase and dependency updates -- Updated dependencies [[`3f071c4`](https://github.com/PureStake/xcm-sdk/commit/3f071c42555e9694b090b2281eb9d67b695aa750), [`cd5da97`](https://github.com/PureStake/xcm-sdk/commit/cd5da97e606e94f0ec0d2faa17ac44297c5ee98e)]: +- Updated dependencies [[`3f071c4`](https://github.com/moonbeam-foundation/xcm-sdk/commit/3f071c42555e9694b090b2281eb9d67b695aa750), [`cd5da97`](https://github.com/moonbeam-foundation/xcm-sdk/commit/cd5da97e606e94f0ec0d2faa17ac44297c5ee98e)]: - @moonbeam-network/xcm-utils@1.0.3 ## 1.0.7 ### Patch Changes -- [#144](https://github.com/PureStake/xcm-sdk/pull/144) [`8c16492`](https://github.com/PureStake/xcm-sdk/commit/8c16492f2cceef0e1ebc8a9ba70452e644efd135) Thanks [@mmaurello](https://github.com/mmaurello)! - FIL integration and EQ fix +- [#144](https://github.com/moonbeam-foundation/xcm-sdk/pull/144) [`8c16492`](https://github.com/moonbeam-foundation/xcm-sdk/commit/8c16492f2cceef0e1ebc8a9ba70452e644efd135) Thanks [@mmaurello](https://github.com/mmaurello)! - FIL integration and EQ fix ## 1.0.6 ### Patch Changes -- [#132](https://github.com/PureStake/xcm-sdk/pull/132) [`69833f3`](https://github.com/PureStake/xcm-sdk/commit/69833f3ab36f6c58f16ec167b22fb6985fbe9582) Thanks [@mmaurello](https://github.com/mmaurello)! - OriginTrail integration with Moonabse +- [#132](https://github.com/moonbeam-foundation/xcm-sdk/pull/132) [`69833f3`](https://github.com/moonbeam-foundation/xcm-sdk/commit/69833f3ab36f6c58f16ec167b22fb6985fbe9582) Thanks [@mmaurello](https://github.com/mmaurello)! - OriginTrail integration with Moonabse ## 1.0.5 ### Patch Changes -- [#112](https://github.com/PureStake/xcm-sdk/pull/112) [`697bdbb`](https://github.com/PureStake/xcm-sdk/commit/697bdbbf10e569499f9e10dff0bb3173de01d458) Thanks [@ekenigs](https://github.com/ekenigs)! - ERC20 Alan and DEV tokens from Moonbase Alpha to Beta +- [#112](https://github.com/moonbeam-foundation/xcm-sdk/pull/112) [`697bdbb`](https://github.com/moonbeam-foundation/xcm-sdk/commit/697bdbbf10e569499f9e10dff0bb3173de01d458) Thanks [@ekenigs](https://github.com/ekenigs)! - ERC20 Alan and DEV tokens from Moonbase Alpha to Beta -- Updated dependencies [[`697bdbb`](https://github.com/PureStake/xcm-sdk/commit/697bdbbf10e569499f9e10dff0bb3173de01d458)]: +- Updated dependencies [[`697bdbb`](https://github.com/moonbeam-foundation/xcm-sdk/commit/697bdbbf10e569499f9e10dff0bb3173de01d458)]: - @moonbeam-network/xcm-utils@1.0.2 ## 1.0.4 ### Patch Changes -- [#108](https://github.com/PureStake/xcm-sdk/pull/108) [`dcee04b`](https://github.com/PureStake/xcm-sdk/commit/dcee04be5df5c90027534a37e40e459ae0a14fa2) Thanks [@mmaurello](https://github.com/mmaurello)! - Change Statemint/Statemine names to Asset Hub +- [#108](https://github.com/moonbeam-foundation/xcm-sdk/pull/108) [`dcee04b`](https://github.com/moonbeam-foundation/xcm-sdk/commit/dcee04be5df5c90027534a37e40e459ae0a14fa2) Thanks [@mmaurello](https://github.com/mmaurello)! - Change Statemint/Statemine names to Asset Hub ## 1.0.3 ### Patch Changes -- [#104](https://github.com/PureStake/xcm-sdk/pull/104) [`f1fc312`](https://github.com/PureStake/xcm-sdk/commit/f1fc312d77e8d579e40e48e24f3c139599bf74ca) Thanks [@mmaurello](https://github.com/mmaurello)! - Turing network integration with Moonbase Alpha +- [#104](https://github.com/moonbeam-foundation/xcm-sdk/pull/104) [`f1fc312`](https://github.com/moonbeam-foundation/xcm-sdk/commit/f1fc312d77e8d579e40e48e24f3c139599bf74ca) Thanks [@mmaurello](https://github.com/mmaurello)! - Turing network integration with Moonbase Alpha ## 1.0.2 ### Patch Changes -- [#98](https://github.com/PureStake/xcm-sdk/pull/98) [`1031601`](https://github.com/PureStake/xcm-sdk/commit/1031601e9706fefd8edf00d9b68d224fd55cf357) Thanks [@ekenigs](https://github.com/ekenigs)! - Changed SDK packages deps to 1.x +- [#98](https://github.com/moonbeam-foundation/xcm-sdk/pull/98) [`1031601`](https://github.com/moonbeam-foundation/xcm-sdk/commit/1031601e9706fefd8edf00d9b68d224fd55cf357) Thanks [@ekenigs](https://github.com/ekenigs)! - Changed SDK packages deps to 1.x -- Updated dependencies [[`1031601`](https://github.com/PureStake/xcm-sdk/commit/1031601e9706fefd8edf00d9b68d224fd55cf357)]: +- Updated dependencies [[`1031601`](https://github.com/moonbeam-foundation/xcm-sdk/commit/1031601e9706fefd8edf00d9b68d224fd55cf357)]: - @moonbeam-network/xcm-types@1.0.1 ## 1.0.1 ### Patch Changes -- [#95](https://github.com/PureStake/xcm-sdk/pull/95) [`533aa3a`](https://github.com/PureStake/xcm-sdk/commit/533aa3a551ca70e06d811967450f09086b0375e6) Thanks [@mmaurello](https://github.com/mmaurello)! - Detect Multilocation version for xTokens.TransferMulticurrencies +- [#95](https://github.com/moonbeam-foundation/xcm-sdk/pull/95) [`533aa3a`](https://github.com/moonbeam-foundation/xcm-sdk/commit/533aa3a551ca70e06d811967450f09086b0375e6) Thanks [@mmaurello](https://github.com/mmaurello)! - Detect Multilocation version for xTokens.TransferMulticurrencies ## 1.0.0 ### Major Changes -- [#87](https://github.com/PureStake/xcm-sdk/pull/87) [`3c8835e`](https://github.com/PureStake/xcm-sdk/commit/3c8835e4afbe6fe0fd33a035e9c82d58e1902a45) Thanks [@ekenigs](https://github.com/ekenigs)! - SDK v1 which is not Moonbeam specific and with a new more user-friendly interface and new features +- [#87](https://github.com/moonbeam-foundation/xcm-sdk/pull/87) [`3c8835e`](https://github.com/moonbeam-foundation/xcm-sdk/commit/3c8835e4afbe6fe0fd33a035e9c82d58e1902a45) Thanks [@ekenigs](https://github.com/ekenigs)! - SDK v1 which is not Moonbeam specific and with a new more user-friendly interface and new features ### Patch Changes -- Updated dependencies [[`3c8835e`](https://github.com/PureStake/xcm-sdk/commit/3c8835e4afbe6fe0fd33a035e9c82d58e1902a45)]: +- Updated dependencies [[`3c8835e`](https://github.com/moonbeam-foundation/xcm-sdk/commit/3c8835e4afbe6fe0fd33a035e9c82d58e1902a45)]: - @moonbeam-network/xcm-types@1.0.0 - @moonbeam-network/xcm-utils@1.0.0 diff --git a/packages/builder/package.json b/packages/builder/package.json index ffd35037..09eaa0e9 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -18,17 +18,17 @@ "repository": { "directory": "packages/builder", "type": "git", - "url": "git+https://github.com/PureStake/xcm-sdk.git" + "url": "git+https://github.com/moonbeam-foundation/xcm-sdk.git" }, "keywords": [ "moonbeam", "moonriver", "xcm" ], - "author": "PureStake", + "author": "moonbeam-foundation", "license": "MIT", "bugs": { - "url": "https://github.com/PureStake/xcm-sdk/issues" + "url": "https://github.com/moonbeam-foundation/xcm-sdk/issues" }, "homepage": "https://docs.moonbeam.network/builders/xcm/xcm-sdk/xcm-sdk/", "files": [ diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index 9d9157fe..2b92e42f 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -4,19 +4,19 @@ ### Patch Changes -- [#188](https://github.com/PureStake/xcm-sdk/pull/188) [`1b09924`](https://github.com/PureStake/xcm-sdk/commit/1b0992493f5afac24e7cdbfd907303f7d450860c) Thanks [@mmaurello](https://github.com/mmaurello)! - Remove Litentry alphanet and change Parallel endpoint +- [#188](https://github.com/moonbeam-foundation/xcm-sdk/pull/188) [`1b09924`](https://github.com/moonbeam-foundation/xcm-sdk/commit/1b0992493f5afac24e7cdbfd907303f7d450860c) Thanks [@mmaurello](https://github.com/mmaurello)! - Remove Litentry alphanet and change Parallel endpoint ## 1.3.22 ### Patch Changes -- [#186](https://github.com/PureStake/xcm-sdk/pull/186) [`f72cf9b`](https://github.com/PureStake/xcm-sdk/commit/f72cf9b55e20c24294971a41ff7b3dc82d588126) Thanks [@albertov19](https://github.com/albertov19)! - Updated Calamari Endpoint +- [#186](https://github.com/moonbeam-foundation/xcm-sdk/pull/186) [`f72cf9b`](https://github.com/moonbeam-foundation/xcm-sdk/commit/f72cf9b55e20c24294971a41ff7b3dc82d588126) Thanks [@albertov19](https://github.com/albertov19)! - Updated Calamari Endpoint ## 1.3.21 ### Patch Changes -- Updated dependencies [[`88b6322`](https://github.com/PureStake/xcm-sdk/commit/88b6322327b30baa0fb2bf55f99497e2944c95ef)]: +- Updated dependencies [[`88b6322`](https://github.com/moonbeam-foundation/xcm-sdk/commit/88b6322327b30baa0fb2bf55f99497e2944c95ef)]: - @moonbeam-network/xcm-builder@1.0.11 - @moonbeam-network/xcm-types@1.0.2 @@ -24,235 +24,235 @@ ### Patch Changes -- [#182](https://github.com/PureStake/xcm-sdk/pull/182) [`6beaf73`](https://github.com/PureStake/xcm-sdk/commit/6beaf73e39d339f6221b7346758822f63bbf99e3) Thanks [@mmaurello](https://github.com/mmaurello)! - Remove equilibrium alphanet config +- [#182](https://github.com/moonbeam-foundation/xcm-sdk/pull/182) [`6beaf73`](https://github.com/moonbeam-foundation/xcm-sdk/commit/6beaf73e39d339f6221b7346758822f63bbf99e3) Thanks [@mmaurello](https://github.com/mmaurello)! - Remove equilibrium alphanet config ## 1.3.19 ### Patch Changes -- [#180](https://github.com/PureStake/xcm-sdk/pull/180) [`b4d988f`](https://github.com/PureStake/xcm-sdk/commit/b4d988f5dc9d8c7dfd8067747234609e8701ef52) Thanks [@albertov19](https://github.com/albertov19)! - Updated Parallel WSS Endpoint +- [#180](https://github.com/moonbeam-foundation/xcm-sdk/pull/180) [`b4d988f`](https://github.com/moonbeam-foundation/xcm-sdk/commit/b4d988f5dc9d8c7dfd8067747234609e8701ef52) Thanks [@albertov19](https://github.com/albertov19)! - Updated Parallel WSS Endpoint ## 1.3.18 ### Patch Changes -- [#176](https://github.com/PureStake/xcm-sdk/pull/176) [`c5dbedc`](https://github.com/PureStake/xcm-sdk/commit/c5dbedc1a1476a00d50e58b06a1c45470d766511) Thanks [@mmaurello](https://github.com/mmaurello)! - Pendulum integration with Moonbeam +- [#176](https://github.com/moonbeam-foundation/xcm-sdk/pull/176) [`c5dbedc`](https://github.com/moonbeam-foundation/xcm-sdk/commit/c5dbedc1a1476a00d50e58b06a1c45470d766511) Thanks [@mmaurello](https://github.com/mmaurello)! - Pendulum integration with Moonbeam ## 1.3.17 ### Patch Changes -- [#174](https://github.com/PureStake/xcm-sdk/pull/174) [`dec7174`](https://github.com/PureStake/xcm-sdk/commit/dec71741caeb770e555a11daafcfba2144c74533) Thanks [@mmaurello](https://github.com/mmaurello)! - Pendulum integration with Moonbase +- [#174](https://github.com/moonbeam-foundation/xcm-sdk/pull/174) [`dec7174`](https://github.com/moonbeam-foundation/xcm-sdk/commit/dec71741caeb770e555a11daafcfba2144c74533) Thanks [@mmaurello](https://github.com/mmaurello)! - Pendulum integration with Moonbase -- Updated dependencies [[`dec7174`](https://github.com/PureStake/xcm-sdk/commit/dec71741caeb770e555a11daafcfba2144c74533)]: +- Updated dependencies [[`dec7174`](https://github.com/moonbeam-foundation/xcm-sdk/commit/dec71741caeb770e555a11daafcfba2144c74533)]: - @moonbeam-network/xcm-builder@1.0.10 ## 1.3.16 ### Patch Changes -- [#172](https://github.com/PureStake/xcm-sdk/pull/172) [`701afd5`](https://github.com/PureStake/xcm-sdk/commit/701afd5ecca0b325e50537b0c142477f07947baa) Thanks [@mmaurello](https://github.com/mmaurello)! - Subsocial integration with Moonbeam +- [#172](https://github.com/moonbeam-foundation/xcm-sdk/pull/172) [`701afd5`](https://github.com/moonbeam-foundation/xcm-sdk/commit/701afd5ecca0b325e50537b0c142477f07947baa) Thanks [@mmaurello](https://github.com/mmaurello)! - Subsocial integration with Moonbeam ## 1.3.15 ### Patch Changes -- [#170](https://github.com/PureStake/xcm-sdk/pull/170) [`ac043e2`](https://github.com/PureStake/xcm-sdk/commit/ac043e220535a049db9fc72533127c9b3619b0d3) Thanks [@mmaurello](https://github.com/mmaurello)! - Acala LDOT integration with Moonbeam +- [#170](https://github.com/moonbeam-foundation/xcm-sdk/pull/170) [`ac043e2`](https://github.com/moonbeam-foundation/xcm-sdk/commit/ac043e220535a049db9fc72533127c9b3619b0d3) Thanks [@mmaurello](https://github.com/mmaurello)! - Acala LDOT integration with Moonbeam ## 1.3.14 ### Patch Changes -- [#168](https://github.com/PureStake/xcm-sdk/pull/168) [`c45489f`](https://github.com/PureStake/xcm-sdk/commit/c45489fed7512d1f71c3032ed9e10ae0467a9867) Thanks [@mmaurello](https://github.com/mmaurello)! - Picasso integration with Moonriver +- [#168](https://github.com/moonbeam-foundation/xcm-sdk/pull/168) [`c45489f`](https://github.com/moonbeam-foundation/xcm-sdk/commit/c45489fed7512d1f71c3032ed9e10ae0467a9867) Thanks [@mmaurello](https://github.com/mmaurello)! - Picasso integration with Moonriver ## 1.3.13 ### Patch Changes -- [#166](https://github.com/PureStake/xcm-sdk/pull/166) [`e4989bb`](https://github.com/PureStake/xcm-sdk/commit/e4989bb4eb525dc5d9515e2b08cb0820956d7826) Thanks [@mmaurello](https://github.com/mmaurello)! - Change Astar and Shiden pallet and fix Any keyword error +- [#166](https://github.com/moonbeam-foundation/xcm-sdk/pull/166) [`e4989bb`](https://github.com/moonbeam-foundation/xcm-sdk/commit/e4989bb4eb525dc5d9515e2b08cb0820956d7826) Thanks [@mmaurello](https://github.com/mmaurello)! - Change Astar and Shiden pallet and fix Any keyword error -- Updated dependencies [[`e4989bb`](https://github.com/PureStake/xcm-sdk/commit/e4989bb4eb525dc5d9515e2b08cb0820956d7826), [`df29a0b`](https://github.com/PureStake/xcm-sdk/commit/df29a0b5b92fdbaa18e435b7aecef9e6d9c6087e)]: +- Updated dependencies [[`e4989bb`](https://github.com/moonbeam-foundation/xcm-sdk/commit/e4989bb4eb525dc5d9515e2b08cb0820956d7826), [`df29a0b`](https://github.com/moonbeam-foundation/xcm-sdk/commit/df29a0b5b92fdbaa18e435b7aecef9e6d9c6087e)]: - @moonbeam-network/xcm-builder@1.0.9 ## 1.3.12 ### Patch Changes -- [#160](https://github.com/PureStake/xcm-sdk/pull/160) [`4035acc`](https://github.com/PureStake/xcm-sdk/commit/4035acc82dd22fa571cb1ea5c2822347d1a85b7c) Thanks [@mmaurello](https://github.com/mmaurello)! - USDC asset hub integration and vDOT paying for fees +- [#160](https://github.com/moonbeam-foundation/xcm-sdk/pull/160) [`4035acc`](https://github.com/moonbeam-foundation/xcm-sdk/commit/4035acc82dd22fa571cb1ea5c2822347d1a85b7c) Thanks [@mmaurello](https://github.com/mmaurello)! - USDC asset hub integration and vDOT paying for fees ## 1.3.11 ### Patch Changes -- [#152](https://github.com/PureStake/xcm-sdk/pull/152) [`5a50724`](https://github.com/PureStake/xcm-sdk/commit/5a5072453e65d0012ce9826fb1b3b10062141dca) Thanks [@mmaurello](https://github.com/mmaurello)! - Zeitgeist integration with Moonbeam +- [#152](https://github.com/moonbeam-foundation/xcm-sdk/pull/152) [`5a50724`](https://github.com/moonbeam-foundation/xcm-sdk/commit/5a5072453e65d0012ce9826fb1b3b10062141dca) Thanks [@mmaurello](https://github.com/mmaurello)! - Zeitgeist integration with Moonbeam ## 1.3.10 ### Patch Changes -- [#157](https://github.com/PureStake/xcm-sdk/pull/157) [`7103bb0`](https://github.com/PureStake/xcm-sdk/commit/7103bb0cacf9e448968cd9aafd0e512b82fa348b) Thanks [@mmaurello](https://github.com/mmaurello)! - Revert decimals change in destination fee +- [#157](https://github.com/moonbeam-foundation/xcm-sdk/pull/157) [`7103bb0`](https://github.com/moonbeam-foundation/xcm-sdk/commit/7103bb0cacf9e448968cd9aafd0e512b82fa348b) Thanks [@mmaurello](https://github.com/mmaurello)! - Revert decimals change in destination fee ## 1.3.9 ### Patch Changes -- [#155](https://github.com/PureStake/xcm-sdk/pull/155) [`a6f48df`](https://github.com/PureStake/xcm-sdk/commit/a6f48df94bd662c120676c8d72a697ef59181220) Thanks [@mmaurello](https://github.com/mmaurello)! - USDT Wormhole integration +- [#155](https://github.com/moonbeam-foundation/xcm-sdk/pull/155) [`a6f48df`](https://github.com/moonbeam-foundation/xcm-sdk/commit/a6f48df94bd662c120676c8d72a697ef59181220) Thanks [@mmaurello](https://github.com/mmaurello)! - USDT Wormhole integration ## 1.3.8 ### Patch Changes -- [#153](https://github.com/PureStake/xcm-sdk/pull/153) [`de87e3e`](https://github.com/PureStake/xcm-sdk/commit/de87e3e4b2817080dcb60495cbcc70a8bef47a69) Thanks [@mmaurello](https://github.com/mmaurello)! - Change how we get decimals from assets in destination and change vDOT transfers paying asset +- [#153](https://github.com/moonbeam-foundation/xcm-sdk/pull/153) [`de87e3e`](https://github.com/moonbeam-foundation/xcm-sdk/commit/de87e3e4b2817080dcb60495cbcc70a8bef47a69) Thanks [@mmaurello](https://github.com/mmaurello)! - Change how we get decimals from assets in destination and change vDOT transfers paying asset ## 1.3.7 ### Patch Changes -- [#149](https://github.com/PureStake/xcm-sdk/pull/149) [`6c208b7`](https://github.com/PureStake/xcm-sdk/commit/6c208b71d25b0fc44bca93ab3ef9cc1e253e57df) Thanks [@mmaurello](https://github.com/mmaurello)! - Change OnFinality endpoints +- [#149](https://github.com/moonbeam-foundation/xcm-sdk/pull/149) [`6c208b7`](https://github.com/moonbeam-foundation/xcm-sdk/commit/6c208b71d25b0fc44bca93ab3ef9cc1e253e57df) Thanks [@mmaurello](https://github.com/mmaurello)! - Change OnFinality endpoints ## 1.3.6 ### Patch Changes -- [#148](https://github.com/PureStake/xcm-sdk/pull/148) [`3f071c4`](https://github.com/PureStake/xcm-sdk/commit/3f071c42555e9694b090b2281eb9d67b695aa750) Thanks [@mmaurello](https://github.com/mmaurello)! - Picasso integration with Moonbase and dependency updates +- [#148](https://github.com/moonbeam-foundation/xcm-sdk/pull/148) [`3f071c4`](https://github.com/moonbeam-foundation/xcm-sdk/commit/3f071c42555e9694b090b2281eb9d67b695aa750) Thanks [@mmaurello](https://github.com/mmaurello)! - Picasso integration with Moonbase and dependency updates -- [#147](https://github.com/PureStake/xcm-sdk/pull/147) [`ea6cd77`](https://github.com/PureStake/xcm-sdk/commit/ea6cd777314667029edcedff8fd3b1401a34e84d) Thanks [@mmaurello](https://github.com/mmaurello)! - Support GLMR transfers in interlay +- [#147](https://github.com/moonbeam-foundation/xcm-sdk/pull/147) [`ea6cd77`](https://github.com/moonbeam-foundation/xcm-sdk/commit/ea6cd777314667029edcedff8fd3b1401a34e84d) Thanks [@mmaurello](https://github.com/mmaurello)! - Support GLMR transfers in interlay -- Updated dependencies [[`3f071c4`](https://github.com/PureStake/xcm-sdk/commit/3f071c42555e9694b090b2281eb9d67b695aa750)]: +- Updated dependencies [[`3f071c4`](https://github.com/moonbeam-foundation/xcm-sdk/commit/3f071c42555e9694b090b2281eb9d67b695aa750)]: - @moonbeam-network/xcm-builder@1.0.8 ## 1.3.5 ### Patch Changes -- [#144](https://github.com/PureStake/xcm-sdk/pull/144) [`8c16492`](https://github.com/PureStake/xcm-sdk/commit/8c16492f2cceef0e1ebc8a9ba70452e644efd135) Thanks [@mmaurello](https://github.com/mmaurello)! - FIL integration and EQ fix +- [#144](https://github.com/moonbeam-foundation/xcm-sdk/pull/144) [`8c16492`](https://github.com/moonbeam-foundation/xcm-sdk/commit/8c16492f2cceef0e1ebc8a9ba70452e644efd135) Thanks [@mmaurello](https://github.com/mmaurello)! - FIL integration and EQ fix -- Updated dependencies [[`8c16492`](https://github.com/PureStake/xcm-sdk/commit/8c16492f2cceef0e1ebc8a9ba70452e644efd135)]: +- Updated dependencies [[`8c16492`](https://github.com/moonbeam-foundation/xcm-sdk/commit/8c16492f2cceef0e1ebc8a9ba70452e644efd135)]: - @moonbeam-network/xcm-builder@1.0.7 ## 1.3.4 ### Patch Changes -- [#141](https://github.com/PureStake/xcm-sdk/pull/141) [`de2a0bb`](https://github.com/PureStake/xcm-sdk/commit/de2a0bba3a3af7fb1c67d23d4ead3915b9513f2f) Thanks [@mmaurello](https://github.com/mmaurello)! - change robonomics wss endpoint +- [#141](https://github.com/moonbeam-foundation/xcm-sdk/pull/141) [`de2a0bb`](https://github.com/moonbeam-foundation/xcm-sdk/commit/de2a0bba3a3af7fb1c67d23d4ead3915b9513f2f) Thanks [@mmaurello](https://github.com/mmaurello)! - change robonomics wss endpoint ## 1.3.3 ### Patch Changes -- [#139](https://github.com/PureStake/xcm-sdk/pull/139) [`cbd30b1`](https://github.com/PureStake/xcm-sdk/commit/cbd30b1d4e37ff877e4e27121491ab086a985df0) Thanks [@mmaurello](https://github.com/mmaurello)! - OriginTrail integration with Moonbeam - remove Nodle Eden integration with Moonbase +- [#139](https://github.com/moonbeam-foundation/xcm-sdk/pull/139) [`cbd30b1`](https://github.com/moonbeam-foundation/xcm-sdk/commit/cbd30b1d4e37ff877e4e27121491ab086a985df0) Thanks [@mmaurello](https://github.com/mmaurello)! - OriginTrail integration with Moonbeam - remove Nodle Eden integration with Moonbase ## 1.3.2 ### Patch Changes -- [#137](https://github.com/PureStake/xcm-sdk/pull/137) [`3fd0cb4`](https://github.com/PureStake/xcm-sdk/commit/3fd0cb4cd23c04fcc8bcd3650d8964022193d6b4) Thanks [@mmaurello](https://github.com/mmaurello)! - Integrate Bifrost LSD assets +- [#137](https://github.com/moonbeam-foundation/xcm-sdk/pull/137) [`3fd0cb4`](https://github.com/moonbeam-foundation/xcm-sdk/commit/3fd0cb4cd23c04fcc8bcd3650d8964022193d6b4) Thanks [@mmaurello](https://github.com/mmaurello)! - Integrate Bifrost LSD assets ## 1.3.1 ### Patch Changes -- [#132](https://github.com/PureStake/xcm-sdk/pull/132) [`69833f3`](https://github.com/PureStake/xcm-sdk/commit/69833f3ab36f6c58f16ec167b22fb6985fbe9582) Thanks [@mmaurello](https://github.com/mmaurello)! - OriginTrail integration with Moonabse +- [#132](https://github.com/moonbeam-foundation/xcm-sdk/pull/132) [`69833f3`](https://github.com/moonbeam-foundation/xcm-sdk/commit/69833f3ab36f6c58f16ec167b22fb6985fbe9582) Thanks [@mmaurello](https://github.com/mmaurello)! - OriginTrail integration with Moonabse -- Updated dependencies [[`69833f3`](https://github.com/PureStake/xcm-sdk/commit/69833f3ab36f6c58f16ec167b22fb6985fbe9582)]: +- Updated dependencies [[`69833f3`](https://github.com/moonbeam-foundation/xcm-sdk/commit/69833f3ab36f6c58f16ec167b22fb6985fbe9582)]: - @moonbeam-network/xcm-builder@1.0.6 ## 1.3.0 ### Minor Changes -- [#131](https://github.com/PureStake/xcm-sdk/pull/131) [`63d81d6`](https://github.com/PureStake/xcm-sdk/commit/63d81d64578deb4b415138bfc7809de79a8c80de) Thanks [@mmaurello](https://github.com/mmaurello)! - Allow viem Wallet Client as signer +- [#131](https://github.com/moonbeam-foundation/xcm-sdk/pull/131) [`63d81d6`](https://github.com/moonbeam-foundation/xcm-sdk/commit/63d81d64578deb4b415138bfc7809de79a8c80de) Thanks [@mmaurello](https://github.com/mmaurello)! - Allow viem Wallet Client as signer ## 1.2.0 ### Minor Changes -- [#124](https://github.com/PureStake/xcm-sdk/pull/124) [`bda7709`](https://github.com/PureStake/xcm-sdk/commit/bda77096dca9ac1f29a852d938acd9962d45ee80) Thanks [@nohaapav](https://github.com/nohaapav)! - Introduce config service to support mutability of static xcm config +- [#124](https://github.com/moonbeam-foundation/xcm-sdk/pull/124) [`bda7709`](https://github.com/moonbeam-foundation/xcm-sdk/commit/bda77096dca9ac1f29a852d938acd9962d45ee80) Thanks [@nohaapav](https://github.com/nohaapav)! - Introduce config service to support mutability of static xcm config ## 1.1.0 ### Minor Changes -- [#127](https://github.com/PureStake/xcm-sdk/pull/127) [`876c5eb`](https://github.com/PureStake/xcm-sdk/commit/876c5eb937b1b0f44943a0fee8c0accb19f3747d) Thanks [@mmaurello](https://github.com/mmaurello)! - Return destination fee balance object for controlling enough balance +- [#127](https://github.com/moonbeam-foundation/xcm-sdk/pull/127) [`876c5eb`](https://github.com/moonbeam-foundation/xcm-sdk/commit/876c5eb937b1b0f44943a0fee8c0accb19f3747d) Thanks [@mmaurello](https://github.com/mmaurello)! - Return destination fee balance object for controlling enough balance ## 1.0.12 ### Patch Changes -- [#125](https://github.com/PureStake/xcm-sdk/pull/125) [`9d7146e`](https://github.com/PureStake/xcm-sdk/commit/9d7146e674688640476e33dac70210589446e727) Thanks [@jak-pan](https://github.com/jak-pan)! - Update HydraDX rpc endpoint in chains.ts +- [#125](https://github.com/moonbeam-foundation/xcm-sdk/pull/125) [`9d7146e`](https://github.com/moonbeam-foundation/xcm-sdk/commit/9d7146e674688640476e33dac70210589446e727) Thanks [@jak-pan](https://github.com/jak-pan)! - Update HydraDX rpc endpoint in chains.ts ## 1.0.11 ### Patch Changes -- [#120](https://github.com/PureStake/xcm-sdk/pull/120) [`220878d`](https://github.com/PureStake/xcm-sdk/commit/220878d74d492f41c998372b7ed9a43d99e1f4da) Thanks [@ekenigs](https://github.com/ekenigs)! - Added DAI for HydraDX - Moonbeam +- [#120](https://github.com/moonbeam-foundation/xcm-sdk/pull/120) [`220878d`](https://github.com/moonbeam-foundation/xcm-sdk/commit/220878d74d492f41c998372b7ed9a43d99e1f4da) Thanks [@ekenigs](https://github.com/ekenigs)! - Added DAI for HydraDX - Moonbeam ## 1.0.10 ### Patch Changes -- [#118](https://github.com/PureStake/xcm-sdk/pull/118) [`911d03d`](https://github.com/PureStake/xcm-sdk/commit/911d03dd3e1e5e3e7abe5ea43f4d0cd7f5a73e83) Thanks [@mmaurello](https://github.com/mmaurello)! - Integrate Wormhole ERC20 tokens +- [#118](https://github.com/moonbeam-foundation/xcm-sdk/pull/118) [`911d03d`](https://github.com/moonbeam-foundation/xcm-sdk/commit/911d03dd3e1e5e3e7abe5ea43f4d0cd7f5a73e83) Thanks [@mmaurello](https://github.com/mmaurello)! - Integrate Wormhole ERC20 tokens ## 1.0.9 ### Patch Changes -- [#116](https://github.com/PureStake/xcm-sdk/pull/116) [`8105b09`](https://github.com/PureStake/xcm-sdk/commit/8105b094737d75f11bf9baa9083d0986d78242c1) Thanks [@mmaurello](https://github.com/mmaurello)! - Nodle integration with moonbeam - change aUSD name +- [#116](https://github.com/moonbeam-foundation/xcm-sdk/pull/116) [`8105b09`](https://github.com/moonbeam-foundation/xcm-sdk/commit/8105b094737d75f11bf9baa9083d0986d78242c1) Thanks [@mmaurello](https://github.com/mmaurello)! - Nodle integration with moonbeam - change aUSD name ## 1.0.8 ### Patch Changes -- [#112](https://github.com/PureStake/xcm-sdk/pull/112) [`697bdbb`](https://github.com/PureStake/xcm-sdk/commit/697bdbbf10e569499f9e10dff0bb3173de01d458) Thanks [@ekenigs](https://github.com/ekenigs)! - ERC20 Alan and DEV tokens from Moonbase Alpha to Beta +- [#112](https://github.com/moonbeam-foundation/xcm-sdk/pull/112) [`697bdbb`](https://github.com/moonbeam-foundation/xcm-sdk/commit/697bdbbf10e569499f9e10dff0bb3173de01d458) Thanks [@ekenigs](https://github.com/ekenigs)! - ERC20 Alan and DEV tokens from Moonbase Alpha to Beta -- Updated dependencies [[`697bdbb`](https://github.com/PureStake/xcm-sdk/commit/697bdbbf10e569499f9e10dff0bb3173de01d458)]: +- Updated dependencies [[`697bdbb`](https://github.com/moonbeam-foundation/xcm-sdk/commit/697bdbbf10e569499f9e10dff0bb3173de01d458)]: - @moonbeam-network/xcm-builder@1.0.5 ## 1.0.7 ### Patch Changes -- [#110](https://github.com/PureStake/xcm-sdk/pull/110) [`307f272`](https://github.com/PureStake/xcm-sdk/commit/307f272bbda95add5f986157795cd9b52c347e32) Thanks [@mmaurello](https://github.com/mmaurello)! - Turing integration with Moonriver +- [#110](https://github.com/moonbeam-foundation/xcm-sdk/pull/110) [`307f272`](https://github.com/moonbeam-foundation/xcm-sdk/commit/307f272bbda95add5f986157795cd9b52c347e32) Thanks [@mmaurello](https://github.com/mmaurello)! - Turing integration with Moonriver ## 1.0.6 ### Patch Changes -- [#108](https://github.com/PureStake/xcm-sdk/pull/108) [`dcee04b`](https://github.com/PureStake/xcm-sdk/commit/dcee04be5df5c90027534a37e40e459ae0a14fa2) Thanks [@mmaurello](https://github.com/mmaurello)! - Change Statemint/Statemine names to Asset Hub +- [#108](https://github.com/moonbeam-foundation/xcm-sdk/pull/108) [`dcee04b`](https://github.com/moonbeam-foundation/xcm-sdk/commit/dcee04be5df5c90027534a37e40e459ae0a14fa2) Thanks [@mmaurello](https://github.com/mmaurello)! - Change Statemint/Statemine names to Asset Hub -- Updated dependencies [[`dcee04b`](https://github.com/PureStake/xcm-sdk/commit/dcee04be5df5c90027534a37e40e459ae0a14fa2)]: +- Updated dependencies [[`dcee04b`](https://github.com/moonbeam-foundation/xcm-sdk/commit/dcee04be5df5c90027534a37e40e459ae0a14fa2)]: - @moonbeam-network/xcm-builder@1.0.4 ## 1.0.5 ### Patch Changes -- [#106](https://github.com/PureStake/xcm-sdk/pull/106) [`2c0251d`](https://github.com/PureStake/xcm-sdk/commit/2c0251d8c24c7025099299e150a1fccebde53d1e) Thanks [@mmaurello](https://github.com/mmaurello)! - Centrifuge integration with Moonebeam +- [#106](https://github.com/moonbeam-foundation/xcm-sdk/pull/106) [`2c0251d`](https://github.com/moonbeam-foundation/xcm-sdk/commit/2c0251d8c24c7025099299e150a1fccebde53d1e) Thanks [@mmaurello](https://github.com/mmaurello)! - Centrifuge integration with Moonebeam ## 1.0.4 ### Patch Changes -- [#104](https://github.com/PureStake/xcm-sdk/pull/104) [`f1fc312`](https://github.com/PureStake/xcm-sdk/commit/f1fc312d77e8d579e40e48e24f3c139599bf74ca) Thanks [@mmaurello](https://github.com/mmaurello)! - Turing network integration with Moonbase Alpha +- [#104](https://github.com/moonbeam-foundation/xcm-sdk/pull/104) [`f1fc312`](https://github.com/moonbeam-foundation/xcm-sdk/commit/f1fc312d77e8d579e40e48e24f3c139599bf74ca) Thanks [@mmaurello](https://github.com/mmaurello)! - Turing network integration with Moonbase Alpha -- Updated dependencies [[`f1fc312`](https://github.com/PureStake/xcm-sdk/commit/f1fc312d77e8d579e40e48e24f3c139599bf74ca)]: +- Updated dependencies [[`f1fc312`](https://github.com/moonbeam-foundation/xcm-sdk/commit/f1fc312d77e8d579e40e48e24f3c139599bf74ca)]: - @moonbeam-network/xcm-builder@1.0.3 ## 1.0.3 ### Patch Changes -- [#101](https://github.com/PureStake/xcm-sdk/pull/101) [`934f976`](https://github.com/PureStake/xcm-sdk/commit/934f976f53a32e3ee10aa011cd3622d70bc3afb3) Thanks [@mmaurello](https://github.com/mmaurello)! - Nodle Eden Integration with Moonbase Alpha +- [#101](https://github.com/moonbeam-foundation/xcm-sdk/pull/101) [`934f976`](https://github.com/moonbeam-foundation/xcm-sdk/commit/934f976f53a32e3ee10aa011cd3622d70bc3afb3) Thanks [@mmaurello](https://github.com/mmaurello)! - Nodle Eden Integration with Moonbase Alpha ## 1.0.2 ### Patch Changes -- [#98](https://github.com/PureStake/xcm-sdk/pull/98) [`1031601`](https://github.com/PureStake/xcm-sdk/commit/1031601e9706fefd8edf00d9b68d224fd55cf357) Thanks [@ekenigs](https://github.com/ekenigs)! - Changed SDK packages deps to 1.x +- [#98](https://github.com/moonbeam-foundation/xcm-sdk/pull/98) [`1031601`](https://github.com/moonbeam-foundation/xcm-sdk/commit/1031601e9706fefd8edf00d9b68d224fd55cf357) Thanks [@ekenigs](https://github.com/ekenigs)! - Changed SDK packages deps to 1.x -- [#100](https://github.com/PureStake/xcm-sdk/pull/100) [`bb54d40`](https://github.com/PureStake/xcm-sdk/commit/bb54d40ba72a9ffd0394cd7b8731fa0b3dbf14f7) Thanks [@mmaurello](https://github.com/mmaurello)! - Subsocial - Moonbase-Alpha integration +- [#100](https://github.com/moonbeam-foundation/xcm-sdk/pull/100) [`bb54d40`](https://github.com/moonbeam-foundation/xcm-sdk/commit/bb54d40ba72a9ffd0394cd7b8731fa0b3dbf14f7) Thanks [@mmaurello](https://github.com/mmaurello)! - Subsocial - Moonbase-Alpha integration -- Updated dependencies [[`1031601`](https://github.com/PureStake/xcm-sdk/commit/1031601e9706fefd8edf00d9b68d224fd55cf357)]: +- Updated dependencies [[`1031601`](https://github.com/moonbeam-foundation/xcm-sdk/commit/1031601e9706fefd8edf00d9b68d224fd55cf357)]: - @moonbeam-network/xcm-builder@1.0.2 - @moonbeam-network/xcm-types@1.0.1 @@ -260,17 +260,17 @@ ### Patch Changes -- [`069b738`](https://github.com/PureStake/xcm-sdk/commit/069b73810c6e1e271edc489ed40bae06d9d62a37) Thanks [@mmaurello](https://github.com/mmaurello)! - Mangata - Moonriver integration +- [`069b738`](https://github.com/moonbeam-foundation/xcm-sdk/commit/069b73810c6e1e271edc489ed40bae06d9d62a37) Thanks [@mmaurello](https://github.com/mmaurello)! - Mangata - Moonriver integration ## 1.0.0 ### Major Changes -- [#87](https://github.com/PureStake/xcm-sdk/pull/87) [`3c8835e`](https://github.com/PureStake/xcm-sdk/commit/3c8835e4afbe6fe0fd33a035e9c82d58e1902a45) Thanks [@ekenigs](https://github.com/ekenigs)! - SDK v1 which is not Moonbeam specific and with a new more user-friendly interface and new features +- [#87](https://github.com/moonbeam-foundation/xcm-sdk/pull/87) [`3c8835e`](https://github.com/moonbeam-foundation/xcm-sdk/commit/3c8835e4afbe6fe0fd33a035e9c82d58e1902a45) Thanks [@ekenigs](https://github.com/ekenigs)! - SDK v1 which is not Moonbeam specific and with a new more user-friendly interface and new features ### Patch Changes -- Updated dependencies [[`3c8835e`](https://github.com/PureStake/xcm-sdk/commit/3c8835e4afbe6fe0fd33a035e9c82d58e1902a45)]: +- Updated dependencies [[`3c8835e`](https://github.com/moonbeam-foundation/xcm-sdk/commit/3c8835e4afbe6fe0fd33a035e9c82d58e1902a45)]: - @moonbeam-network/xcm-builder@1.0.0 - @moonbeam-network/xcm-types@1.0.0 @@ -278,24 +278,24 @@ ### Minor Changes -- [#84](https://github.com/PureStake/xcm-sdk/pull/84) [`731df96`](https://github.com/PureStake/xcm-sdk/commit/731df96b3bed1331e19dfd60025e2d76cbbdd13a) Thanks [@mmaurello](https://github.com/mmaurello)! - HydraDX integration with Moonbeam [HDX token] +- [#84](https://github.com/moonbeam-foundation/xcm-sdk/pull/84) [`731df96`](https://github.com/moonbeam-foundation/xcm-sdk/commit/731df96b3bed1331e19dfd60025e2d76cbbdd13a) Thanks [@mmaurello](https://github.com/mmaurello)! - HydraDX integration with Moonbeam [HDX token] ## 0.4.4 ### Patch Changes -- [#79](https://github.com/PureStake/xcm-sdk/pull/79) [`13708fc`](https://github.com/PureStake/xcm-sdk/commit/13708fc658d0d159a0831edec1da90ff5e89dfb2) Thanks [@ekenigs](https://github.com/ekenigs)! - Fixed xTokens XCM V3 for Bifrost +- [#79](https://github.com/moonbeam-foundation/xcm-sdk/pull/79) [`13708fc`](https://github.com/moonbeam-foundation/xcm-sdk/commit/13708fc658d0d159a0831edec1da90ff5e89dfb2) Thanks [@ekenigs](https://github.com/ekenigs)! - Fixed xTokens XCM V3 for Bifrost ## 0.4.3 ### Patch Changes -- [#77](https://github.com/PureStake/xcm-sdk/pull/77) [`9aa203e`](https://github.com/PureStake/xcm-sdk/commit/9aa203e1fd8866c066cd538dea15c05ca4ebc91c) Thanks [@ekenigs](https://github.com/ekenigs)! - Added EQ, EQD to Moonbeam and GLMR to Equilibrium +- [#77](https://github.com/moonbeam-foundation/xcm-sdk/pull/77) [`9aa203e`](https://github.com/moonbeam-foundation/xcm-sdk/commit/9aa203e1fd8866c066cd538dea15c05ca4ebc91c) Thanks [@ekenigs](https://github.com/ekenigs)! - Added EQ, EQD to Moonbeam and GLMR to Equilibrium ## 0.4.2 ### Patch Changes -- [#74](https://github.com/PureStake/xcm-sdk/pull/74) [`7159d68`](https://github.com/PureStake/xcm-sdk/commit/7159d68cd9a2a8c0c2e2e0f8a8405e6a1a9a8607) Thanks [@ekenigs](https://github.com/ekenigs)! - A new extrinsic fro Equilibrium +- [#74](https://github.com/moonbeam-foundation/xcm-sdk/pull/74) [`7159d68`](https://github.com/moonbeam-foundation/xcm-sdk/commit/7159d68cd9a2a8c0c2e2e0f8a8405e6a1a9a8607) Thanks [@ekenigs](https://github.com/ekenigs)! - A new extrinsic fro Equilibrium -- [#73](https://github.com/PureStake/xcm-sdk/pull/73) [`a3f3d86`](https://github.com/PureStake/xcm-sdk/commit/a3f3d86290475e6353fa74c06c2b7e6c9ba65eb4) Thanks [@ekenigs](https://github.com/ekenigs)! - Khala and Phala v3 fix +- [#73](https://github.com/moonbeam-foundation/xcm-sdk/pull/73) [`a3f3d86`](https://github.com/moonbeam-foundation/xcm-sdk/commit/a3f3d86290475e6353fa74c06c2b7e6c9ba65eb4) Thanks [@ekenigs](https://github.com/ekenigs)! - Khala and Phala v3 fix diff --git a/packages/config/package.json b/packages/config/package.json index a914d19d..ab633c89 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -18,17 +18,17 @@ "repository": { "directory": "packages/config", "type": "git", - "url": "git+https://github.com/PureStake/xcm-sdk.git" + "url": "git+https://github.com/moonbeam-foundation/xcm-sdk.git" }, "keywords": [ "moonbeam", "moonriver", "xcm" ], - "author": "PureStake", + "author": "moonbeam-foundation", "license": "MIT", "bugs": { - "url": "https://github.com/PureStake/xcm-sdk/issues" + "url": "https://github.com/moonbeam-foundation/xcm-sdk/issues" }, "homepage": "https://docs.moonbeam.network/builders/xcm/xcm-sdk/xcm-sdk/", "files": [ diff --git a/packages/config/src/assets.ts b/packages/config/src/assets.ts index c23b67bc..d71c6471 100644 --- a/packages/config/src/assets.ts +++ b/packages/config/src/assets.ts @@ -150,6 +150,11 @@ export const lit = new Asset({ originSymbol: 'LIT', }); +export const manta = new Asset({ + key: 'manta', + originSymbol: 'MANTA', +}); + export const mgx = new Asset({ key: 'mgx', originSymbol: 'MGX', @@ -345,6 +350,7 @@ export const assetsList: Asset[] = [ ksm, ldot, lit, + manta, mgx, movr, nodl, diff --git a/packages/config/src/chains.ts b/packages/config/src/chains.ts index 82d9826e..40b8e6a2 100644 --- a/packages/config/src/chains.ts +++ b/packages/config/src/chains.ts @@ -35,6 +35,7 @@ import { ksm, ldot, lit, + manta, mgx, movr, nodl, @@ -638,6 +639,27 @@ export const mangataKusama = new Parachain({ ws: 'wss://kusama-archive.mangata.online', }); +export const mantaParachain = new Parachain({ + assetsData: [ + { + asset: manta, + id: { MantaCurrency: 1 }, + }, + { + asset: glmr, + id: { MantaCurrency: 10 }, + }, + ], + ecosystem: Ecosystem.Polkadot, + genesisHash: + '0xf3c7ad88f6a80f366c4be216691411ef0622e8b809b1046ea297ef106058d4eb', + key: 'manta', + name: 'Manta', + parachainId: 2104, + ss58Format: 77, + ws: 'wss://ws.manta.systems', +}); + export const moonbaseAlpha = new EvmParachain({ assetsData: [ { @@ -800,6 +822,10 @@ export const moonbeam = new EvmParachain({ asset: ldot, id: '225719522181998468294117309041779353812', }, + { + asset: manta, + id: '166446646689194205559791995948102903873', + }, { asset: nodl, id: '309163521958167876851250718453738106865', @@ -1406,6 +1432,7 @@ export const chainsList: AnyChain[] = [ kusama, litmus, mangataKusama, + mantaParachain, moonbaseAlpha, moonbaseBeta, moonbeam, diff --git a/packages/config/src/configs/index.ts b/packages/config/src/configs/index.ts index 5d250cab..0ece8b1b 100644 --- a/packages/config/src/configs/index.ts +++ b/packages/config/src/configs/index.ts @@ -23,6 +23,7 @@ import { kusamaConfig } from './kusama'; import { kusamaAssetHubConfig } from './kusamaAssetHub'; import { litmusConfig } from './litmus'; import { mangataKusamaConfig } from './mangataKusama'; +import { mantaParachainConfig } from './mantaParachain'; import { moonbaseAlphaConfig } from './moonbaseAlpha'; import { moonbaseBetaConfig } from './moonbaseBeta'; import { moonbeamConfig } from './moonbeam'; @@ -69,6 +70,7 @@ export const chainsConfigList: ChainConfig[] = [ kusamaConfig, litmusConfig, mangataKusamaConfig, + mantaParachainConfig, moonbaseAlphaConfig, moonbaseBetaConfig, moonbeamConfig, diff --git a/packages/config/src/configs/mantaParachain.ts b/packages/config/src/configs/mantaParachain.ts new file mode 100644 index 00000000..7d84709a --- /dev/null +++ b/packages/config/src/configs/mantaParachain.ts @@ -0,0 +1,43 @@ +import { + AssetMinBuilder, + BalanceBuilder, + ExtrinsicBuilder, + FeeBuilder, +} from '@moonbeam-network/xcm-builder'; +import { glmr, manta } from '../assets'; +import { mantaParachain, moonbeam } from '../chains'; +import { AssetConfig } from '../types/AssetConfig'; +import { ChainConfig } from '../types/ChainConfig'; + +export const mantaParachainConfig = new ChainConfig({ + assets: [ + new AssetConfig({ + asset: manta, + balance: BalanceBuilder().substrate().system().account(), + destination: moonbeam, + destinationFee: { + amount: FeeBuilder().assetManager().assetTypeUnitsPerSecond(), + asset: manta, + balance: BalanceBuilder().substrate().system().account(), + }, + extrinsic: ExtrinsicBuilder().xTokens().transfer(), + }), + new AssetConfig({ + asset: glmr, + balance: BalanceBuilder().substrate().assets().account(), + destination: moonbeam, + destinationFee: { + amount: 0.01, + asset: glmr, + balance: BalanceBuilder().substrate().assets().account(), + }, + extrinsic: ExtrinsicBuilder().xTokens().transfer(), + fee: { + asset: manta, + balance: BalanceBuilder().substrate().system().account(), + }, + min: AssetMinBuilder().assets().asset(), + }), + ], + chain: mantaParachain, +}); diff --git a/packages/config/src/configs/moonbeam.ts b/packages/config/src/configs/moonbeam.ts index 3d9c281e..802a6937 100644 --- a/packages/config/src/configs/moonbeam.ts +++ b/packages/config/src/configs/moonbeam.ts @@ -15,6 +15,7 @@ import { ibtc, intr, ldot, + manta, nodl, otp, para, @@ -42,6 +43,7 @@ import { equilibrium, hydraDX, interlay, + mantaParachain, moonbeam, nodle, originTrail, @@ -124,6 +126,17 @@ export const moonbeamConfig = new ChainConfig({ balance: BalanceBuilder().substrate().system().account(), }, }), + new AssetConfig({ + asset: glmr, + balance: BalanceBuilder().substrate().system().account(), + contract: ContractBuilder().Xtokens().transfer(), + destination: mantaParachain, + destinationFee: { + amount: 0.1, + asset: glmr, + balance: BalanceBuilder().substrate().system().account(), + }, + }), new AssetConfig({ asset: glmr, balance: BalanceBuilder().substrate().system().account(), @@ -322,6 +335,21 @@ export const moonbeamConfig = new ChainConfig({ balance: BalanceBuilder().substrate().system().account(), }, }), + new AssetConfig({ + asset: manta, + balance: BalanceBuilder().substrate().assets().account(), + contract: ContractBuilder().Xtokens().transfer(), + destination: mantaParachain, + destinationFee: { + amount: 0.000001, + asset: manta, + balance: BalanceBuilder().substrate().assets().account(), + }, + fee: { + asset: glmr, + balance: BalanceBuilder().substrate().system().account(), + }, + }), new AssetConfig({ asset: nodl, balance: BalanceBuilder().substrate().assets().account(), diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index 68728ac5..63135c1e 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -4,21 +4,21 @@ ### Patch Changes -- Updated dependencies [[`1b09924`](https://github.com/PureStake/xcm-sdk/commit/1b0992493f5afac24e7cdbfd907303f7d450860c)]: +- Updated dependencies [[`1b09924`](https://github.com/moonbeam-foundation/xcm-sdk/commit/1b0992493f5afac24e7cdbfd907303f7d450860c)]: - @moonbeam-network/xcm-config@1.3.23 ## 1.4.18 ### Patch Changes -- Updated dependencies [[`f72cf9b`](https://github.com/PureStake/xcm-sdk/commit/f72cf9b55e20c24294971a41ff7b3dc82d588126)]: +- Updated dependencies [[`f72cf9b`](https://github.com/moonbeam-foundation/xcm-sdk/commit/f72cf9b55e20c24294971a41ff7b3dc82d588126)]: - @moonbeam-network/xcm-config@1.3.22 ## 1.4.17 ### Patch Changes -- Updated dependencies [[`88b6322`](https://github.com/PureStake/xcm-sdk/commit/88b6322327b30baa0fb2bf55f99497e2944c95ef)]: +- Updated dependencies [[`88b6322`](https://github.com/moonbeam-foundation/xcm-sdk/commit/88b6322327b30baa0fb2bf55f99497e2944c95ef)]: - @moonbeam-network/xcm-builder@1.0.11 - @moonbeam-network/xcm-types@1.0.2 - @moonbeam-network/xcm-config@1.3.21 @@ -27,34 +27,34 @@ ### Patch Changes -- [#182](https://github.com/PureStake/xcm-sdk/pull/182) [`6beaf73`](https://github.com/PureStake/xcm-sdk/commit/6beaf73e39d339f6221b7346758822f63bbf99e3) Thanks [@mmaurello](https://github.com/mmaurello)! - Remove equilibrium alphanet config +- [#182](https://github.com/moonbeam-foundation/xcm-sdk/pull/182) [`6beaf73`](https://github.com/moonbeam-foundation/xcm-sdk/commit/6beaf73e39d339f6221b7346758822f63bbf99e3) Thanks [@mmaurello](https://github.com/mmaurello)! - Remove equilibrium alphanet config -- Updated dependencies [[`6beaf73`](https://github.com/PureStake/xcm-sdk/commit/6beaf73e39d339f6221b7346758822f63bbf99e3)]: +- Updated dependencies [[`6beaf73`](https://github.com/moonbeam-foundation/xcm-sdk/commit/6beaf73e39d339f6221b7346758822f63bbf99e3)]: - @moonbeam-network/xcm-config@1.3.20 ## 1.4.15 ### Patch Changes -- Updated dependencies [[`b4d988f`](https://github.com/PureStake/xcm-sdk/commit/b4d988f5dc9d8c7dfd8067747234609e8701ef52)]: +- Updated dependencies [[`b4d988f`](https://github.com/moonbeam-foundation/xcm-sdk/commit/b4d988f5dc9d8c7dfd8067747234609e8701ef52)]: - @moonbeam-network/xcm-config@1.3.19 ## 1.4.14 ### Patch Changes -- [#176](https://github.com/PureStake/xcm-sdk/pull/176) [`c5dbedc`](https://github.com/PureStake/xcm-sdk/commit/c5dbedc1a1476a00d50e58b06a1c45470d766511) Thanks [@mmaurello](https://github.com/mmaurello)! - Pendulum integration with Moonbeam +- [#176](https://github.com/moonbeam-foundation/xcm-sdk/pull/176) [`c5dbedc`](https://github.com/moonbeam-foundation/xcm-sdk/commit/c5dbedc1a1476a00d50e58b06a1c45470d766511) Thanks [@mmaurello](https://github.com/mmaurello)! - Pendulum integration with Moonbeam -- Updated dependencies [[`c5dbedc`](https://github.com/PureStake/xcm-sdk/commit/c5dbedc1a1476a00d50e58b06a1c45470d766511)]: +- Updated dependencies [[`c5dbedc`](https://github.com/moonbeam-foundation/xcm-sdk/commit/c5dbedc1a1476a00d50e58b06a1c45470d766511)]: - @moonbeam-network/xcm-config@1.3.18 ## 1.4.13 ### Patch Changes -- [#174](https://github.com/PureStake/xcm-sdk/pull/174) [`dec7174`](https://github.com/PureStake/xcm-sdk/commit/dec71741caeb770e555a11daafcfba2144c74533) Thanks [@mmaurello](https://github.com/mmaurello)! - Pendulum integration with Moonbase +- [#174](https://github.com/moonbeam-foundation/xcm-sdk/pull/174) [`dec7174`](https://github.com/moonbeam-foundation/xcm-sdk/commit/dec71741caeb770e555a11daafcfba2144c74533) Thanks [@mmaurello](https://github.com/mmaurello)! - Pendulum integration with Moonbase -- Updated dependencies [[`dec7174`](https://github.com/PureStake/xcm-sdk/commit/dec71741caeb770e555a11daafcfba2144c74533)]: +- Updated dependencies [[`dec7174`](https://github.com/moonbeam-foundation/xcm-sdk/commit/dec71741caeb770e555a11daafcfba2144c74533)]: - @moonbeam-network/xcm-builder@1.0.10 - @moonbeam-network/xcm-config@1.3.17 @@ -62,36 +62,36 @@ ### Patch Changes -- [#172](https://github.com/PureStake/xcm-sdk/pull/172) [`701afd5`](https://github.com/PureStake/xcm-sdk/commit/701afd5ecca0b325e50537b0c142477f07947baa) Thanks [@mmaurello](https://github.com/mmaurello)! - Subsocial integration with Moonbeam +- [#172](https://github.com/moonbeam-foundation/xcm-sdk/pull/172) [`701afd5`](https://github.com/moonbeam-foundation/xcm-sdk/commit/701afd5ecca0b325e50537b0c142477f07947baa) Thanks [@mmaurello](https://github.com/mmaurello)! - Subsocial integration with Moonbeam -- Updated dependencies [[`701afd5`](https://github.com/PureStake/xcm-sdk/commit/701afd5ecca0b325e50537b0c142477f07947baa)]: +- Updated dependencies [[`701afd5`](https://github.com/moonbeam-foundation/xcm-sdk/commit/701afd5ecca0b325e50537b0c142477f07947baa)]: - @moonbeam-network/xcm-config@1.3.16 ## 1.4.11 ### Patch Changes -- [#170](https://github.com/PureStake/xcm-sdk/pull/170) [`ac043e2`](https://github.com/PureStake/xcm-sdk/commit/ac043e220535a049db9fc72533127c9b3619b0d3) Thanks [@mmaurello](https://github.com/mmaurello)! - Acala LDOT integration with Moonbeam +- [#170](https://github.com/moonbeam-foundation/xcm-sdk/pull/170) [`ac043e2`](https://github.com/moonbeam-foundation/xcm-sdk/commit/ac043e220535a049db9fc72533127c9b3619b0d3) Thanks [@mmaurello](https://github.com/mmaurello)! - Acala LDOT integration with Moonbeam -- Updated dependencies [[`ac043e2`](https://github.com/PureStake/xcm-sdk/commit/ac043e220535a049db9fc72533127c9b3619b0d3)]: +- Updated dependencies [[`ac043e2`](https://github.com/moonbeam-foundation/xcm-sdk/commit/ac043e220535a049db9fc72533127c9b3619b0d3)]: - @moonbeam-network/xcm-config@1.3.15 ## 1.4.10 ### Patch Changes -- [#168](https://github.com/PureStake/xcm-sdk/pull/168) [`c45489f`](https://github.com/PureStake/xcm-sdk/commit/c45489fed7512d1f71c3032ed9e10ae0467a9867) Thanks [@mmaurello](https://github.com/mmaurello)! - Picasso integration with Moonriver +- [#168](https://github.com/moonbeam-foundation/xcm-sdk/pull/168) [`c45489f`](https://github.com/moonbeam-foundation/xcm-sdk/commit/c45489fed7512d1f71c3032ed9e10ae0467a9867) Thanks [@mmaurello](https://github.com/mmaurello)! - Picasso integration with Moonriver -- Updated dependencies [[`c45489f`](https://github.com/PureStake/xcm-sdk/commit/c45489fed7512d1f71c3032ed9e10ae0467a9867)]: +- Updated dependencies [[`c45489f`](https://github.com/moonbeam-foundation/xcm-sdk/commit/c45489fed7512d1f71c3032ed9e10ae0467a9867)]: - @moonbeam-network/xcm-config@1.3.14 ## 1.4.9 ### Patch Changes -- [#166](https://github.com/PureStake/xcm-sdk/pull/166) [`e4989bb`](https://github.com/PureStake/xcm-sdk/commit/e4989bb4eb525dc5d9515e2b08cb0820956d7826) Thanks [@mmaurello](https://github.com/mmaurello)! - Change Astar and Shiden pallet and fix Any keyword error +- [#166](https://github.com/moonbeam-foundation/xcm-sdk/pull/166) [`e4989bb`](https://github.com/moonbeam-foundation/xcm-sdk/commit/e4989bb4eb525dc5d9515e2b08cb0820956d7826) Thanks [@mmaurello](https://github.com/mmaurello)! - Change Astar and Shiden pallet and fix Any keyword error -- Updated dependencies [[`e4989bb`](https://github.com/PureStake/xcm-sdk/commit/e4989bb4eb525dc5d9515e2b08cb0820956d7826), [`df29a0b`](https://github.com/PureStake/xcm-sdk/commit/df29a0b5b92fdbaa18e435b7aecef9e6d9c6087e)]: +- Updated dependencies [[`e4989bb`](https://github.com/moonbeam-foundation/xcm-sdk/commit/e4989bb4eb525dc5d9515e2b08cb0820956d7826), [`df29a0b`](https://github.com/moonbeam-foundation/xcm-sdk/commit/df29a0b5b92fdbaa18e435b7aecef9e6d9c6087e)]: - @moonbeam-network/xcm-builder@1.0.9 - @moonbeam-network/xcm-config@1.3.13 @@ -99,69 +99,69 @@ ### Patch Changes -- [#163](https://github.com/PureStake/xcm-sdk/pull/163) [`790cb28`](https://github.com/PureStake/xcm-sdk/commit/790cb286983e47d947d4911e667d9eb6fdd57f84) Thanks [@Rihyx](https://github.com/Rihyx)! - Update keywords +- [#163](https://github.com/moonbeam-foundation/xcm-sdk/pull/163) [`790cb28`](https://github.com/moonbeam-foundation/xcm-sdk/commit/790cb286983e47d947d4911e667d9eb6fdd57f84) Thanks [@Rihyx](https://github.com/Rihyx)! - Update keywords ## 1.4.7 ### Patch Changes -- [#160](https://github.com/PureStake/xcm-sdk/pull/160) [`4035acc`](https://github.com/PureStake/xcm-sdk/commit/4035acc82dd22fa571cb1ea5c2822347d1a85b7c) Thanks [@mmaurello](https://github.com/mmaurello)! - USDC asset hub integration and vDOT paying for fees +- [#160](https://github.com/moonbeam-foundation/xcm-sdk/pull/160) [`4035acc`](https://github.com/moonbeam-foundation/xcm-sdk/commit/4035acc82dd22fa571cb1ea5c2822347d1a85b7c) Thanks [@mmaurello](https://github.com/mmaurello)! - USDC asset hub integration and vDOT paying for fees -- Updated dependencies [[`4035acc`](https://github.com/PureStake/xcm-sdk/commit/4035acc82dd22fa571cb1ea5c2822347d1a85b7c)]: +- Updated dependencies [[`4035acc`](https://github.com/moonbeam-foundation/xcm-sdk/commit/4035acc82dd22fa571cb1ea5c2822347d1a85b7c)]: - @moonbeam-network/xcm-config@1.3.12 ## 1.4.6 ### Patch Changes -- [#152](https://github.com/PureStake/xcm-sdk/pull/152) [`5a50724`](https://github.com/PureStake/xcm-sdk/commit/5a5072453e65d0012ce9826fb1b3b10062141dca) Thanks [@mmaurello](https://github.com/mmaurello)! - Zeitgeist integration with Moonbeam +- [#152](https://github.com/moonbeam-foundation/xcm-sdk/pull/152) [`5a50724`](https://github.com/moonbeam-foundation/xcm-sdk/commit/5a5072453e65d0012ce9826fb1b3b10062141dca) Thanks [@mmaurello](https://github.com/mmaurello)! - Zeitgeist integration with Moonbeam -- Updated dependencies [[`5a50724`](https://github.com/PureStake/xcm-sdk/commit/5a5072453e65d0012ce9826fb1b3b10062141dca)]: +- Updated dependencies [[`5a50724`](https://github.com/moonbeam-foundation/xcm-sdk/commit/5a5072453e65d0012ce9826fb1b3b10062141dca)]: - @moonbeam-network/xcm-config@1.3.11 ## 1.4.5 ### Patch Changes -- [#157](https://github.com/PureStake/xcm-sdk/pull/157) [`7103bb0`](https://github.com/PureStake/xcm-sdk/commit/7103bb0cacf9e448968cd9aafd0e512b82fa348b) Thanks [@mmaurello](https://github.com/mmaurello)! - Revert decimals change in destination fee +- [#157](https://github.com/moonbeam-foundation/xcm-sdk/pull/157) [`7103bb0`](https://github.com/moonbeam-foundation/xcm-sdk/commit/7103bb0cacf9e448968cd9aafd0e512b82fa348b) Thanks [@mmaurello](https://github.com/mmaurello)! - Revert decimals change in destination fee -- Updated dependencies [[`7103bb0`](https://github.com/PureStake/xcm-sdk/commit/7103bb0cacf9e448968cd9aafd0e512b82fa348b)]: +- Updated dependencies [[`7103bb0`](https://github.com/moonbeam-foundation/xcm-sdk/commit/7103bb0cacf9e448968cd9aafd0e512b82fa348b)]: - @moonbeam-network/xcm-config@1.3.10 ## 1.4.4 ### Patch Changes -- [#155](https://github.com/PureStake/xcm-sdk/pull/155) [`a6f48df`](https://github.com/PureStake/xcm-sdk/commit/a6f48df94bd662c120676c8d72a697ef59181220) Thanks [@mmaurello](https://github.com/mmaurello)! - USDT Wormhole integration +- [#155](https://github.com/moonbeam-foundation/xcm-sdk/pull/155) [`a6f48df`](https://github.com/moonbeam-foundation/xcm-sdk/commit/a6f48df94bd662c120676c8d72a697ef59181220) Thanks [@mmaurello](https://github.com/mmaurello)! - USDT Wormhole integration -- Updated dependencies [[`a6f48df`](https://github.com/PureStake/xcm-sdk/commit/a6f48df94bd662c120676c8d72a697ef59181220)]: +- Updated dependencies [[`a6f48df`](https://github.com/moonbeam-foundation/xcm-sdk/commit/a6f48df94bd662c120676c8d72a697ef59181220)]: - @moonbeam-network/xcm-config@1.3.9 ## 1.4.3 ### Patch Changes -- [#153](https://github.com/PureStake/xcm-sdk/pull/153) [`de87e3e`](https://github.com/PureStake/xcm-sdk/commit/de87e3e4b2817080dcb60495cbcc70a8bef47a69) Thanks [@mmaurello](https://github.com/mmaurello)! - Change how we get decimals from assets in destination and change vDOT transfers paying asset +- [#153](https://github.com/moonbeam-foundation/xcm-sdk/pull/153) [`de87e3e`](https://github.com/moonbeam-foundation/xcm-sdk/commit/de87e3e4b2817080dcb60495cbcc70a8bef47a69) Thanks [@mmaurello](https://github.com/mmaurello)! - Change how we get decimals from assets in destination and change vDOT transfers paying asset -- Updated dependencies [[`de87e3e`](https://github.com/PureStake/xcm-sdk/commit/de87e3e4b2817080dcb60495cbcc70a8bef47a69)]: +- Updated dependencies [[`de87e3e`](https://github.com/moonbeam-foundation/xcm-sdk/commit/de87e3e4b2817080dcb60495cbcc70a8bef47a69)]: - @moonbeam-network/xcm-config@1.3.8 ## 1.4.2 ### Patch Changes -- [#149](https://github.com/PureStake/xcm-sdk/pull/149) [`6c208b7`](https://github.com/PureStake/xcm-sdk/commit/6c208b71d25b0fc44bca93ab3ef9cc1e253e57df) Thanks [@mmaurello](https://github.com/mmaurello)! - Change OnFinality endpoints +- [#149](https://github.com/moonbeam-foundation/xcm-sdk/pull/149) [`6c208b7`](https://github.com/moonbeam-foundation/xcm-sdk/commit/6c208b71d25b0fc44bca93ab3ef9cc1e253e57df) Thanks [@mmaurello](https://github.com/mmaurello)! - Change OnFinality endpoints -- Updated dependencies [[`6c208b7`](https://github.com/PureStake/xcm-sdk/commit/6c208b71d25b0fc44bca93ab3ef9cc1e253e57df)]: +- Updated dependencies [[`6c208b7`](https://github.com/moonbeam-foundation/xcm-sdk/commit/6c208b71d25b0fc44bca93ab3ef9cc1e253e57df)]: - @moonbeam-network/xcm-config@1.3.7 ## 1.4.1 ### Patch Changes -- [#148](https://github.com/PureStake/xcm-sdk/pull/148) [`3f071c4`](https://github.com/PureStake/xcm-sdk/commit/3f071c42555e9694b090b2281eb9d67b695aa750) Thanks [@mmaurello](https://github.com/mmaurello)! - Picasso integration with Moonbase and dependency updates +- [#148](https://github.com/moonbeam-foundation/xcm-sdk/pull/148) [`3f071c4`](https://github.com/moonbeam-foundation/xcm-sdk/commit/3f071c42555e9694b090b2281eb9d67b695aa750) Thanks [@mmaurello](https://github.com/mmaurello)! - Picasso integration with Moonbase and dependency updates -- Updated dependencies [[`3f071c4`](https://github.com/PureStake/xcm-sdk/commit/3f071c42555e9694b090b2281eb9d67b695aa750), [`cd5da97`](https://github.com/PureStake/xcm-sdk/commit/cd5da97e606e94f0ec0d2faa17ac44297c5ee98e), [`ea6cd77`](https://github.com/PureStake/xcm-sdk/commit/ea6cd777314667029edcedff8fd3b1401a34e84d)]: +- Updated dependencies [[`3f071c4`](https://github.com/moonbeam-foundation/xcm-sdk/commit/3f071c42555e9694b090b2281eb9d67b695aa750), [`cd5da97`](https://github.com/moonbeam-foundation/xcm-sdk/commit/cd5da97e606e94f0ec0d2faa17ac44297c5ee98e), [`ea6cd77`](https://github.com/moonbeam-foundation/xcm-sdk/commit/ea6cd777314667029edcedff8fd3b1401a34e84d)]: - @moonbeam-network/xcm-builder@1.0.8 - @moonbeam-network/xcm-config@1.3.6 - @moonbeam-network/xcm-utils@1.0.3 @@ -170,13 +170,13 @@ ### Minor Changes -- [#136](https://github.com/PureStake/xcm-sdk/pull/136) [`02dafc0`](https://github.com/PureStake/xcm-sdk/commit/02dafc0977874c081e41f4685d7da7bedb81b7af) Thanks [@nohaapav](https://github.com/nohaapav)! - Sopport optional EvmSigner, Fix: PolkadotService asset get (not reflecting config service) +- [#136](https://github.com/moonbeam-foundation/xcm-sdk/pull/136) [`02dafc0`](https://github.com/moonbeam-foundation/xcm-sdk/commit/02dafc0977874c081e41f4685d7da7bedb81b7af) Thanks [@nohaapav](https://github.com/nohaapav)! - Sopport optional EvmSigner, Fix: PolkadotService asset get (not reflecting config service) ### Patch Changes -- [#144](https://github.com/PureStake/xcm-sdk/pull/144) [`8c16492`](https://github.com/PureStake/xcm-sdk/commit/8c16492f2cceef0e1ebc8a9ba70452e644efd135) Thanks [@mmaurello](https://github.com/mmaurello)! - FIL integration and EQ fix +- [#144](https://github.com/moonbeam-foundation/xcm-sdk/pull/144) [`8c16492`](https://github.com/moonbeam-foundation/xcm-sdk/commit/8c16492f2cceef0e1ebc8a9ba70452e644efd135) Thanks [@mmaurello](https://github.com/mmaurello)! - FIL integration and EQ fix -- Updated dependencies [[`8c16492`](https://github.com/PureStake/xcm-sdk/commit/8c16492f2cceef0e1ebc8a9ba70452e644efd135)]: +- Updated dependencies [[`8c16492`](https://github.com/moonbeam-foundation/xcm-sdk/commit/8c16492f2cceef0e1ebc8a9ba70452e644efd135)]: - @moonbeam-network/xcm-builder@1.0.7 - @moonbeam-network/xcm-config@1.3.5 @@ -184,36 +184,36 @@ ### Patch Changes -- [#141](https://github.com/PureStake/xcm-sdk/pull/141) [`de2a0bb`](https://github.com/PureStake/xcm-sdk/commit/de2a0bba3a3af7fb1c67d23d4ead3915b9513f2f) Thanks [@mmaurello](https://github.com/mmaurello)! - change robonomics wss endpoint +- [#141](https://github.com/moonbeam-foundation/xcm-sdk/pull/141) [`de2a0bb`](https://github.com/moonbeam-foundation/xcm-sdk/commit/de2a0bba3a3af7fb1c67d23d4ead3915b9513f2f) Thanks [@mmaurello](https://github.com/mmaurello)! - change robonomics wss endpoint -- Updated dependencies [[`de2a0bb`](https://github.com/PureStake/xcm-sdk/commit/de2a0bba3a3af7fb1c67d23d4ead3915b9513f2f)]: +- Updated dependencies [[`de2a0bb`](https://github.com/moonbeam-foundation/xcm-sdk/commit/de2a0bba3a3af7fb1c67d23d4ead3915b9513f2f)]: - @moonbeam-network/xcm-config@1.3.4 ## 1.3.3 ### Patch Changes -- [#139](https://github.com/PureStake/xcm-sdk/pull/139) [`cbd30b1`](https://github.com/PureStake/xcm-sdk/commit/cbd30b1d4e37ff877e4e27121491ab086a985df0) Thanks [@mmaurello](https://github.com/mmaurello)! - OriginTrail integration with Moonbeam - remove Nodle Eden integration with Moonbase +- [#139](https://github.com/moonbeam-foundation/xcm-sdk/pull/139) [`cbd30b1`](https://github.com/moonbeam-foundation/xcm-sdk/commit/cbd30b1d4e37ff877e4e27121491ab086a985df0) Thanks [@mmaurello](https://github.com/mmaurello)! - OriginTrail integration with Moonbeam - remove Nodle Eden integration with Moonbase -- Updated dependencies [[`cbd30b1`](https://github.com/PureStake/xcm-sdk/commit/cbd30b1d4e37ff877e4e27121491ab086a985df0)]: +- Updated dependencies [[`cbd30b1`](https://github.com/moonbeam-foundation/xcm-sdk/commit/cbd30b1d4e37ff877e4e27121491ab086a985df0)]: - @moonbeam-network/xcm-config@1.3.3 ## 1.3.2 ### Patch Changes -- [#137](https://github.com/PureStake/xcm-sdk/pull/137) [`3fd0cb4`](https://github.com/PureStake/xcm-sdk/commit/3fd0cb4cd23c04fcc8bcd3650d8964022193d6b4) Thanks [@mmaurello](https://github.com/mmaurello)! - Integrate Bifrost LSD assets +- [#137](https://github.com/moonbeam-foundation/xcm-sdk/pull/137) [`3fd0cb4`](https://github.com/moonbeam-foundation/xcm-sdk/commit/3fd0cb4cd23c04fcc8bcd3650d8964022193d6b4) Thanks [@mmaurello](https://github.com/mmaurello)! - Integrate Bifrost LSD assets -- Updated dependencies [[`3fd0cb4`](https://github.com/PureStake/xcm-sdk/commit/3fd0cb4cd23c04fcc8bcd3650d8964022193d6b4)]: +- Updated dependencies [[`3fd0cb4`](https://github.com/moonbeam-foundation/xcm-sdk/commit/3fd0cb4cd23c04fcc8bcd3650d8964022193d6b4)]: - @moonbeam-network/xcm-config@1.3.2 ## 1.3.1 ### Patch Changes -- [#132](https://github.com/PureStake/xcm-sdk/pull/132) [`69833f3`](https://github.com/PureStake/xcm-sdk/commit/69833f3ab36f6c58f16ec167b22fb6985fbe9582) Thanks [@mmaurello](https://github.com/mmaurello)! - OriginTrail integration with Moonabse +- [#132](https://github.com/moonbeam-foundation/xcm-sdk/pull/132) [`69833f3`](https://github.com/moonbeam-foundation/xcm-sdk/commit/69833f3ab36f6c58f16ec167b22fb6985fbe9582) Thanks [@mmaurello](https://github.com/mmaurello)! - OriginTrail integration with Moonabse -- Updated dependencies [[`69833f3`](https://github.com/PureStake/xcm-sdk/commit/69833f3ab36f6c58f16ec167b22fb6985fbe9582)]: +- Updated dependencies [[`69833f3`](https://github.com/moonbeam-foundation/xcm-sdk/commit/69833f3ab36f6c58f16ec167b22fb6985fbe9582)]: - @moonbeam-network/xcm-builder@1.0.6 - @moonbeam-network/xcm-config@1.3.1 @@ -221,74 +221,74 @@ ### Minor Changes -- [#131](https://github.com/PureStake/xcm-sdk/pull/131) [`63d81d6`](https://github.com/PureStake/xcm-sdk/commit/63d81d64578deb4b415138bfc7809de79a8c80de) Thanks [@mmaurello](https://github.com/mmaurello)! - Allow viem Wallet Client as signer +- [#131](https://github.com/moonbeam-foundation/xcm-sdk/pull/131) [`63d81d6`](https://github.com/moonbeam-foundation/xcm-sdk/commit/63d81d64578deb4b415138bfc7809de79a8c80de) Thanks [@mmaurello](https://github.com/mmaurello)! - Allow viem Wallet Client as signer ### Patch Changes -- Updated dependencies [[`63d81d6`](https://github.com/PureStake/xcm-sdk/commit/63d81d64578deb4b415138bfc7809de79a8c80de)]: +- Updated dependencies [[`63d81d6`](https://github.com/moonbeam-foundation/xcm-sdk/commit/63d81d64578deb4b415138bfc7809de79a8c80de)]: - @moonbeam-network/xcm-config@1.3.0 ## 1.2.0 ### Minor Changes -- [#124](https://github.com/PureStake/xcm-sdk/pull/124) [`bda7709`](https://github.com/PureStake/xcm-sdk/commit/bda77096dca9ac1f29a852d938acd9962d45ee80) Thanks [@nohaapav](https://github.com/nohaapav)! - Introduce config service to support mutability of static xcm config +- [#124](https://github.com/moonbeam-foundation/xcm-sdk/pull/124) [`bda7709`](https://github.com/moonbeam-foundation/xcm-sdk/commit/bda77096dca9ac1f29a852d938acd9962d45ee80) Thanks [@nohaapav](https://github.com/nohaapav)! - Introduce config service to support mutability of static xcm config ### Patch Changes -- Updated dependencies [[`bda7709`](https://github.com/PureStake/xcm-sdk/commit/bda77096dca9ac1f29a852d938acd9962d45ee80)]: +- Updated dependencies [[`bda7709`](https://github.com/moonbeam-foundation/xcm-sdk/commit/bda77096dca9ac1f29a852d938acd9962d45ee80)]: - @moonbeam-network/xcm-config@1.2.0 ## 1.1.0 ### Minor Changes -- [#127](https://github.com/PureStake/xcm-sdk/pull/127) [`876c5eb`](https://github.com/PureStake/xcm-sdk/commit/876c5eb937b1b0f44943a0fee8c0accb19f3747d) Thanks [@mmaurello](https://github.com/mmaurello)! - Return destination fee balance object for controlling enough balance +- [#127](https://github.com/moonbeam-foundation/xcm-sdk/pull/127) [`876c5eb`](https://github.com/moonbeam-foundation/xcm-sdk/commit/876c5eb937b1b0f44943a0fee8c0accb19f3747d) Thanks [@mmaurello](https://github.com/mmaurello)! - Return destination fee balance object for controlling enough balance ### Patch Changes -- Updated dependencies [[`876c5eb`](https://github.com/PureStake/xcm-sdk/commit/876c5eb937b1b0f44943a0fee8c0accb19f3747d)]: +- Updated dependencies [[`876c5eb`](https://github.com/moonbeam-foundation/xcm-sdk/commit/876c5eb937b1b0f44943a0fee8c0accb19f3747d)]: - @moonbeam-network/xcm-config@1.1.0 ## 1.0.12 ### Patch Changes -- Updated dependencies [[`9d7146e`](https://github.com/PureStake/xcm-sdk/commit/9d7146e674688640476e33dac70210589446e727)]: +- Updated dependencies [[`9d7146e`](https://github.com/moonbeam-foundation/xcm-sdk/commit/9d7146e674688640476e33dac70210589446e727)]: - @moonbeam-network/xcm-config@1.0.12 ## 1.0.11 ### Patch Changes -- Updated dependencies [[`220878d`](https://github.com/PureStake/xcm-sdk/commit/220878d74d492f41c998372b7ed9a43d99e1f4da)]: +- Updated dependencies [[`220878d`](https://github.com/moonbeam-foundation/xcm-sdk/commit/220878d74d492f41c998372b7ed9a43d99e1f4da)]: - @moonbeam-network/xcm-config@1.0.11 ## 1.0.10 ### Patch Changes -- [#118](https://github.com/PureStake/xcm-sdk/pull/118) [`911d03d`](https://github.com/PureStake/xcm-sdk/commit/911d03dd3e1e5e3e7abe5ea43f4d0cd7f5a73e83) Thanks [@mmaurello](https://github.com/mmaurello)! - Integrate Wormhole ERC20 tokens +- [#118](https://github.com/moonbeam-foundation/xcm-sdk/pull/118) [`911d03d`](https://github.com/moonbeam-foundation/xcm-sdk/commit/911d03dd3e1e5e3e7abe5ea43f4d0cd7f5a73e83) Thanks [@mmaurello](https://github.com/mmaurello)! - Integrate Wormhole ERC20 tokens -- Updated dependencies [[`911d03d`](https://github.com/PureStake/xcm-sdk/commit/911d03dd3e1e5e3e7abe5ea43f4d0cd7f5a73e83)]: +- Updated dependencies [[`911d03d`](https://github.com/moonbeam-foundation/xcm-sdk/commit/911d03dd3e1e5e3e7abe5ea43f4d0cd7f5a73e83)]: - @moonbeam-network/xcm-config@1.0.10 ## 1.0.9 ### Patch Changes -- [#116](https://github.com/PureStake/xcm-sdk/pull/116) [`8105b09`](https://github.com/PureStake/xcm-sdk/commit/8105b094737d75f11bf9baa9083d0986d78242c1) Thanks [@mmaurello](https://github.com/mmaurello)! - Nodle integration with moonbeam - change aUSD name +- [#116](https://github.com/moonbeam-foundation/xcm-sdk/pull/116) [`8105b09`](https://github.com/moonbeam-foundation/xcm-sdk/commit/8105b094737d75f11bf9baa9083d0986d78242c1) Thanks [@mmaurello](https://github.com/mmaurello)! - Nodle integration with moonbeam - change aUSD name -- Updated dependencies [[`8105b09`](https://github.com/PureStake/xcm-sdk/commit/8105b094737d75f11bf9baa9083d0986d78242c1)]: +- Updated dependencies [[`8105b09`](https://github.com/moonbeam-foundation/xcm-sdk/commit/8105b094737d75f11bf9baa9083d0986d78242c1)]: - @moonbeam-network/xcm-config@1.0.9 ## 1.0.8 ### Patch Changes -- [#112](https://github.com/PureStake/xcm-sdk/pull/112) [`697bdbb`](https://github.com/PureStake/xcm-sdk/commit/697bdbbf10e569499f9e10dff0bb3173de01d458) Thanks [@ekenigs](https://github.com/ekenigs)! - ERC20 Alan and DEV tokens from Moonbase Alpha to Beta +- [#112](https://github.com/moonbeam-foundation/xcm-sdk/pull/112) [`697bdbb`](https://github.com/moonbeam-foundation/xcm-sdk/commit/697bdbbf10e569499f9e10dff0bb3173de01d458) Thanks [@ekenigs](https://github.com/ekenigs)! - ERC20 Alan and DEV tokens from Moonbase Alpha to Beta -- Updated dependencies [[`697bdbb`](https://github.com/PureStake/xcm-sdk/commit/697bdbbf10e569499f9e10dff0bb3173de01d458)]: +- Updated dependencies [[`697bdbb`](https://github.com/moonbeam-foundation/xcm-sdk/commit/697bdbbf10e569499f9e10dff0bb3173de01d458)]: - @moonbeam-network/xcm-builder@1.0.5 - @moonbeam-network/xcm-config@1.0.8 - @moonbeam-network/xcm-utils@1.0.2 @@ -297,18 +297,18 @@ ### Patch Changes -- [#110](https://github.com/PureStake/xcm-sdk/pull/110) [`307f272`](https://github.com/PureStake/xcm-sdk/commit/307f272bbda95add5f986157795cd9b52c347e32) Thanks [@mmaurello](https://github.com/mmaurello)! - Turing integration with Moonriver +- [#110](https://github.com/moonbeam-foundation/xcm-sdk/pull/110) [`307f272`](https://github.com/moonbeam-foundation/xcm-sdk/commit/307f272bbda95add5f986157795cd9b52c347e32) Thanks [@mmaurello](https://github.com/mmaurello)! - Turing integration with Moonriver -- Updated dependencies [[`307f272`](https://github.com/PureStake/xcm-sdk/commit/307f272bbda95add5f986157795cd9b52c347e32)]: +- Updated dependencies [[`307f272`](https://github.com/moonbeam-foundation/xcm-sdk/commit/307f272bbda95add5f986157795cd9b52c347e32)]: - @moonbeam-network/xcm-config@1.0.7 ## 1.0.6 ### Patch Changes -- [#108](https://github.com/PureStake/xcm-sdk/pull/108) [`dcee04b`](https://github.com/PureStake/xcm-sdk/commit/dcee04be5df5c90027534a37e40e459ae0a14fa2) Thanks [@mmaurello](https://github.com/mmaurello)! - Change Statemint/Statemine names to Asset Hub +- [#108](https://github.com/moonbeam-foundation/xcm-sdk/pull/108) [`dcee04b`](https://github.com/moonbeam-foundation/xcm-sdk/commit/dcee04be5df5c90027534a37e40e459ae0a14fa2) Thanks [@mmaurello](https://github.com/mmaurello)! - Change Statemint/Statemine names to Asset Hub -- Updated dependencies [[`dcee04b`](https://github.com/PureStake/xcm-sdk/commit/dcee04be5df5c90027534a37e40e459ae0a14fa2)]: +- Updated dependencies [[`dcee04b`](https://github.com/moonbeam-foundation/xcm-sdk/commit/dcee04be5df5c90027534a37e40e459ae0a14fa2)]: - @moonbeam-network/xcm-builder@1.0.4 - @moonbeam-network/xcm-config@1.0.6 @@ -316,18 +316,18 @@ ### Patch Changes -- [#106](https://github.com/PureStake/xcm-sdk/pull/106) [`2c0251d`](https://github.com/PureStake/xcm-sdk/commit/2c0251d8c24c7025099299e150a1fccebde53d1e) Thanks [@mmaurello](https://github.com/mmaurello)! - Centrifuge integration with Moonebeam +- [#106](https://github.com/moonbeam-foundation/xcm-sdk/pull/106) [`2c0251d`](https://github.com/moonbeam-foundation/xcm-sdk/commit/2c0251d8c24c7025099299e150a1fccebde53d1e) Thanks [@mmaurello](https://github.com/mmaurello)! - Centrifuge integration with Moonebeam -- Updated dependencies [[`2c0251d`](https://github.com/PureStake/xcm-sdk/commit/2c0251d8c24c7025099299e150a1fccebde53d1e)]: +- Updated dependencies [[`2c0251d`](https://github.com/moonbeam-foundation/xcm-sdk/commit/2c0251d8c24c7025099299e150a1fccebde53d1e)]: - @moonbeam-network/xcm-config@1.0.5 ## 1.0.4 ### Patch Changes -- [#104](https://github.com/PureStake/xcm-sdk/pull/104) [`f1fc312`](https://github.com/PureStake/xcm-sdk/commit/f1fc312d77e8d579e40e48e24f3c139599bf74ca) Thanks [@mmaurello](https://github.com/mmaurello)! - Turing network integration with Moonbase Alpha +- [#104](https://github.com/moonbeam-foundation/xcm-sdk/pull/104) [`f1fc312`](https://github.com/moonbeam-foundation/xcm-sdk/commit/f1fc312d77e8d579e40e48e24f3c139599bf74ca) Thanks [@mmaurello](https://github.com/mmaurello)! - Turing network integration with Moonbase Alpha -- Updated dependencies [[`f1fc312`](https://github.com/PureStake/xcm-sdk/commit/f1fc312d77e8d579e40e48e24f3c139599bf74ca)]: +- Updated dependencies [[`f1fc312`](https://github.com/moonbeam-foundation/xcm-sdk/commit/f1fc312d77e8d579e40e48e24f3c139599bf74ca)]: - @moonbeam-network/xcm-builder@1.0.3 - @moonbeam-network/xcm-config@1.0.4 @@ -335,16 +335,16 @@ ### Patch Changes -- Updated dependencies [[`934f976`](https://github.com/PureStake/xcm-sdk/commit/934f976f53a32e3ee10aa011cd3622d70bc3afb3)]: +- Updated dependencies [[`934f976`](https://github.com/moonbeam-foundation/xcm-sdk/commit/934f976f53a32e3ee10aa011cd3622d70bc3afb3)]: - @moonbeam-network/xcm-config@1.0.3 ## 1.0.2 ### Patch Changes -- [#98](https://github.com/PureStake/xcm-sdk/pull/98) [`1031601`](https://github.com/PureStake/xcm-sdk/commit/1031601e9706fefd8edf00d9b68d224fd55cf357) Thanks [@ekenigs](https://github.com/ekenigs)! - Changed SDK packages deps to 1.x +- [#98](https://github.com/moonbeam-foundation/xcm-sdk/pull/98) [`1031601`](https://github.com/moonbeam-foundation/xcm-sdk/commit/1031601e9706fefd8edf00d9b68d224fd55cf357) Thanks [@ekenigs](https://github.com/ekenigs)! - Changed SDK packages deps to 1.x -- Updated dependencies [[`1031601`](https://github.com/PureStake/xcm-sdk/commit/1031601e9706fefd8edf00d9b68d224fd55cf357), [`bb54d40`](https://github.com/PureStake/xcm-sdk/commit/bb54d40ba72a9ffd0394cd7b8731fa0b3dbf14f7)]: +- Updated dependencies [[`1031601`](https://github.com/moonbeam-foundation/xcm-sdk/commit/1031601e9706fefd8edf00d9b68d224fd55cf357), [`bb54d40`](https://github.com/moonbeam-foundation/xcm-sdk/commit/bb54d40ba72a9ffd0394cd7b8731fa0b3dbf14f7)]: - @moonbeam-network/xcm-builder@1.0.2 - @moonbeam-network/xcm-config@1.0.2 - @moonbeam-network/xcm-types@1.0.1 @@ -353,17 +353,17 @@ ### Patch Changes -- [#93](https://github.com/PureStake/xcm-sdk/pull/93) [`3cd3565`](https://github.com/PureStake/xcm-sdk/commit/3cd356561a2c413942b46a1a943f78e82cd29fcc) Thanks [@mmaurello](https://github.com/mmaurello)! - Fix for bigint transformation of string number +- [#93](https://github.com/moonbeam-foundation/xcm-sdk/pull/93) [`3cd3565`](https://github.com/moonbeam-foundation/xcm-sdk/commit/3cd356561a2c413942b46a1a943f78e82cd29fcc) Thanks [@mmaurello](https://github.com/mmaurello)! - Fix for bigint transformation of string number ## 1.0.0 ### Major Changes -- [#87](https://github.com/PureStake/xcm-sdk/pull/87) [`3c8835e`](https://github.com/PureStake/xcm-sdk/commit/3c8835e4afbe6fe0fd33a035e9c82d58e1902a45) Thanks [@ekenigs](https://github.com/ekenigs)! - SDK v1 which is not Moonbeam specific and with a new more user-friendly interface and new features +- [#87](https://github.com/moonbeam-foundation/xcm-sdk/pull/87) [`3c8835e`](https://github.com/moonbeam-foundation/xcm-sdk/commit/3c8835e4afbe6fe0fd33a035e9c82d58e1902a45) Thanks [@ekenigs](https://github.com/ekenigs)! - SDK v1 which is not Moonbeam specific and with a new more user-friendly interface and new features ### Patch Changes -- Updated dependencies [[`3c8835e`](https://github.com/PureStake/xcm-sdk/commit/3c8835e4afbe6fe0fd33a035e9c82d58e1902a45)]: +- Updated dependencies [[`3c8835e`](https://github.com/moonbeam-foundation/xcm-sdk/commit/3c8835e4afbe6fe0fd33a035e9c82d58e1902a45)]: - @moonbeam-network/xcm-builder@1.0.0 - @moonbeam-network/xcm-config@1.0.0 - @moonbeam-network/xcm-types@1.0.0 @@ -373,8 +373,8 @@ ### Patch Changes -- [#74](https://github.com/PureStake/xcm-sdk/pull/74) [`7159d68`](https://github.com/PureStake/xcm-sdk/commit/7159d68cd9a2a8c0c2e2e0f8a8405e6a1a9a8607) Thanks [@ekenigs](https://github.com/ekenigs)! - A new extrinsic fro Equilibrium +- [#74](https://github.com/moonbeam-foundation/xcm-sdk/pull/74) [`7159d68`](https://github.com/moonbeam-foundation/xcm-sdk/commit/7159d68cd9a2a8c0c2e2e0f8a8405e6a1a9a8607) Thanks [@ekenigs](https://github.com/ekenigs)! - A new extrinsic fro Equilibrium -- Updated dependencies [[`7159d68`](https://github.com/PureStake/xcm-sdk/commit/7159d68cd9a2a8c0c2e2e0f8a8405e6a1a9a8607), [`a3f3d86`](https://github.com/PureStake/xcm-sdk/commit/a3f3d86290475e6353fa74c06c2b7e6c9ba65eb4), [`7159d68`](https://github.com/PureStake/xcm-sdk/commit/7159d68cd9a2a8c0c2e2e0f8a8405e6a1a9a8607)]: +- Updated dependencies [[`7159d68`](https://github.com/moonbeam-foundation/xcm-sdk/commit/7159d68cd9a2a8c0c2e2e0f8a8405e6a1a9a8607), [`a3f3d86`](https://github.com/moonbeam-foundation/xcm-sdk/commit/a3f3d86290475e6353fa74c06c2b7e6c9ba65eb4), [`7159d68`](https://github.com/moonbeam-foundation/xcm-sdk/commit/7159d68cd9a2a8c0c2e2e0f8a8405e6a1a9a8607)]: - @moonbeam-network/xcm-config@0.4.2 - @moonbeam-network/xcm-utils@0.0.7 diff --git a/packages/sdk/README.md b/packages/sdk/README.md index 6f265a7e..eb0fd49e 100644 --- a/packages/sdk/README.md +++ b/packages/sdk/README.md @@ -6,13 +6,13 @@ The XCM SDK offers helper functions, that provide a very simple interface to exe ## v1 (current) -- [readme](https://github.com/PureStake/xcm-sdk/tree/main) +- [readme](https://github.com/moonbeam-foundation/xcm-sdk/tree/main) - [usage](https://docs.moonbeam.network/builders/interoperability/xcm/xcm-sdk/v1/xcm-sdk/) - [reference](https://docs.moonbeam.network/builders/interoperability/xcm/xcm-sdk/v1/reference/) ## v0 (previous) -- [readme](https://github.com/PureStake/xcm-sdk/tree/v0) +- [readme](https://github.com/moonbeam-foundation/xcm-sdk/tree/v0) - [usage](https://docs.moonbeam.network/builders/interoperability/xcm/xcm-sdk/v0/xcm-sdk/) - [reference](https://docs.moonbeam.network/builders/interoperability/xcm/xcm-sdk/v0/reference/) @@ -71,10 +71,10 @@ const hash = await dataViaGetTransferDataMethod.transfer('INSERT_TRANSFER_AMOUNT # Examples -- [sdk](https://github.com/PureStake/xcm-sdk/blob/main/examples/sdk-simple) +- [sdk](https://github.com/moonbeam-foundation/xcm-sdk/blob/main/examples/sdk-simple) ```bash -git clone git@github.com:PureStake/xcm-sdk.git +git clone git@github.com:moonbeam-foundation/xcm-sdk.git cd xcm-sdk npm i cd examples/sdk-simple @@ -87,7 +87,7 @@ npm start # Contributing ```bash -git clone git@github.com:PureStake/xcm-sdk.git +git clone git@github.com:moonbeam-foundation/xcm-sdk.git npm i npm run dev ``` diff --git a/packages/sdk/package.json b/packages/sdk/package.json index a7982619..39056042 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -12,12 +12,12 @@ "test:acc": "jest --forceExit --testTimeout 300000 ./tests/acceptance", "prepack": "prettier --write build/index.d.ts" }, - "author": "PureStake", + "author": "moonbeam-foundation", "license": "MIT", "repository": { "directory": "packages/sdk", "type": "git", - "url": "git+https://github.com/PureStake/xcm-sdk.git" + "url": "git+https://github.com/moonbeam-foundation/xcm-sdk.git" }, "keywords": [ "moonbeam", @@ -29,7 +29,7 @@ "cross-chain" ], "bugs": { - "url": "https://github.com/PureStake/xcm-sdk/issues" + "url": "https://github.com/moonbeam-foundation/xcm-sdk/issues" }, "homepage": "https://docs.moonbeam.network/builders/xcm/xcm-sdk/xcm-sdk/", "files": [ diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 60b50754..6ebdc50b 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -4,21 +4,21 @@ ### Patch Changes -- [#184](https://github.com/PureStake/xcm-sdk/pull/184) [`88b6322`](https://github.com/PureStake/xcm-sdk/commit/88b6322327b30baa0fb2bf55f99497e2944c95ef) Thanks [@mmaurello](https://github.com/mmaurello)! - Use unlimited weight in all transactions for the xTokens pallet +- [#184](https://github.com/moonbeam-foundation/xcm-sdk/pull/184) [`88b6322`](https://github.com/moonbeam-foundation/xcm-sdk/commit/88b6322327b30baa0fb2bf55f99497e2944c95ef) Thanks [@mmaurello](https://github.com/mmaurello)! - Use unlimited weight in all transactions for the xTokens pallet ## 1.0.1 ### Patch Changes -- [#98](https://github.com/PureStake/xcm-sdk/pull/98) [`1031601`](https://github.com/PureStake/xcm-sdk/commit/1031601e9706fefd8edf00d9b68d224fd55cf357) Thanks [@ekenigs](https://github.com/ekenigs)! - Changed SDK packages deps to 1.x +- [#98](https://github.com/moonbeam-foundation/xcm-sdk/pull/98) [`1031601`](https://github.com/moonbeam-foundation/xcm-sdk/commit/1031601e9706fefd8edf00d9b68d224fd55cf357) Thanks [@ekenigs](https://github.com/ekenigs)! - Changed SDK packages deps to 1.x ## 1.0.0 ### Major Changes -- [#87](https://github.com/PureStake/xcm-sdk/pull/87) [`3c8835e`](https://github.com/PureStake/xcm-sdk/commit/3c8835e4afbe6fe0fd33a035e9c82d58e1902a45) Thanks [@ekenigs](https://github.com/ekenigs)! - SDK v1 which is not Moonbeam specific and with a new more user-friendly interface and new features +- [#87](https://github.com/moonbeam-foundation/xcm-sdk/pull/87) [`3c8835e`](https://github.com/moonbeam-foundation/xcm-sdk/commit/3c8835e4afbe6fe0fd33a035e9c82d58e1902a45) Thanks [@ekenigs](https://github.com/ekenigs)! - SDK v1 which is not Moonbeam specific and with a new more user-friendly interface and new features ### Patch Changes -- Updated dependencies [[`3c8835e`](https://github.com/PureStake/xcm-sdk/commit/3c8835e4afbe6fe0fd33a035e9c82d58e1902a45)]: +- Updated dependencies [[`3c8835e`](https://github.com/moonbeam-foundation/xcm-sdk/commit/3c8835e4afbe6fe0fd33a035e9c82d58e1902a45)]: - @moonbeam-network/xcm-utils@1.0.0 diff --git a/packages/types/package.json b/packages/types/package.json index 162a3401..035fffe7 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -17,17 +17,17 @@ "repository": { "directory": "packages/types", "type": "git", - "url": "git+https://github.com/PureStake/xcm-sdk.git" + "url": "git+https://github.com/moonbeam-foundation/xcm-sdk.git" }, "keywords": [ "moonbeam", "moonriver", "xcm" ], - "author": "PureStake", + "author": "moonbeam-foundation", "license": "MIT", "bugs": { - "url": "https://github.com/PureStake/xcm-sdk/issues" + "url": "https://github.com/moonbeam-foundation/xcm-sdk/issues" }, "homepage": "https://docs.moonbeam.network/builders/xcm/xcm-sdk/xcm-sdk/", "files": [ diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index 05e19492..d7ad1037 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -4,30 +4,30 @@ ### Patch Changes -- [#148](https://github.com/PureStake/xcm-sdk/pull/148) [`3f071c4`](https://github.com/PureStake/xcm-sdk/commit/3f071c42555e9694b090b2281eb9d67b695aa750) Thanks [@mmaurello](https://github.com/mmaurello)! - Picasso integration with Moonbase and dependency updates +- [#148](https://github.com/moonbeam-foundation/xcm-sdk/pull/148) [`3f071c4`](https://github.com/moonbeam-foundation/xcm-sdk/commit/3f071c42555e9694b090b2281eb9d67b695aa750) Thanks [@mmaurello](https://github.com/mmaurello)! - Picasso integration with Moonbase and dependency updates -- [#145](https://github.com/PureStake/xcm-sdk/pull/145) [`cd5da97`](https://github.com/PureStake/xcm-sdk/commit/cd5da97e606e94f0ec0d2faa17ac44297c5ee98e) Thanks [@ekenigs](https://github.com/ekenigs)! - Disabled Polkadot.js API init warnings +- [#145](https://github.com/moonbeam-foundation/xcm-sdk/pull/145) [`cd5da97`](https://github.com/moonbeam-foundation/xcm-sdk/commit/cd5da97e606e94f0ec0d2faa17ac44297c5ee98e) Thanks [@ekenigs](https://github.com/ekenigs)! - Disabled Polkadot.js API init warnings ## 1.0.2 ### Patch Changes -- [#112](https://github.com/PureStake/xcm-sdk/pull/112) [`697bdbb`](https://github.com/PureStake/xcm-sdk/commit/697bdbbf10e569499f9e10dff0bb3173de01d458) Thanks [@ekenigs](https://github.com/ekenigs)! - ERC20 Alan and DEV tokens from Moonbase Alpha to Beta +- [#112](https://github.com/moonbeam-foundation/xcm-sdk/pull/112) [`697bdbb`](https://github.com/moonbeam-foundation/xcm-sdk/commit/697bdbbf10e569499f9e10dff0bb3173de01d458) Thanks [@ekenigs](https://github.com/ekenigs)! - ERC20 Alan and DEV tokens from Moonbase Alpha to Beta ## 1.0.1 ### Patch Changes -- [`069b738`](https://github.com/PureStake/xcm-sdk/commit/069b73810c6e1e271edc489ed40bae06d9d62a37) Thanks [@mmaurello](https://github.com/mmaurello)! - Mangata - Moonriver integration +- [`069b738`](https://github.com/moonbeam-foundation/xcm-sdk/commit/069b73810c6e1e271edc489ed40bae06d9d62a37) Thanks [@mmaurello](https://github.com/mmaurello)! - Mangata - Moonriver integration ## 1.0.0 ### Major Changes -- [#87](https://github.com/PureStake/xcm-sdk/pull/87) [`3c8835e`](https://github.com/PureStake/xcm-sdk/commit/3c8835e4afbe6fe0fd33a035e9c82d58e1902a45) Thanks [@ekenigs](https://github.com/ekenigs)! - SDK v1 which is not Moonbeam specific and with a new more user-friendly interface and new features +- [#87](https://github.com/moonbeam-foundation/xcm-sdk/pull/87) [`3c8835e`](https://github.com/moonbeam-foundation/xcm-sdk/commit/3c8835e4afbe6fe0fd33a035e9c82d58e1902a45) Thanks [@ekenigs](https://github.com/ekenigs)! - SDK v1 which is not Moonbeam specific and with a new more user-friendly interface and new features ## 0.0.7 ### Patch Changes -- [#74](https://github.com/PureStake/xcm-sdk/pull/74) [`7159d68`](https://github.com/PureStake/xcm-sdk/commit/7159d68cd9a2a8c0c2e2e0f8a8405e6a1a9a8607) Thanks [@ekenigs](https://github.com/ekenigs)! - Added a convertDecimals function +- [#74](https://github.com/moonbeam-foundation/xcm-sdk/pull/74) [`7159d68`](https://github.com/moonbeam-foundation/xcm-sdk/commit/7159d68cd9a2a8c0c2e2e0f8a8405e6a1a9a8607) Thanks [@ekenigs](https://github.com/ekenigs)! - Added a convertDecimals function diff --git a/packages/utils/package.json b/packages/utils/package.json index 27855205..f895897a 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -15,12 +15,12 @@ "test:ci": "npm test -- --ci", "prepack": "prettier --write build/index.d.ts" }, - "author": "PureStake", + "author": "moonbeam-foundation", "license": "MIT", "repository": { "directory": "packages/utils", "type": "git", - "url": "git+https://github.com/PureStake/xcm-sdk.git" + "url": "git+https://github.com/moonbeam-foundation/xcm-sdk.git" }, "keywords": [ "moonbeam", @@ -29,7 +29,7 @@ "utils" ], "bugs": { - "url": "https://github.com/PureStake/xcm-sdk/issues" + "url": "https://github.com/moonbeam-foundation/xcm-sdk/issues" }, "homepage": "https://docs.moonbeam.network/builders/xcm/xcm-sdk/xcm-sdk/", "files": [ From c06ea353d373b78e85e7e676ae06ac7834e66e69 Mon Sep 17 00:00:00 2001 From: mmaurello <93129175+mmaurello@users.noreply.github.com> Date: Thu, 25 Jan 2024 01:36:26 +1300 Subject: [PATCH 14/15] Change polkadot and kusama endpoints (#193) * change polkadot and kusama endpoints * add changeset --- .changeset/itchy-queens-occur.md | 5 +++++ packages/config/src/chains.ts | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changeset/itchy-queens-occur.md diff --git a/.changeset/itchy-queens-occur.md b/.changeset/itchy-queens-occur.md new file mode 100644 index 00000000..316e21a1 --- /dev/null +++ b/.changeset/itchy-queens-occur.md @@ -0,0 +1,5 @@ +--- +'@moonbeam-network/xcm-config': patch +--- + +Change polkadot and kusama endpoints diff --git a/packages/config/src/chains.ts b/packages/config/src/chains.ts index 40b8e6a2..91a80fed 100644 --- a/packages/config/src/chains.ts +++ b/packages/config/src/chains.ts @@ -570,7 +570,7 @@ export const kusama = new Parachain({ name: 'Kusama', parachainId: 0, ss58Format: 2, - ws: 'wss://kusama-rpc.polkadot.io', + ws: 'wss://kusama-rpc.dwellir.com', }); export const kusamaAssetHub = new Parachain({ @@ -1254,7 +1254,7 @@ export const polkadot = new Parachain({ name: 'Polkadot', parachainId: 0, ss58Format: 0, - ws: 'wss://rpc.polkadot.io', + ws: 'wss://polkadot-rpc.dwellir.com', }); export const polkadotAssetHub = new Parachain({ From a5f3557ddfcc10e8fecf0029f46bc6f137abdc69 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 25 Jan 2024 01:39:21 +1300 Subject: [PATCH 15/15] Version Packages (#194) Co-authored-by: github-actions[bot] --- .changeset/itchy-queens-occur.md | 5 ----- .changeset/proud-ghosts-sip.md | 9 --------- examples/sdk-simple/package.json | 6 +++--- package-lock.json | 34 ++++++++++++++++---------------- packages/builder/CHANGELOG.md | 10 ++++++++++ packages/builder/package.json | 6 +++--- packages/config/CHANGELOG.md | 12 +++++++++++ packages/config/package.json | 6 +++--- packages/sdk/CHANGELOG.md | 12 +++++++++++ packages/sdk/package.json | 10 +++++----- packages/types/CHANGELOG.md | 9 +++++++++ packages/types/package.json | 4 ++-- packages/utils/CHANGELOG.md | 6 ++++++ packages/utils/package.json | 2 +- 14 files changed, 83 insertions(+), 48 deletions(-) delete mode 100644 .changeset/itchy-queens-occur.md delete mode 100644 .changeset/proud-ghosts-sip.md diff --git a/.changeset/itchy-queens-occur.md b/.changeset/itchy-queens-occur.md deleted file mode 100644 index 316e21a1..00000000 --- a/.changeset/itchy-queens-occur.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@moonbeam-network/xcm-config': patch ---- - -Change polkadot and kusama endpoints diff --git a/.changeset/proud-ghosts-sip.md b/.changeset/proud-ghosts-sip.md deleted file mode 100644 index d489203b..00000000 --- a/.changeset/proud-ghosts-sip.md +++ /dev/null @@ -1,9 +0,0 @@ ---- -'@moonbeam-network/xcm-builder': patch -'@moonbeam-network/xcm-config': patch -'@moonbeam-network/xcm-types': patch -'@moonbeam-network/xcm-utils': patch -'@moonbeam-network/xcm-sdk': patch ---- - -Manta - Moonbeam integration and change of repo url diff --git a/examples/sdk-simple/package.json b/examples/sdk-simple/package.json index 787bc6be..09eacc38 100644 --- a/examples/sdk-simple/package.json +++ b/examples/sdk-simple/package.json @@ -12,9 +12,9 @@ "author": "", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-config": "1.3.23", - "@moonbeam-network/xcm-sdk": "1.4.19", - "@moonbeam-network/xcm-utils": "1.0.3" + "@moonbeam-network/xcm-config": "1.3.24", + "@moonbeam-network/xcm-sdk": "1.4.20", + "@moonbeam-network/xcm-utils": "1.0.4" }, "devDependencies": { "bun": "^1.0.20" diff --git a/package-lock.json b/package-lock.json index 677ffa93..662bd67e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -50,9 +50,9 @@ "version": "1.0.0", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-config": "1.3.23", - "@moonbeam-network/xcm-sdk": "1.4.19", - "@moonbeam-network/xcm-utils": "1.0.3" + "@moonbeam-network/xcm-config": "1.3.24", + "@moonbeam-network/xcm-sdk": "1.4.20", + "@moonbeam-network/xcm-utils": "1.0.4" }, "devDependencies": { "bun": "^1.0.20" @@ -17048,11 +17048,11 @@ }, "packages/builder": { "name": "@moonbeam-network/xcm-builder", - "version": "1.0.11", + "version": "1.0.12", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-types": "1.0.2", - "@moonbeam-network/xcm-utils": "1.0.3", + "@moonbeam-network/xcm-types": "1.0.3", + "@moonbeam-network/xcm-utils": "1.0.4", "big.js": "^6.2.1", "type-fest": "^3.8.0" }, @@ -17076,11 +17076,11 @@ }, "packages/config": { "name": "@moonbeam-network/xcm-config", - "version": "1.3.23", + "version": "1.3.24", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-builder": "1.0.11", - "@moonbeam-network/xcm-types": "1.0.2" + "@moonbeam-network/xcm-builder": "1.0.12", + "@moonbeam-network/xcm-types": "1.0.3" }, "peerDependencies": { "@polkadot/types": "^10.10.1", @@ -17090,13 +17090,13 @@ }, "packages/sdk": { "name": "@moonbeam-network/xcm-sdk", - "version": "1.4.19", + "version": "1.4.20", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-builder": "1.0.11", - "@moonbeam-network/xcm-config": "1.3.23", - "@moonbeam-network/xcm-types": "1.0.2", - "@moonbeam-network/xcm-utils": "1.0.3", + "@moonbeam-network/xcm-builder": "1.0.12", + "@moonbeam-network/xcm-config": "1.3.24", + "@moonbeam-network/xcm-types": "1.0.3", + "@moonbeam-network/xcm-utils": "1.0.4", "big.js": "^6.2.1" }, "peerDependencies": { @@ -17110,10 +17110,10 @@ }, "packages/types": { "name": "@moonbeam-network/xcm-types", - "version": "1.0.2", + "version": "1.0.3", "license": "MIT", "dependencies": { - "@moonbeam-network/xcm-utils": "1.x", + "@moonbeam-network/xcm-utils": "1.0.4", "big.js": "^6.2.1", "type-fest": "^3.8.0" } @@ -17130,7 +17130,7 @@ }, "packages/utils": { "name": "@moonbeam-network/xcm-utils", - "version": "1.0.3", + "version": "1.0.4", "license": "MIT", "dependencies": { "big.js": "^6.2.1", diff --git a/packages/builder/CHANGELOG.md b/packages/builder/CHANGELOG.md index e4d65d32..0420d321 100644 --- a/packages/builder/CHANGELOG.md +++ b/packages/builder/CHANGELOG.md @@ -1,5 +1,15 @@ # @moonbeam-network/xcm-builder +## 1.0.12 + +### Patch Changes + +- [#192](https://github.com/moonbeam-foundation/xcm-sdk/pull/192) [`0b3cb1d`](https://github.com/moonbeam-foundation/xcm-sdk/commit/0b3cb1db7897bec9bfd743fe3f8104e480500496) Thanks [@mmaurello](https://github.com/mmaurello)! - Manta - Moonbeam integration and change of repo url + +- Updated dependencies [[`0b3cb1d`](https://github.com/moonbeam-foundation/xcm-sdk/commit/0b3cb1db7897bec9bfd743fe3f8104e480500496)]: + - @moonbeam-network/xcm-types@1.0.3 + - @moonbeam-network/xcm-utils@1.0.4 + ## 1.0.11 ### Patch Changes diff --git a/packages/builder/package.json b/packages/builder/package.json index 09eaa0e9..6be129f8 100644 --- a/packages/builder/package.json +++ b/packages/builder/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-builder", - "version": "1.0.11", + "version": "1.0.12", "description": "Moonbeam XCM builder", "scripts": { "build": "tsup", @@ -50,8 +50,8 @@ "types": "./build/index.d.ts", "main": "./build/index.cjs", "dependencies": { - "@moonbeam-network/xcm-types": "1.0.2", - "@moonbeam-network/xcm-utils": "1.0.3", + "@moonbeam-network/xcm-types": "1.0.3", + "@moonbeam-network/xcm-utils": "1.0.4", "big.js": "^6.2.1", "type-fest": "^3.8.0" }, diff --git a/packages/config/CHANGELOG.md b/packages/config/CHANGELOG.md index 2b92e42f..c9269a82 100644 --- a/packages/config/CHANGELOG.md +++ b/packages/config/CHANGELOG.md @@ -1,5 +1,17 @@ # @moonbeam-network/xcm-config +## 1.3.24 + +### Patch Changes + +- [#193](https://github.com/moonbeam-foundation/xcm-sdk/pull/193) [`c06ea35`](https://github.com/moonbeam-foundation/xcm-sdk/commit/c06ea353d373b78e85e7e676ae06ac7834e66e69) Thanks [@mmaurello](https://github.com/mmaurello)! - Change polkadot and kusama endpoints + +- [#192](https://github.com/moonbeam-foundation/xcm-sdk/pull/192) [`0b3cb1d`](https://github.com/moonbeam-foundation/xcm-sdk/commit/0b3cb1db7897bec9bfd743fe3f8104e480500496) Thanks [@mmaurello](https://github.com/mmaurello)! - Manta - Moonbeam integration and change of repo url + +- Updated dependencies [[`0b3cb1d`](https://github.com/moonbeam-foundation/xcm-sdk/commit/0b3cb1db7897bec9bfd743fe3f8104e480500496)]: + - @moonbeam-network/xcm-builder@1.0.12 + - @moonbeam-network/xcm-types@1.0.3 + ## 1.3.23 ### Patch Changes diff --git a/packages/config/package.json b/packages/config/package.json index ab633c89..7018f85e 100644 --- a/packages/config/package.json +++ b/packages/config/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-config", - "version": "1.3.23", + "version": "1.3.24", "description": "All necessary configuration to transfer assets from Moonbeam, Moonriver, Moonbase to other parachains and back", "scripts": { "build": "tsup", @@ -50,8 +50,8 @@ "types": "./build/index.d.ts", "main": "./build/index.cjs", "dependencies": { - "@moonbeam-network/xcm-builder": "1.0.11", - "@moonbeam-network/xcm-types": "1.0.2" + "@moonbeam-network/xcm-builder": "1.0.12", + "@moonbeam-network/xcm-types": "1.0.3" }, "peerDependencies": { "@polkadot/types": "^10.10.1", diff --git a/packages/sdk/CHANGELOG.md b/packages/sdk/CHANGELOG.md index 63135c1e..700c61a1 100644 --- a/packages/sdk/CHANGELOG.md +++ b/packages/sdk/CHANGELOG.md @@ -1,5 +1,17 @@ # @moonbeam-network/xcm-sdk +## 1.4.20 + +### Patch Changes + +- [#192](https://github.com/moonbeam-foundation/xcm-sdk/pull/192) [`0b3cb1d`](https://github.com/moonbeam-foundation/xcm-sdk/commit/0b3cb1db7897bec9bfd743fe3f8104e480500496) Thanks [@mmaurello](https://github.com/mmaurello)! - Manta - Moonbeam integration and change of repo url + +- Updated dependencies [[`c06ea35`](https://github.com/moonbeam-foundation/xcm-sdk/commit/c06ea353d373b78e85e7e676ae06ac7834e66e69), [`0b3cb1d`](https://github.com/moonbeam-foundation/xcm-sdk/commit/0b3cb1db7897bec9bfd743fe3f8104e480500496)]: + - @moonbeam-network/xcm-config@1.3.24 + - @moonbeam-network/xcm-builder@1.0.12 + - @moonbeam-network/xcm-types@1.0.3 + - @moonbeam-network/xcm-utils@1.0.4 + ## 1.4.19 ### Patch Changes diff --git a/packages/sdk/package.json b/packages/sdk/package.json index 39056042..fd8d9b3f 100644 --- a/packages/sdk/package.json +++ b/packages/sdk/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-sdk", - "version": "1.4.19", + "version": "1.4.20", "description": "The Moonbeam XCM SDK enables developers to easily deposit and withdraw assets to Moonbeam/Moonriver from the relay chain and other parachains in the Polkadot/Kusama ecosystem", "scripts": { "build": "tsup", @@ -51,10 +51,10 @@ "types": "./build/index.d.ts", "main": "./build/index.cjs", "dependencies": { - "@moonbeam-network/xcm-builder": "1.0.11", - "@moonbeam-network/xcm-config": "1.3.23", - "@moonbeam-network/xcm-types": "1.0.2", - "@moonbeam-network/xcm-utils": "1.0.3", + "@moonbeam-network/xcm-builder": "1.0.12", + "@moonbeam-network/xcm-config": "1.3.24", + "@moonbeam-network/xcm-types": "1.0.3", + "@moonbeam-network/xcm-utils": "1.0.4", "big.js": "^6.2.1" }, "peerDependencies": { diff --git a/packages/types/CHANGELOG.md b/packages/types/CHANGELOG.md index 6ebdc50b..071647ff 100644 --- a/packages/types/CHANGELOG.md +++ b/packages/types/CHANGELOG.md @@ -1,5 +1,14 @@ # @moonbeam-network/xcm-types +## 1.0.3 + +### Patch Changes + +- [#192](https://github.com/moonbeam-foundation/xcm-sdk/pull/192) [`0b3cb1d`](https://github.com/moonbeam-foundation/xcm-sdk/commit/0b3cb1db7897bec9bfd743fe3f8104e480500496) Thanks [@mmaurello](https://github.com/mmaurello)! - Manta - Moonbeam integration and change of repo url + +- Updated dependencies [[`0b3cb1d`](https://github.com/moonbeam-foundation/xcm-sdk/commit/0b3cb1db7897bec9bfd743fe3f8104e480500496)]: + - @moonbeam-network/xcm-utils@1.0.4 + ## 1.0.2 ### Patch Changes diff --git a/packages/types/package.json b/packages/types/package.json index 035fffe7..f918c2ec 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-types", - "version": "1.0.2", + "version": "1.0.3", "description": "Moonbeam XCM Types", "scripts": { "build": "tsup", @@ -49,7 +49,7 @@ "types": "./build/index.d.ts", "main": "./build/index.cjs", "dependencies": { - "@moonbeam-network/xcm-utils": "1.x", + "@moonbeam-network/xcm-utils": "1.0.4", "big.js": "^6.2.1", "type-fest": "^3.8.0" } diff --git a/packages/utils/CHANGELOG.md b/packages/utils/CHANGELOG.md index d7ad1037..764410e7 100644 --- a/packages/utils/CHANGELOG.md +++ b/packages/utils/CHANGELOG.md @@ -1,5 +1,11 @@ # @moonbeam-network/xcm-utils +## 1.0.4 + +### Patch Changes + +- [#192](https://github.com/moonbeam-foundation/xcm-sdk/pull/192) [`0b3cb1d`](https://github.com/moonbeam-foundation/xcm-sdk/commit/0b3cb1db7897bec9bfd743fe3f8104e480500496) Thanks [@mmaurello](https://github.com/mmaurello)! - Manta - Moonbeam integration and change of repo url + ## 1.0.3 ### Patch Changes diff --git a/packages/utils/package.json b/packages/utils/package.json index f895897a..dbbc3389 100644 --- a/packages/utils/package.json +++ b/packages/utils/package.json @@ -1,6 +1,6 @@ { "name": "@moonbeam-network/xcm-utils", - "version": "1.0.3", + "version": "1.0.4", "description": "Moonbeam XCM utilities", "scripts": { "build": "tsup",