Skip to content

Commit

Permalink
update readme - xcm supported messages
Browse files Browse the repository at this point in the history
Fix chains configuration
  • Loading branch information
fersirni committed May 11, 2023
1 parent 997ef0b commit 7521e41
Show file tree
Hide file tree
Showing 3 changed files with 39 additions and 2 deletions.
18 changes: 18 additions & 0 deletions README-es.md
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,24 @@ Al intentar firmar un mensaje en Kuma Wallet, aparecerá una ventana emergente q
![sign-message](./images/sign-message.png)
## XCM - Transacciones Soportadas
| Transacciones | Astar | Moonbeam | Polkadot | Shiden | Moonriver | Kusama |
|---------------|-----------|----------|----------|---------|-----------|---------|
| Astar | Nativa | XCM (E) | XCM (W) |---------|-----------|---------|
| Moonbeam | XCM (W) | Nativa | XCM (W) |---------|-----------|---------|
| Polkadot | XCM (W) | XCM (E) | Nativa |---------|-----------|---------|
| Shiden |-----------|----------|----------| Nativa | XCM (E) | XCM (W) |
| Moonriver |-----------|----------|----------| XCM (W) | Nativa | XCM (W) |
| Kusama |-----------|----------|----------| XCM (W) | XCM (E) | Nativa |
**Nativa**: En este caso, se admite el movimiento de activos entre la misma cadena, pero no requiere ningún mensaje XCM.
**XCM (W)**: Las transacciones XCM se admiten mediante una cuenta WASM.
**XCM (E)**: Las transacciones XCM se admiten mediante una cuenta EVM.
**Nota**: XCM permite que los activos se transfieran entre cadenas, lo que significa, por ejemplo, que algunos DOT se pueden mover de la cadena 'relay' a alguna parachain o incluso entre parachains. Pero NO admite mover tokens a un ecosistema diferente (otro conjunto de cadena 'relay' / parachains). En otras palabras, no se puede enviar DOT a Kusama usando XCM.
## Contribuyendo
Expand Down
19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,25 @@ When attempting to sign a message in Kuma Wallet, a pop-up will appear requestin
![sign-message](./images/sign-message.png)
## XCM - Supported transactions
| Transactions | Astar | Moonbeam | Polkadot | Shiden | Moonriver | Kusama |
|--------------|-----------|----------|----------|---------|-----------|---------|
| Astar | Native | XCM (E) | XCM (W) |---------|-----------|---------|
| Moonbeam | XCM (W) | Native | XCM (W) |---------|-----------|---------|
| Polkadot | XCM (W) | XCM (E) | Native |---------|-----------|---------|
| Shiden |-----------|----------|----------| Native | XCM (E) | XCM (W) |
| Moonriver |-----------|----------|----------| XCM (W) | Native | XCM (W) |
| Kusama |-----------|----------|----------| XCM (W) | XCM (E) | Native |
**Native**: In this case moving assets between the same chain is supported but it does not require any XCM message.
**XCM (W)**: XCM transactions are supported using a WASM account.
**XCM (E)**: XCM transactions are supported using an EVM account.
**Note**: XCM allow assets to be transferred between chains meaning, for example, that some DOT can be moved from the relay-chain to some parachain or even between parachains. But, it does NOT support moving tokens to a different relay-chain/parachains ecosystem. In other words, DOT cannot be sent to Kusama using XCM.
## Contributing
We welcome contributions from the community. If you would like to contribute, please read our [contributing guidelines](./CONTRIBUTING.md).
Expand Down
4 changes: 2 additions & 2 deletions src/constants/chains.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ const MOONRIVER = {
},
logo: "moonriver",
supportedAccounts: [EVM],
xcm: [RELAY_CHAINS.KUSAMA, PARACHAINS.ASTAR],
xcm: [RELAY_CHAINS.KUSAMA, PARACHAINS.SHIDEN],
};

const SHIDEN = {
Expand All @@ -214,7 +214,7 @@ const SHIDEN = {
},
logo: "shiden",
supportedAccounts: [EVM, WASM],
xcm: [RELAY_CHAINS.KUSAMA, PARACHAINS.MOONBEAM],
xcm: [RELAY_CHAINS.KUSAMA, PARACHAINS.MOONRIVER],
};

// TESTNETS
Expand Down

0 comments on commit 7521e41

Please sign in to comment.