AVAX Installation
Install only what you need for Avalanche ERC-4337 integration.
Core package
Use the AVAX subpath export for all Avalanche integrations.
Terminal
npm install @smoothsend/sdk
TypeScript
// AVAX-only import pathimport { SmoothSendAvaxClient } from '@smoothsend/sdk/avax';Backend dependencies
For Node/server-side AVAX userOp signing and submission.
Terminal
npm install viem
Frontend React dependencies
Needed only when using
SmoothSendAvaxProvider and useSmoothSendAvax.Terminal
npm install viem wagmi @tanstack/react-query react
Key types
Terminal
# Browser / frontendpk_nogas_xxx # Backend / serversk_nogas_xxx