Skip to main content

Quick Start Guide

Welcome to the Whisky Gaming Protocol! This guide will help you get up and running quickly, whether you’re a developer building games, a player wanting to participate, or a liquidity provider looking to earn fees.

Prerequisites

Before you begin, make sure you have:
  • Solana Wallet: Phantom, Solflare, or any Solana wallet
  • SOL: Some SOL for transaction fees
  • Node.js: Version 16.0.0 or higher (for developers)
  • Basic Knowledge: Understanding of Solana and blockchain concepts

For Players

1. Connect Your Wallet

First, connect your Solana wallet to a Whisky-powered platform:

2. Choose a Game

Browse available games on platforms like:

3. Place Your First Bet

4. Wait for Settlement

Games are settled automatically by the RNG provider:

For Developers

1. Install Dependencies

2. Initialize SDK

3. Create Your First Pool

4. Build a Simple Game

For Liquidity Providers

1. Find a Pool

Browse available pools on the Whisky Explorer:

2. Deposit Liquidity

3. Monitor Earnings

4. Withdraw Liquidity

Advanced Examples

Multi-Outcome Game

Prediction Market

Slot Machine

Testing

Local Development

Test Game Flow

Best Practices

Security

  1. Validate Inputs: Always validate user inputs before sending transactions
  2. Handle Errors: Implement proper error handling for all operations
  3. Test Thoroughly: Test your games extensively before deployment
  4. Monitor Transactions: Track transaction success and failure rates

Performance

  1. Batch Operations: Group multiple operations when possible
  2. Cache Data: Cache frequently accessed data
  3. Optimize Queries: Use efficient database queries
  4. Monitor Costs: Track transaction costs and optimize

User Experience

  1. Clear Feedback: Provide clear feedback for all user actions
  2. Loading States: Show loading states during transactions
  3. Error Messages: Display helpful error messages
  4. Mobile Support: Ensure your app works on mobile devices

Next Steps

Now that you’re familiar with the basics, explore:

Support

Need help? Get support from: Happy building! 🎮