NotArb - Solana Arbitrage Bot
  • Getting Started
    • Welcome
    • Changelog
    • The Basics
  • Setup
    • Start Here!
    • Prerequisites
      • Recommended Apps
      • RPC Providers
      • Linux Machines
    • Logging in Using SSH
    • Securing Your Machine
      • User Management
      • SSH Key-Based Authentication
      • Setting up UFW
      • Setting up fail2ban
      • Securing Wallet Private Key
    • Setting up for FTP
    • Initial Setup of NotArb
    • Using Screens
    • Making a Solana Wallet
  • Configurations
    • Using Nano
    • Config Basics
    • bot-config.toml
      • General Bot Settings
      • WSOL Unwrapper
      • JITO Strategy Settings
      • Spam Strategy Settings
      • Token Lists Settings
      • Swap Settings
    • jupiter-config.toml
      • Manager Settings
      • Env Settings
      • Mint Filters
    • Shell Scripts
      • run-bot.sh
      • run-jupiter.sh
      • run-screens.sh
  • Usage
    • Strategies
      • Jito Strategy
      • Spam Strategy
    • Updating
  • EXPERIMENTAL FEATURES
    • Overview & Caution
    • New Setup Configurations
  • New Mint Configurations
  • Default Strategy Fields
  • Jito Example
  • Spam Example
  • Extra Features
  • Support
    • FAQ
    • Common Issues
    • Troubleshooting
    • NotArb Docs Tracker
    • Contact
Powered by GitBook
On this page

Spam Example

Basic Spam Example Configuration

[bot_misc]
keypair_path="/path/to/keypair.json"
protect_keypair=true
acknowledge_terms_of_service=false
acknowledge_external_price_risk=false
acknowledge_experimental_release=false

[jupiter]
url="http://127.0.0.1:8080"
workers=6
connect_timeout_ms=1000
request_timeout_ms=1000

[blockhash_fetcher]
rpc_url="http://111.222.333.69:8899/"

[token_accounts_fetcher]
rpc_url="http://111.222.333.69:8899/"

[[file_mints]]
enabled=true
update_seconds=10
path="/path/to/mints.txt"

[plugin]
class="org.notarb.DefaultSpam"

[[spam_rpc]]
enabled=true
id = "test"
url = "http://123.45.67.89:8899"

busy_workers = 2
spin_workers = 0
yield_workers = 0

connect_timeout_ms = 5000
request_timeout_ms = 5000
idle_timeout_ms = 10_000

[[swap]]
enabled=true
mint="SOL"

[swap.strategy_defaults]
cooldown_ms=10
max_opportunity_age_ms=100

[[swap.strategy]]
min_spend=0.0001
max_spend=0.1
cu_limit=369369
min_priority_fee_lamports=187
max_priority_fee_lamports=369
min_gain_lamports=5000
spam_senders=[
    { rpc="test", skip_preflight=true, max_retries=0 },
    { rpc="test", skip_preflight=true, max_retries=0 },
]
PreviousJito ExampleNextExtra Features

Last updated 2 months ago