Skip to main content

Autonomous trading bots SDK for Solana - Self-replicating, AI-powered trading infrastructure

Project description

BLOT SDK

Autonomous trading bots for Solana — Self-replicating, AI-powered trading infrastructure.

PyPI version Python 3.9+ License: MIT

Features

  • 🤖 AI-Powered — Integrated with OpenClaw for intelligent decision making
  • 🔄 Self-Cloning — Bots automatically replicate across nodes for 99.99% uptime
  • 🔒 Zero-Logging — Complete privacy, no transaction data stored
  • High Speed — Sub-50ms execution on Solana
  • 🛠️ Easy to Use — Simple Python API for complex trading strategies

Installation

pip install blot

Quick Start

from blot import Bot, SniperBot, DCABot

# Initialize with your wallet
bot = Bot(
    private_key="your_private_key",
    rpc_url="https://api.mainnet-beta.solana.com"
)

# Create a sniper bot
sniper = SniperBot(
    target="new",           # Snipe all new tokens
    buy_amount=0.5,         # Buy with 0.5 SOL
    take_profit=[2.0, 5.0], # Sell at 2x and 5x
    stop_loss=0.5,          # Stop loss at -50%
)

# Deploy to BLOT infrastructure
bot.deploy(sniper, duration_days=30)

Available Bots

Sniper Bot

Instantly purchase tokens the moment liquidity is added.

from blot import SniperBot

bot = SniperBot(
    target="new",
    buy_amount=0.5,
    min_liquidity=10,
    take_profit=[2.0, 5.0, 10.0],
    stop_loss=0.5,
    check_honeypot=True,
    check_rug=True,
)

DCA Bot

Dollar-cost averaging into any Solana token.

from blot import DCABot

bot = DCABot(
    token="SOL",
    amount=100,              # USDC per purchase
    frequency="daily",
    time="09:00",
    buy_only_below=150,      # Only buy if SOL < $150
)

Copy Trade Bot

Mirror the trades of successful wallets.

from blot import CopyTradeBot

bot = CopyTradeBot(
    wallets=["wallet1...", "wallet2..."],
    size_mode="percentage",
    size_value=10,           # 10% of their trade size
    copy_sells=True,
)

Grid Bot

Profit from sideways markets with automated grid trading.

from blot import GridBot

bot = GridBot(
    base_token="SOL",
    quote_token="USDC",
    lower_price=120,
    upper_price=180,
    grid_count=20,
    total_investment=100,
)

Self-Cloning

BLOT bots automatically clone themselves across distributed nodes:

bot = SniperBot(
    # ... config ...
    clone_count=5,                    # Minimum active clones
    regions=["us", "eu", "asia"],     # Geographic distribution
    failover_timeout=100,             # ms before electing new leader
)

AI Integration

Leverage OpenClaw AI for intelligent trading decisions:

from blot import Bot, AI

bot = Bot(private_key="...")

# AI-powered market analysis
analysis = await bot.ai.analyze_token("JUP")
print(analysis.sentiment)      # bullish/bearish
print(analysis.risk_score)     # 0-100
print(analysis.recommendation) # buy/sell/hold

# AI-filtered copy trading
copy_bot = CopyTradeBot(
    wallets=["..."],
    ai_filter=True,
    ai_confidence_threshold=0.7,
)

Documentation

Full documentation available at blot.trade/docs

Requirements

  • Python 3.9+
  • Solana wallet with SOL for transaction fees
  • $BLOT tokens for runtime access

Links

License

MIT License - see LICENSE for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blot_sdk-0.1.0.tar.gz (13.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

blot_sdk-0.1.0-py3-none-any.whl (15.9 kB view details)

Uploaded Python 3

File details

Details for the file blot_sdk-0.1.0.tar.gz.

File metadata

  • Download URL: blot_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 13.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for blot_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 62ba22163a7fe7f972a9db5ed3074e70f3dc2eff6efea3a7196b80c4b674e34c
MD5 21f47ddac9a1c5df1334722d360d09df
BLAKE2b-256 b5b3c5c270c49a7ed7c7e401763b0388ba891264dafc8a3e9c944dd77a52235f

See more details on using hashes here.

File details

Details for the file blot_sdk-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: blot_sdk-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 15.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.9

File hashes

Hashes for blot_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ef9ad608f6bc0fee863a3ea1bc02048b6b12ecdf890aa0e0f6562a3e97d51db6
MD5 e0fa1ca011acb8478b52f3800766b01e
BLAKE2b-256 39c7eed2b2c37cd51212ca35d40e381187a45192426f4a1cb5b28788359faffb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page