Repository navigation
v1.1.5
What's Changed
Agent-Wallet SDK Alignment
This release completes the migration to the @bankofai/agent-wallet SDK (v2.2.0), unifying all wallet and environment handling under a single, robust layer.
Static Mode Support
The server now fully leverages the SDK's built-in Static Mode:
- Environment variables (
AGENT_WALLET_PRIVATE_KEY,AGENT_WALLET_MNEMONIC, etc.) are now resolved entirely by theagent-walletSDK layer. - Backward-compatible variables (
TRON_PRIVATE_KEY,TRON_MNEMONIC) continue to be supported via the server's environment mapping. - The server gracefully detects unconfigured wallets and automatically hides wallet-dependent tools — no explicit wallet configuration is needed for read-only usage.
Environment Variables Reference
| Variable | Description |
|---|---|
AGENT_WALLET_PASSWORD |
Enable Encrypted Storage Mode (recommended) |
AGENT_WALLET_DIR |
Directory for keystore (default: ~/.agent-wallet) |
AGENT_WALLET_PRIVATE_KEY |
Static Mode — provide a raw private key |
AGENT_WALLET_MNEMONIC |
Static Mode — provide a BIP-39 mnemonic |
AGENT_WALLET_MNEMONIC_ACCOUNT_INDEX |
HD wallet account index (default: 0) |
TRON_PRIVATE_KEY |
Legacy alias for AGENT_WALLET_PRIVATE_KEY |
TRON_MNEMONIC |
Legacy alias for AGENT_WALLET_MNEMONIC |
Upgrade Notes
- No breaking changes. Existing configurations using
TRON_PRIVATE_KEYorTRON_MNEMONICcontinue to work. - If you were using a
2.2.0-beta.*version of@bankofai/agent-wallet, please update to^2.2.0. - Run
npm installafter updating to sync the lockfile.