@anywalletkit/protocol-swap2-thorchain 0.1.2 → 0.1.4
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 +11 -0
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
# @anywalletkit/protocol-swap2-thorchain
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@anywalletkit/protocol-swap2-thorchain)
|
|
4
|
+
|
|
3
5
|
THORChain native cross-chain swaps as a swap2 module: EVM sources (Ethereum,
|
|
4
6
|
Base, BSC, Avalanche) deposit into the THORChain router with
|
|
5
7
|
`depositWithExpiry(vault, asset, amount, memo, expiry)`; Tron executes as a
|
|
6
8
|
native send to the inbound vault with a memo. Standalone through
|
|
7
9
|
`ThorchainSwap2Protocol`, or as one provider of the router.
|
|
8
10
|
|
|
11
|
+
## Install
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
npm install @anywalletkit/protocol-swap2-thorchain @anywalletkit/core
|
|
15
|
+
# or: pnpm add @anywalletkit/protocol-swap2-thorchain @anywalletkit/core · yarn add @anywalletkit/protocol-swap2-thorchain @anywalletkit/core
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
On npm: [@anywalletkit/protocol-swap2-thorchain](https://www.npmjs.com/package/@anywalletkit/protocol-swap2-thorchain), published from the [release workflow](https://github.com/ultratestbro/anywalletkit/blob/main/RELEASING.md) with provenance.
|
|
19
|
+
|
|
9
20
|
## Activity
|
|
10
21
|
|
|
11
22
|
Routers and Asgard vaults rotate, so `describeActivity(tx, ctx)` matches no
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anywalletkit/protocol-swap2-thorchain",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://docs.anywallet.tech",
|
|
@@ -47,17 +47,17 @@
|
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"viem": "^2.45.0",
|
|
50
|
-
"@anywalletkit/protocol-swap2-core": "0.3.
|
|
51
|
-
"@anywalletkit/swap2-assets": "0.1.
|
|
50
|
+
"@anywalletkit/protocol-swap2-core": "0.3.2",
|
|
51
|
+
"@anywalletkit/swap2-assets": "0.1.4"
|
|
52
52
|
},
|
|
53
53
|
"peerDependencies": {
|
|
54
|
-
"@anywalletkit/core": "0.3.
|
|
54
|
+
"@anywalletkit/core": "0.3.2"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
57
|
"@types/node": "^22",
|
|
58
58
|
"vitest": "^5.0.3",
|
|
59
|
-
"@anywalletkit/
|
|
60
|
-
"@anywalletkit/
|
|
59
|
+
"@anywalletkit/core": "0.3.2",
|
|
60
|
+
"@anywalletkit/conformance": "0.3.2"
|
|
61
61
|
},
|
|
62
62
|
"keywords": [],
|
|
63
63
|
"publishConfig": {
|