Arcadia SDK - Basic Integration

Initializing SDK...

Wallet Information

Connected: Checking...

Wallet Address:

Not available

Actions

Code Example

// Initialize SDK
const arcadia = new ArcadiaGameSDK({
  gameId: 'example-game',
});

await arcadia.init();

// Get wallet address
const walletAddress = await arcadia.getWalletAddress();

if (!walletAddress) {
  console.log('Wallet not connected');
} else {
  console.log('Wallet address:', walletAddress);
  // Use wallet address as user ID
  // Link all save data to this address
}