Authentication for Automation
Generate a JWT without the browser:- Sign an EIP-712 auth message with your wallet’s private key
- Submit the signature to Dynamic.xyz to receive a JWT
- Pass the JWT as
Authorization: Bearer <jwt>on all requests
Safety Principles
Test on Base First
Base (chain ID: 8453) has lower gas costs and faster confirmation times. Validate all automation against Base vaults before Ethereum mainnet.Rate Limit Polling
| Data | Recommended Interval |
|---|---|
| Vault state | 15s |
| Analytics overview | 60s |
| Service health | 30s |
Circuit Breakers
Stop automation on consecutive API failures:Validate Before Writing
Before pushing strategy or configuration changes:- Fetch current state
- Validate the proposed change is meaningful
- Confirm yield sources are all still whitelisted
- Apply change
- Re-fetch and verify the change was applied
Example: Strategy-Driven Vault Monitoring
Fetches vault state from Erebor and checks key health indicators:Next Steps
Monitoring
Poll vault state and build alert conditions.
Webhooks
Audit logs as interim event stream.
