nexus-one-deposit
Installation
SKILL.md
Nexus One - Protocol Deposits
Use the Nexus One component with config.mode = "deposit" to allow users to pay for a smart contract execution/deposit on a destination chain with assets from any source chain. Nexus One resolves pay-with assets, handles the cross-chain swap, and executes your custom deposit payload in a single flow.
1. Installation
Install dependencies and the component via the shadcn CLI:
npx shadcn@latest add @nexus-elements/nexus-one
Make sure peer dependencies are installed:
npm install @avail-project/nexus-core@1.6.0 decimal.js lucide-react viem wagmi class-variance-authority clsx tailwind-merge