Skip to main content

React Toolkit

Complete React component library for building wallet tracking interfaces.

Installation

path=null start=null
npm install @solar-sentra/react

Components

WalletTracker
path=null start=null
import { WalletTracker } from '@solar-sentra/react';

function App() {
  return (
    <WalletTracker
      address="7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU"
      showBalance={true}
      showTransactions={true}
      theme="dark"
    />
  );
}
TransactionList
path=null start=null
import { TransactionList } from '@solar-sentra/react';

<TransactionList
  address={walletAddress}
  limit={50}
  onTransactionClick={(tx) => console.log(tx)}
/>

Next.js Template

Production-ready Next.js template with Solar Sentra integration.
path=null start=null
npx create-next-app --example solar-sentra my-wallet-app
Features:
  • Server-side rendering with API routes
  • Authentication with NextAuth.js
  • Real-time updates via WebSocket
  • Responsive dashboard UI
  • TypeScript support

Discord Bot

Deploy a Discord bot for community wallet tracking.

Setup

path=null start=null
git clone https://github.com/solar-sentra/discord-bot
cd discord-bot
npm install

Configuration

path=null start=null
DISCORD_TOKEN=your_discord_token
SOLAR_SENTRA_API_KEY=your_api_key
TRACKED_WALLETS=wallet1,wallet2,wallet3
NOTIFICATION_CHANNEL=123456789

Commands

  • /track <address> - Start tracking a wallet
  • /untrack <address> - Stop tracking
  • /balance <address> - Check wallet balance
  • /alerts set <address> <condition> - Set custom alert

Telegram Bot

Monitor wallets directly in Telegram. Bot Username: @SolarSentraBot

Features

  • Real-time transaction notifications
  • Portfolio summary on demand
  • Price alerts for tokens
  • Multi-wallet management

Data Pipeline

ETL toolkit for exporting Solar Sentra data to external systems.

Supported Destinations

  • PostgreSQL
  • MongoDB
  • Redis
  • Elasticsearch
  • Google BigQuery
  • AWS S3

Example Configuration

path=null start=null
source:
  type: solar-sentra
  api_key: ${SOLAR_SENTRA_API_KEY}
  wallets:
    - 7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU

destination:
  type: postgresql
  host: localhost
  database: wallet_analytics
  table: transactions

transform:
  - filter: transaction.amount > 100
  - enrich: token_metadata
  - aggregate: daily_volume

Monitoring Dashboard

Grafana dashboard templates for operational monitoring.

Metrics Included

  • API request latency
  • WebSocket connection count
  • Transaction processing rate
  • Error rate by endpoint
  • Rate limit utilization

Installation

path=null start=null
grafana-cli plugins install solar-sentra-datasource
Import dashboard ID: 18492

Testing Framework

Comprehensive testing utilities for CI/CD integration.
path=null start=null
import { SolarSentraTestClient } from '@solar-sentra/testing';

describe('Wallet Tracking', () => {
  const client = new SolarSentraTestClient();

  beforeEach(() => {
    client.reset();
  });

  it('should track wallet successfully', async () => {
    const wallet = await client.wallet.track('TEST_WALLET_ACTIVE');
    expect(wallet.balance).toBeGreaterThan(0);
  });

  it('should receive transaction events', (done) => {
    const sub = client.wallet.subscribe('TEST_WALLET_ACTIVE');
    sub.on('transaction', (tx) => {
      expect(tx.signature).toBeDefined();
      done();
    });
    client.simulateTransaction('TEST_WALLET_ACTIVE');
  });
});

Mobile SDK

Native mobile SDKs for iOS and Android.

iOS (Swift)

path=null start=null
import SolarSentra

let client = SolarSentra(apiKey: "your_api_key")

client.wallet.track(address: "7xKXtg2CW87...") { result in
    switch result {
    case .success(let wallet):
        print("Balance: \(wallet.balance)")
    case .failure(let error):
        print("Error: \(error)")
    }
}

Android (Kotlin)

path=null start=null
val client = SolarSentra("your_api_key")

client.wallet.track("7xKXtg2CW87...") { result ->
    result.onSuccess { wallet ->
        println("Balance: ${wallet.balance}")
    }.onFailure { error ->
        println("Error: $error")
    }
}
All toolkits are maintained by the Solar Sentra team and receive regular updates.
I