@anywalletkit/protocol-swap2-balancer 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-balancer
|
|
2
2
|
|
|
3
|
+
[](https://www.npmjs.com/package/@anywalletkit/protocol-swap2-balancer)
|
|
4
|
+
|
|
3
5
|
Balancer v2 same-chain swaps as a swap2 module: Smart Order Router paths from
|
|
4
6
|
the Balancer API, `queryBatchSwap` on the Vault for the on-chain quote,
|
|
5
7
|
`batchSwap` execution, on the chains in `BALANCER_V2_CHAINS` (Vault `WETH()`
|
|
6
8
|
verified before use). Standalone through `BalancerSwap2Protocol`, or as one
|
|
7
9
|
provider of the router.
|
|
8
10
|
|
|
11
|
+
## Install
|
|
12
|
+
|
|
13
|
+
```sh
|
|
14
|
+
npm install @anywalletkit/protocol-swap2-balancer @anywalletkit/core
|
|
15
|
+
# or: pnpm add @anywalletkit/protocol-swap2-balancer @anywalletkit/core · yarn add @anywalletkit/protocol-swap2-balancer @anywalletkit/core
|
|
16
|
+
```
|
|
17
|
+
|
|
18
|
+
On npm: [@anywalletkit/protocol-swap2-balancer](https://www.npmjs.com/package/@anywalletkit/protocol-swap2-balancer), published from the [release workflow](https://github.com/ultratestbro/anywalletkit/blob/main/RELEASING.md) with provenance.
|
|
19
|
+
|
|
9
20
|
## Activity
|
|
10
21
|
|
|
11
22
|
`describeActivity(tx, ctx)` recognizes `batchSwap` `0x945bcec9` and `swap`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@anywalletkit/protocol-swap2-balancer",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.4",
|
|
4
4
|
"description": "Balancer v2 same-chain swaps: routes suggested by the Balancer SOR API, priced and enforced on-chain by the Vault (queryBatchSwap → batchSwap with limits). The cp0x permissionless Balancer venue.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://docs.anywallet.tech",
|
|
@@ -42,17 +42,17 @@
|
|
|
42
42
|
],
|
|
43
43
|
"dependencies": {
|
|
44
44
|
"viem": "^2.57.2",
|
|
45
|
-
"@anywalletkit/protocol-swap2-core": "0.3.
|
|
46
|
-
"@anywalletkit/swap2-assets": "0.1.
|
|
45
|
+
"@anywalletkit/protocol-swap2-core": "0.3.2",
|
|
46
|
+
"@anywalletkit/swap2-assets": "0.1.4"
|
|
47
47
|
},
|
|
48
48
|
"peerDependencies": {
|
|
49
|
-
"@anywalletkit/core": "0.3.
|
|
49
|
+
"@anywalletkit/core": "0.3.2"
|
|
50
50
|
},
|
|
51
51
|
"devDependencies": {
|
|
52
52
|
"@types/node": "^22",
|
|
53
53
|
"vitest": "^5.0.3",
|
|
54
|
-
"@anywalletkit/conformance": "0.3.
|
|
55
|
-
"@anywalletkit/core": "0.3.
|
|
54
|
+
"@anywalletkit/conformance": "0.3.2",
|
|
55
|
+
"@anywalletkit/core": "0.3.2"
|
|
56
56
|
},
|
|
57
57
|
"keywords": [
|
|
58
58
|
"balancer",
|