Documentation>AVAX Installation

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 path
import { 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 / frontend
pk_nogas_xxx
 
# Backend / server
sk_nogas_xxx