Solana Backend

Secure Withdrawals for Your Solana Game

Solana Backend provides a simple, secure, and serverless backend to handle SPL Token withdrawals from your game's treasury to your users.

Core Features

Built for Security and Simplicity

Focus on your game's logic. We handle the secure transfer of assets on the backend.

Secure by Design

Uses a shared secret for authorization. Private keys and configuration are managed via environment variables.

SPL Token Ready

Leverages the official Solana SDKs to transfer any SPL token from a central treasury wallet.

Serverless & Scalable

Built as a Next.js API route, it's easy to deploy on serverless platforms for optimal performance and scalability.

Test Your Withdrawal Setup

Enter your secrets, token info, and a destination wallet to perform a test transaction. Your secrets are NOT stored.

Withdrawal Tester

Use this form to send a test transaction from your treasury wallet.

Integrate with a Simple API Call

Once deployed with your environment variables set, integrate withdrawals into your application by making a single POST request.

curl -X POST 'https://your-app-url.app/api/withdraw' \
-H 'Authorization: Bearer YOUR_SHARED_SECRET' \
-H 'Content-Type: application/json' \
-d '{
  "userWallet": "RecipientWalletAddressHere",
  "amount": 1,
  "tokenMintAddress": "YourSPLTokenMintAddress",
  "network": "devnet"
}'