@paraspell/sdk 5.6.0 → 5.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -7
- package/dist/index.cjs +1068 -172
- package/dist/index.d.ts +97 -39
- package/dist/index.mjs +1059 -170
- package/package.json +16 -26
package/README.md
CHANGED
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<img alt="snyk" src="https://snyk.io/test/github/paraspell/sdk/badge.svg" />
|
|
18
18
|
</a>
|
|
19
19
|
</p>
|
|
20
|
-
<p>Currently supporting
|
|
20
|
+
<p>Currently supporting 55 Polkadot & Kusama nodes list <a href = "https://github.com/paraspell/xcm-tools/blob/main/packages/sdk/docs/supportedNodes.md"\>[here]</p>
|
|
21
21
|
<p>SDK documentation <a href = "https://paraspell.github.io/docs/" \>[here]</p>
|
|
22
22
|
</div>
|
|
23
23
|
|
|
@@ -58,14 +58,15 @@ const paraspell = require('@paraspell/sdk')
|
|
|
58
58
|
```
|
|
59
59
|
NOTES:
|
|
60
60
|
- If you wish to transfer from Parachain that uses long IDs for example Moonbeam you have to add the character 'n' to the end of currencyID. Eg: .currency(42259045809535163221576417993425387648n) will mean you transfer xcDOT.
|
|
61
|
-
- You can now use custom ParachainIDs if you wish to test in TestNet. Just add parachainID as an additional parameter eg: .to('Basilisk', 2948)
|
|
61
|
+
- You can now use custom ParachainIDs if you wish to test in TestNet. Just add parachainID as an additional parameter eg: .to('Basilisk', 2948).
|
|
62
62
|
- You can now add an optional parameter useKeepAlive which will ensure, that you send more than the existential deposit.
|
|
63
63
|
- Since v5 you can fully customize all multilocations (address, currency and destination). Instead of a string parameter simply pass an object with multilocation instead for more information refer to the following PR https://github.com/paraspell/xcm-tools/pull/199.
|
|
64
64
|
- Fee asset is now a required builder parameter when you enter a multilocation array.
|
|
65
65
|
- When using a multilocation array the amount parameter is overridden.
|
|
66
66
|
- Multilocation arrays are now available. Customize your asset multilocations by .currency([{multilocation1},{multilocation2}..{multilocationN}]) For more information refer to the official documentation or following PR https://github.com/paraspell/xcm-tools/pull/224.
|
|
67
|
-
- POLKADOT <> KUSAMA Bridge is now available! Try sending DOT or KSM between AssetHubs.
|
|
67
|
+
- POLKADOT <> KUSAMA Bridge is now available! Try sending DOT or KSM between AssetHubs - More information here: https://paraspell.github.io/docs/sdk/xcmPallet.html#ecosystem-bridges.
|
|
68
68
|
- You can now customize XCM Version! Try using .xcmVersion parameter after address in builder.
|
|
69
|
+
- POLKADOT <> ETHEREUM Bridge is now available! Try sending WETH between the ecosystems - More information here: https://paraspell.github.io/docs/sdk/xcmPallet.html#ecosystem-bridges.
|
|
69
70
|
```
|
|
70
71
|
|
|
71
72
|
### Builder pattern:
|
|
@@ -347,11 +348,8 @@ Published under [MIT License](https://github.com/paraspell/xcm-tools/blob/main/p
|
|
|
347
348
|
<a href="https://github.com/w3f/Grants-Program/pull/1245">
|
|
348
349
|
<img width="200" alt="version" src="https://user-images.githubusercontent.com/55763425/211145923-f7ee2a57-3e63-4b7d-9674-2da9db46b2ee.png" />
|
|
349
350
|
</a>
|
|
350
|
-
<a href="https://kusama.subsquare.io/referenda/
|
|
351
|
+
<a href="https://kusama.subsquare.io/referenda/417">
|
|
351
352
|
<img width="200" alt="version" src="https://github.com/paraspell/xcm-sdk/assets/55763425/9ed74ebe-9b29-4efd-8e3e-7467ac4caed6" />
|
|
352
353
|
</a>
|
|
353
|
-
<a href="https://bsx.fi/">
|
|
354
|
-
<img width="200" alt="version" src="https://user-images.githubusercontent.com/55763425/204865221-90d2b3cd-f2ac-48a2-a367-08722aa8e923.svg" />
|
|
355
|
-
</a>
|
|
356
354
|
</p>
|
|
357
355
|
</div>
|