@candledottv/agent-sdk 0.6.2 → 0.6.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 CHANGED
@@ -130,10 +130,19 @@ const fill = await candle.trade({ mint: "9dXSV8...CNDL", side: "buy", amountRaw:
130
130
  - `getPortfolio()`, `getProfilePnl(keyPrefix)`, `getProfileTrades(keyPrefix)` and
131
131
  `getSpendLimits()` read the account's holdings, a profile's P&L and fills, and this key's caps.
132
132
  - `fees.list()` and `fees.claim(mint, { dryRun })` read what the account's launched tokens can pay in creator fees and claim it to the wallet fixed at launch (off until the server enables it).
133
- - `closeEmptyAccounts()` closes the embedded wallet's empty token accounts and returns the rent.
133
+ - `closeEmptyAccounts()` closes the embedded wallet's empty token accounts and returns the rent;
134
+ with `wallet` and `privyWalletId`, a Solana TEE wallet's, signed through `signLinkedTransaction()`.
134
135
  - The `perps*` methods (`perpsSetup`, `perpsOpen`, `perpsClose`, `perpsOrders`,
135
136
  `perpsPositions`, ...) drive Hyperliquid perps.
136
137
 
138
+ Perps setup and signing use this release's builder pin,
139
+ `0xc43ff1f6ad9f93fc94558e07c2071b8458e7470b`, independently of the API.
140
+ `hyperliquidBuilder` deliberately replaces that trust anchor with an explicit nonzero EVM
141
+ address; empty or invalid overrides refuse rather than fall back. The local
142
+ `preview.builderTrust` records the expected address and whether it came from the release or
143
+ an override. Setup answers (including `ready`) and fee-bearing actions naming another builder
144
+ are refused before signing. Builder rotation requires a reviewed client release.
145
+
137
146
  Limit orders are a REST surface only (`/api/v1/trade/agent/orders`); the SDK has no method for
138
147
  them.
139
148