moonbeam-foundation / xcm-sdk

The Moonbeam XCM SDK enables developers to easily transfer assets between chains, either between parachains or between a parachain and the relay chain, within the Polkadot/Kusama ecosystem. With the SDK, you don't need to worry about determining the multilocation of the origin or destination assets or which extrinsics are used on which networks to
https://moonbeam-foundation.github.io/xcm-sdk/latest/
MIT License
14 stars 9 forks source link

Added util function getSovereignAccountAddresses #226

Closed ekenigs closed 6 months ago

ekenigs commented 6 months ago

Description

Basically, I implemented what we have here https://docs.moonbeam.network/builders/interoperability/xcm/xc-registration/xc-integration/ but without using api. The script itself is here: https://github.com/Moonsong-Labs/xcm-tools/blob/main/scripts/calculate-sovereign-account.ts.

Checklist

changeset-bot[bot] commented 6 months ago

🦋 Changeset detected

Latest commit: c04127651cee15ac8547f7f04efe8a545969c8b8

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 5 packages | Name | Type | | ----------------------------- | ----- | | @moonbeam-network/xcm-utils | Patch | | @moonbeam-network/xcm-builder | Patch | | @moonbeam-network/xcm-sdk | Patch | | @moonbeam-network/xcm-types | Patch | | @moonbeam-network/xcm-config | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR