ZeroPilot Logo
ZeroPilot
Powered by LayerZero
Back to Home
ZeroPilot Logo
ZeroPilot

Documentation

ZeroPilot is a cross-chain wallet and protocol layer, enabling seamless asset management and swaps between Solana and EVM chains using LayerZero V2. It features a unified SDK for developers and a beautiful dashboard for users.

How It Works

  • Users connect a single wallet (Solana or EVM) and interact with all supported chains from one dashboard.
  • Cross-chain swaps and actions are powered by LayerZero V2 messaging, ensuring secure and fast communication between chains.
  • Solana program manages wallet abstraction and action queue using PDAs. EVM contracts verify and execute cross-chain actions.
  • The SDK abstracts all protocol logic for easy integration into any app.

SDK Usage

The zeropilot-sdk provides a simple TypeScript interface for cross-chain wallet and swap operations:

import { ZeroPilotSDK } from 'zeropilot-sdk';

const sdk = new ZeroPilotSDK();
const wallet = await sdk.connectWallet('solana');
const balance = await sdk.getBalance(wallet.address, 'solana', 'SOL');
const status = await sdk.swap({
  fromChain: 'solana',
  toChain: 'evm',
  fromAddress: wallet.address,
  toAddress: '0x...',
  amount: '1.0',
  token: 'SOL',
}, (status) => console.log(status));

The SDK is currently a stub and will be upgraded to support real wallets, tokens, and chains as the protocol matures.

Future Considerations

  • Adding support for more chains (Aptos, Sui, Cosmos, etc.)
  • Optimizing gas usage and transaction batching
  • Advanced security features and audits
  • Native support for more tokens and NFTs
  • Open-source SDK and developer documentation

Learn More

Check out the landing page or the GitHub repo for more details.