@anywalletkit/protocol-swap2-cctp 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.
Files changed (2) hide show
  1. package/README.md +11 -0
  2. package/package.json +6 -6
package/README.md CHANGED
@@ -1,10 +1,21 @@
1
1
  # @anywalletkit/protocol-swap2-cctp
2
2
 
3
+ [![npm](https://img.shields.io/npm/v/@anywalletkit/protocol-swap2-cctp?label=npm)](https://www.npmjs.com/package/@anywalletkit/protocol-swap2-cctp)
4
+
3
5
  [Circle CCTP V2](https://developers.circle.com/cctp) as a swap2 provider:
4
6
  native USDC between EVM chains by **burn-and-mint** — no spread, no
5
7
  aggregator fee; Fast Transfer costs the fee Circle publishes per pair (around
6
8
  1 bps), Standard is free and waits for source finality.
7
9
 
10
+ ## Install
11
+
12
+ ```sh
13
+ npm install @anywalletkit/protocol-swap2-cctp @anywalletkit/core
14
+ # or: pnpm add @anywalletkit/protocol-swap2-cctp @anywalletkit/core · yarn add @anywalletkit/protocol-swap2-cctp @anywalletkit/core
15
+ ```
16
+
17
+ On npm: [@anywalletkit/protocol-swap2-cctp](https://www.npmjs.com/package/@anywalletkit/protocol-swap2-cctp), published from the [release workflow](https://github.com/ultratestbro/anywalletkit/blob/main/RELEASING.md) with provenance.
18
+
8
19
  CCTP is **two-phase**. `depositForBurn` on the source chain burns the USDC;
9
20
  Circle's attestation service signs the message; `receiveMessage(message,
10
21
  attestation)` on the destination mints — and that second transaction is the
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@anywalletkit/protocol-swap2-cctp",
3
- "version": "0.1.2",
3
+ "version": "0.1.4",
4
4
  "description": "Circle CCTP V2 for the swap2 engine: native USDC between EVM chains by burn-and-mint (Fast Transfer or Standard), attestation via Circle's Iris API, two-phase delivery with the user's own receiveMessage claim. Bound to Circle's documented contracts and native USDC per domain.",
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.57.2",
50
- "@anywalletkit/protocol-swap2-core": "0.3.0",
51
- "@anywalletkit/swap2-assets": "0.1.2"
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.0"
54
+ "@anywalletkit/core": "0.3.2"
55
55
  },
56
56
  "devDependencies": {
57
57
  "@types/node": "^22",
58
58
  "vitest": "^5.0.3",
59
- "@anywalletkit/conformance": "0.3.0",
60
- "@anywalletkit/core": "0.3.0"
59
+ "@anywalletkit/core": "0.3.2",
60
+ "@anywalletkit/conformance": "0.3.2"
61
61
  },
62
62
  "keywords": [
63
63
  "swap2",