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]
(Optional)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.
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:
Last updated