zerion-trails-deposit
Installation
SKILL.md
Zerion — Trails DeFi Vault Deposit
Bridge tokens from any chain and deposit directly into a DeFi vault on Polygon in a single intent, powered by Trails. Trails handles routing, cross-chain settlement, and the vault deposit call atomically. Pair with the Zerion CLI to fund the wallet and verify the resulting vault position.
Setup
1. Get a Trails API key
Visit https://dashboard.trails.build to create an account and generate a key.
2. Install
# Widget or hooks (React / Next.js) + calldata encoding
npm install 0xtrails viem
# Direct API (Node.js / backend)
npm install @0xtrails/api viem