skills/nexus-elements-deposit/SKILL.md
DEPRECATED — The standalone Deposit element (NexusDeposit) has been removed. Use Nexus One (config.mode = "deposit" with opportunities) for all deposit flows. Refer to the nexus-sdk-* agent skills for current integration guidance.
npx skillsauth add availproject/nexus-elements nexus-elements-depositInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
The standalone Deposit element (NexusDeposit) has been removed from Nexus Elements.
All deposit flows (swap + execute into a protocol) are now handled by Nexus One with config.mode = "deposit" and an opportunities array.
Replace any NexusDeposit usage with NexusOne:
import { NexusOne } from "@/components/nexus-one/nexus-one";
import { encodeFunctionData } from "viem";
const AAVE_POOL = "0x794a61358D6845594F94dc1DB02A252b5b4814aD";
const USDT_ARBITRUM = "0xFd086bC7CD5C481DCC9C85ebE478A1C0b69FCbb9";
<NexusOne
config={{
mode: "deposit",
opportunities: [
{
id: "aave-usdt-arbitrum",
title: "Aave",
protocol: "Aave",
subtitle: "Deposit USDT on Arbitrum",
chainId: 42161,
tokenSymbol: "USDT",
tokenAddress: USDT_ARBITRUM,
execute: (amount, connectedAddress) => ({
to: AAVE_POOL,
data: encodeFunctionData({ /* ... */ }),
gas: 300000n,
tokenApproval: {
token: USDT_ARBITRUM,
amount,
spender: AAVE_POOL,
},
}),
},
],
}}
connectedAddress={address}
/>
npx shadcn@latest add @nexus-elements/nexus-one
For integration guidance, refer to the Nexus SDK agent skills (.agents/skills/):
nexus-sdk-setup — SDK initialization and wallet wiringnexus-sdk-swap-flows — swapWithExactIn, swapWithExactOut, swapAndExecutenexus-sdk-hooks-events — intent hooks and event streamingnexus-sdk-balances-metadata-utils — balances, supported chains/tokens, formattersnexus-sdk-integration — end-to-end integration guidedevelopment
DEPRECATED — ViewHistory has been removed. Intent history is not included in Nexus One V1. Use sdk.getMyIntents() directly for programmatic history access. Refer to the nexus-sdk-* agent skills for guidance.
development
DEPRECATED — UnifiedBalance has been removed. Nexus One includes an inline balance view. Refer to the nexus-sdk-* agent skills for balance API guidance.
development
DEPRECATED — FastTransfer has been removed. Use Nexus One (config.mode = "send") for all cross-chain recipient transfer flows. Refer to the nexus-sdk-* agent skills for current integration guidance.
development
DEPRECATED — SwapWidget has been removed. Use Nexus One (config.mode = "swap") for all cross-chain swap and bridge flows. Refer to the nexus-sdk-* agent skills for current integration guidance.