Arcadia Game SDK
Integrate wallet connectivity and payment processing into your Web3 games
Quick Start
Complete copy-paste ready example - perfect for AI IDEs
Getting Started
Step-by-step guide to integrate the SDK into your game
Installation
Install via NPM or CDN and configure your project
API Reference
Complete API documentation with examples
Features
Wallet Integration
Get wallet addresses, check connection status, and listen for wallet changes. Use wallet addresses as universal user identifiers.
Payment Processing
Handle pay-to-play and in-game purchases seamlessly. All payment details included - no blockchain queries needed.
Zero Dependencies
Lightweight SDK with minimal bundle size. Works in all modern browsers without polyfills.
TypeScript Support
Full TypeScript definitions included. Type-safe development with IntelliSense support.
Quick Start
import { ArcadiaSDK } from '@arcadiasol/sdk';
// Initialize SDK
const arcadia = new ArcadiaSDK({
gameId: 'your-game-id',
});
await arcadia.init();
// Get wallet address
const walletAddress = await arcadia.getWalletAddress();
// Process payment
const result = await arcadia.payment.payToPlay(0.5, 'SOL');
console.log('Payment successful!', result.txSignature);