Skip to content

Fourbot

Many of our users have asked how to use o7 Node with FourBot. This guide will show you how to connect FourBot to o7 Node.

What is FourBot?

FourBot is a “sniper” bot with the ability to buy and sell Solana-based cryptocurrencies on the Solana network, with the goal of making profit with quick trades.

Since these bots benefit from high speed and low latency, connecting to a fast and reliable Solana RPC node is essential. o7 Node provides a high-performance Solana RPC node that is perfect for use with FourBot.

Configuration

FourBot uses a configuration file, settings.json, to specify the RPC node it should connect to. To connect FourBot to the o7 Node, you will need to provide the HTTPS endpoint and the WSS (websocket) endpoint URLs.

The node_url and send_txs_node_url parameters represent your HTTPS connections to the o7 Node. The ws_node_url parameter represents the WSS connection to the o7 Node. Your connection details would look like the following:

// Rest of config...
"general": {
"node_url": "https://va.o7node.com/",
"send_txs_node_url": "https://va.o7node.com/",
"ws_node_url": "wss://va.o7node.com/",
// Rest of config...

If you are running a VPS in the same data center as one of our nodes, you can use direct IP addresses instead of domain names for faster connections. See the “Direct Connection details” in the Dashboard for more information.