Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

xcm setup multichain #116

Merged
merged 7 commits into from
Dec 28, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,3 +57,9 @@ Make sure you have setup Rust environment (>= 1.64).
- Run Kusama fork
- Edit configs/kusama.yml if needed. (e.g. update the block number)
- `yarn start dev --config=configs/kusama.yml`

- Setup XCM multichain (UpwardMessages not yet supported)
**_NOTE:_** You can also connect multiple parachains without a relaychain
```bash
yarn start xcm --relaychain=configs/kusama.yml --parachain=configs/karura.yml --parachain=configs/statemine.yml
```
7 changes: 5 additions & 2 deletions configs/karura.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,8 @@ import-storage:
- 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
- token: KUSD
- free: 1000000000000000


-
-
- 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
- token: KSM
- free: '10000000000000000000'
13 changes: 13 additions & 0 deletions configs/statemine.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
endpoint: wss://statemine-rpc.polkadot.io
mock-signature-host: true
block: 3550000
db: ./db.sqlite

import-storage:
System:
Account:
-
-
- 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY
- data:
free: 1000000000000000
Loading