Nexus SDK Overview
A powerful TypeScript SDK for cross-chain operations, token bridging, and unified balance management across multiple EVM chains.
Nexus Core
The core functionality of the Nexus SDK is provided by the @avail-project/nexus-core package.
- @avail-project/nexus-core: Headless SDK for cross-chain operations
- No React dependencies required
- Direct Chain Abstraction integration
Install:
npm
Terminal
npm install @avail-project/nexus-core@1.0.0-rc.3Next Steps
- Nexus Core SDK still requires an injected wallet provider (e.g. MetaMask, WalletConnect, etc.)
- It is designed for client-side browser environments and cannot be used in any server-side environments.
Nexus Elements
A shadcn-based component library that allows devs to integrate working components that use the Nexus SDK effectively and conveniently. Nexus Elements currently provides the following components:
- Unified Balance Widget (UnififedBalance)
- Fast Transfer Widget (FastTransfer)
- Fast Bridge Widget (FastBridge)
- Deposit Widget (NexusDeposit)
- Swaps Widget (Swaps)
Install:
-
Install
shadcn/uiinto your project. Refer to shadcn/ui installation guide for more details. -
Install the components you need using the shadcn CLI. For example, this is how you would install the unified balance widget:
npm
Terminal
npx shadcn@latest add https://elements.nexus.availproject.org/r/unified-balance.jsonNexus Elements in Action
Next Steps
Last updated on