@axonfi/sdk 0.3.5 → 0.3.7

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 CHANGED
@@ -24,6 +24,24 @@ Your agents pay. You stay in control.
24
24
  npm install @axonfi/sdk
25
25
  ```
26
26
 
27
+ ## Prerequisites
28
+
29
+ Before using the SDK, you need an Axon vault with a registered bot:
30
+
31
+ 1. **Deploy a vault** — Go to [app.axonfi.xyz](https://app.axonfi.xyz), connect your wallet, and deploy a vault on your target chain. The vault is a non-custodial smart contract — only you (the owner) can withdraw funds.
32
+
33
+ 2. **Fund the vault** — Send USDC (or any ERC-20) to your vault address. Anyone can deposit directly to the contract.
34
+
35
+ 3. **Register a bot** — In the dashboard, go to your vault → Bots → Add Bot. You can either:
36
+ - **Generate a new keypair** (recommended) — the dashboard creates a key and downloads an encrypted keystore JSON file. You set the passphrase.
37
+ - **Bring your own key** — paste an existing public key if you manage keys externally.
38
+
39
+ 4. **Configure policies** — Set per-transaction caps, daily spending limits, velocity windows, and destination whitelists. The bot can only operate within these bounds.
40
+
41
+ 5. **Get the bot key** — Your agent needs the bot's private key to sign payment intents. Use the keystore file + passphrase (recommended) or export the raw private key for quick testing.
42
+
43
+ The vault owner's wallet stays secure — the bot key can only sign intents within the policies you configure, and can be revoked instantly from the dashboard.
44
+
27
45
  ## Quick Start
28
46
 
29
47
  ### With Encrypted Keystore (recommended)
package/dist/index.cjs CHANGED
@@ -2815,7 +2815,7 @@ var KNOWN_TOKENS = {
2815
2815
  8453: "0x4200000000000000000000000000000000000006",
2816
2816
  84532: "0x4200000000000000000000000000000000000006",
2817
2817
  42161: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1",
2818
- 421614: "0x82aF49447D8a07e3bd95BD0d56f35241523fBab1"
2818
+ 421614: "0x980B62Da83eFf3D4576C647993b0c1D7faf17c73"
2819
2819
  }
2820
2820
  },
2821
2821
  WBTC: {