Solana Integration

Solana integration for KIRAI.

Solana Integration

KIRAI supports Solana blockchain integration, allowing you to manage wallets, check balances, send SOL tokens, and view transaction history — all from within the panel interface. This guide walks you through setting up the integration, connecting wallets, and performing basic blockchain operations.


Prerequisites

Before you begin, make sure you have:

  • Node.js 16+ installed

  • Installed KIRAI locally

  • Basic familiarity with Solana blockchain concepts (wallets, transactions)

  • A Solana wallet keypair JSON file or access to a Solana wallet like Phantom

  • Installed dependencies:

To view a detailed guide on cloning the repo, installing dependencies, and running KIRAI locally, please see the Clone, Install, and Run Locally page.


Key Features:

Setting Up the Solana Connection

You need to create a connection to a Solana RPC endpoint to interact with the blockchain. For development, the devnet cluster is recommended.


Loading Your Wallet

Load a wallet keypair from a local JSON file containing your secret key array.

Note: For frontend apps, use wallet adapters like Phantom to connect securely instead of storing keys.


Checking Wallet Balance

Fetch and display your wallet’s SOL balance:


Sending SOL

Send SOL from your wallet to another address using a simple transaction:


Viewing Transaction History

Retrieve and display recent transactions for your wallet:


UI/UX Recommendations for KIRAI

  • Wallet Connect: Allow users to securely upload keypair files or connect popular wallet extensions (Phantom, Solflare).

  • Balance Display: Show SOL balance and optionally SPL tokens with live updates.

  • Send SOL Form: Simple form for recipient address + amount input with transaction status feedback.

  • Transaction History: Table view with clickable transaction signatures linking to Solana Explorer.

  • Network Switcher: Option to toggle between mainnet-beta, devnet, and testnet.


Next Steps

Once you’ve mastered basic wallet management, consider extending KIRAI with:

  • SPL token support (viewing, minting, transferring)

  • Smart contract (program) interaction UIs

  • Automated monitoring and alerts for wallet activity


Feel free to reach out or open an issue for support or feature requests!

Last updated