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
  • [wsol_unwrapper] (Optional)
  • Setting Up the WSOL Unwrapper Feature
  • 1. Set up an [[rpc]] configuration section:
  • 2. Set up [wsol_unwrapper] configuration section:
  1. Configurations
  2. bot-config.toml

WSOL Unwrapper

In order to keep your bot performing transactions, we need to ensure that we have enough SOL in our wallets. To do this, NotArb has a WSOL Unwrapper feature where it will monitor and perform transactions through an RPC of your choosing.

[wsol_unwrapper] (Optional)

[wsol_unwrapper]
enabled = false # Enable or disable WSOL unwrapping
rpc = "your-rpc-id" # RPC node identifier
check_minutes = 1 # Interval to check for unwrap necessity
min_sol = 0.5 # Minimum SOL balance to trigger unwrap
unwrap_sol = 1 # Amount of WSOL to unwrap
priority_fee_lamports = 0 # Priority fee in lamports
  • enabled: Toggle true/false WSOL unwrapping.

  • rpc: name you set for the RPC node. This is for balance checks and transactions.

  • check_minutes: Frequency of balance checks.

  • min_sol: SOL threshold to trigger unwrap.

  • unwrap_sol: Amount of WSOL to convert.

  • priority_fee_lamports: Transaction priority fee.

Setting Up the WSOL Unwrapper Feature

1. Set up an [[rpc]] configuration section:

Provide the information of your RPC provider in this section.

[[rpc]]
id="GOAT-NY" # change this to any name you'd like, it's used as an identifier throughout this file
url="http://169.206.169.169:16969" 
http_timeout_ms=5000

For the id setting, you can name this anything. As long as you can reference it exactly in other parts of your configuration that require it, it'll be ok.

2. Set up [wsol_unwrapper] configuration section:

Now you can insert the [wsol_unwrapper] configuration in the bot-config.toml:

[wsol_unwrapper]
enabled=true
rpc="GOAT-NY" # This is what I set in my [[rpc]] setting 
check_minutes=10 
min_sol=0.5 # triggers an unwrap when the sol balance is less than 0.5
unwrap_sol=1 # aims to leave at least 1 SOL unwrapped
priority_fee_lamports=0 # optional, but can help tx land

PreviousGeneral Bot SettingsNextJITO Strategy Settings

Last updated 7 months ago