Skip to main content
Yanked

This release has been yanked by its maintainers, and will be ignored by installers, except when explicitly specified.
Consider using release 0.1.5 instead.
Reason given by maintainers: update warnings for update

SOLTEX_ROUTER Agent SDK

Fund one treasury. Run 10,000 autonomous agents.

Solana's first zero-gas, MEV-protected intent router for AI Agents.

Stop manually funding hundreds of bot wallets with SOL dust. soltex router is a meta-routing SDK that completely abstracts gas fees and Jito tips, allowing your AI agents to execute swaps with 0.0000 SOL balance.

⚡ Why SOLTEX Router?

❌ The Old Way (Painful)

Managing 50 AI trading bots meant funding 50 separate Keypairs with SOL, calculating dynamic priority fees, guessing Jito tip percentiles, and handling RPC rate limits.

✅ The SOLTEX Way (Intent-Centric)

Deposit SOL into a single Treasury Dashboard. Your agents just sign the intent locally. The SOLTEX Backend sponsors the transaction, auto-injects the 75th-percentile priority fee, routes through Jito Block Engine, and broadcasts it.

🔥 Core Features

  • Absolute Gas Abstraction: Bots can operate with completely empty wallets.
  • 🛡️ Default MEV Protection: 100% of transactions are routed via Jito Private Mempool. Zero sandwich attacks.
  • 🔀 Jupiter API Native: Built-in wrapper for optimal swap routes and instant execution.
  • 🔒 Trustless Architecture: Your agent's private key never leaves the local environment. We only receive a locally partial_signed payload.

📦 Installation

pip install soltex-router

🚀 1-Minute Quick Start

Look how incredibly simple it is to swap tokens without worrying about gas fees.

⚠️ IMPORTANT NOTE: Your agent's wallet needs exactly 0.000 SOL to pay for gas, but it MUST contain the tokens you are trying to swap (e.g., 10 USDC).

import logging
from solders.keypair import Keypair
from soltex_router import AgentRouter

logging.basicConfig(level=logging.INFO)

# 1. Load your AI agent's wallet
# (Ensure this wallet holds the USDC you want to swap. 0 SOL is perfectly fine!)
# but receiving a BRAND NEW token type may require ~0.002 SOL for ATA creation rent!)
PRIVATE_KEY_BASE58 = "your_agent_private_key"
bot_wallet = Keypair.from_base58_string(PRIVATE_KEY_BASE58)
print(f"Agent Wallet: {bot_wallet.pubkey()}")

# 2. Connect to SOLTEX
router = AgentRouter(
    api_key="SOLTEX_your_actual_api_key",  # Issued via SOLTEX Dashboard
    payer=bot_wallet,
    rpc_url="https://mainnet.helius-rpc.com/?api-key=YOUR_API_KEY",
    server_url="https://api.soltex-router.com"
)

def main():
    # 3. Execute Swap via Jupiter (Zero SOL required for gas or tips!)
    print("\nSwapping 10 USDC → SOL...")
    result = router.swap(
        input_mint="EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v", # USDC
        output_mint="So11111111111111111111111111111111111111112", # SOL
        amount=10_000_000, # 10 USDC
        slippage_bps=100   # 1% slippage
    )

    if result["success"]:
        print(f"\n✅ Gasless Swap Confirmed!")
        print(f"TX Hash: {result['tx_hash']}")
        print(f"Explorer: https://solscan.io/tx/{result['tx_hash']}")
    else:
        print(f"\n❌ Swap failed: {result['error']}")

if __name__ == "__main__":
    main()

🔒 Security & ToS By using this SDK, you agree to the SOLTEX Terms of Service. Open Source: This client SDK is 100% transparent. Inspect the code to verify that keys remain strictly on your machine.

⚖️ Legal & Compliance

Disclaimer: This software is provided "AS IS". Use at your own risk. Not financial advice. Not a custodial service.

contact: soltex_router@protonmail.com

Download files

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

Source Distribution

soltex_router-0.1.3.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

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

soltex_router-0.1.3-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file soltex_router-0.1.3.tar.gz.

File metadata

  • Download URL: soltex_router-0.1.3.tar.gz
  • Upload date:
  • Size: 6.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for soltex_router-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e1731af6c7eb016bcaba16ed60771cecf0549d1cfc3144efbad36309385a79a6
MD5 d35c56a43a5d42fa58d6929cf656b078
BLAKE2b-256 c4d7f5678fb60b0831467289b410be024f115967783131e5f39c57cc1d324250

See more details on using hashes here.

File details

Details for the file soltex_router-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: soltex_router-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 6.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.14.7

File hashes

Hashes for soltex_router-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7a0682f47704e866c3cc574f9f876f953d77804181202226305af08fda9a1df4
MD5 dbc35078edee7f89fa92c565a4bf688d
BLAKE2b-256 7c138c331fe32d738541423b571c9d730783d5aed48bcbc8f9110688c333ca77

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.5

2 files

0.1.4

2 files

This release

0.1.3 This release

2 files

Supported by

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