Skip to main content
MoonKey wallets are fully compatible with @solana/web3.js, allowing you to use standard Solana development patterns and tools.

Overview

MoonKey’s embedded Solana wallets work seamlessly with the official Solana JavaScript library. You can:
  • Use standard Transaction and Connection classes
  • Leverage existing Solana tools and libraries
  • Follow familiar Solana development patterns
  • Integrate with Solana ecosystem libraries
MoonKey wallets implement the Solana wallet standard, making them compatible with any library that supports standard Solana wallets.

Basic Usage

Common Use Cases

Get Account Balance

Get Account Info

SPL Token Operations

Working with Programs

Complete Example

Here’s a complete example showing balance checking and transfers:

Install Dependencies

Send Transaction

Use MoonKey’s native transaction sending

Sign Transaction

Sign transactions without broadcasting

Solana Web3.js

Official Solana JavaScript library

SPL Token

SPL Token program documentation

Next Steps