SALEUp to 77% off

Solana & memecoins · Digital guide

Test a Solana Bot in Log-Only Mode

Test Solana bot rules in log-only mode by recording intended actions, input data and rejection reasons before adding order execution.

View the guide →

One-time payment · Instant download

Level
Intermediate
First pass
About 3 hours
Mode
Research and simulation only
Format
Digital guide, self-paced

What you’ll work on

A log-only run tells you whether the rule fired and why. The output is a record of the intended action. Save both passing and rejected checks, along with the snapshot time. If liquidity data is missing and your rule says to wait, the log should record that reason instead of silently skipping the token.

What you need before you start

How to approach the project

  1. Disable order authorization

    Keep any signing path outside this run and leave real swap credentials out of the configuration. Start the scanner with sample data and confirm the output is a list of proposed actions and arguments. Save that output even when every row produces a wait decision.

  2. Use deliberate fixtures

    Include a stale quote, two copies of one signal and a missing holder field. Write down the expected result for each fixture before the run. Confirm the output includes the exact input responsible for the decision and the rules version that produced it.

  3. Review the missing decisions

    Count input rows and log rows by event type and inspect any gap. Determine whether a rule rejected the candidate, the parser dropped the input or the run stopped collecting data. Verify the decision logic before modeling fills, fees or price impact.

Worked example: A log-only run with expected results written first

FixtureExpected decisionLogged reasonMatches?
Fresh quote, passes all rulesWould actAll rules passed (rules v3)Yes
Quote 12 minutes oldWaitStale quote, limit is 5 minutesYes
Same signal arrives twiceWould act onceSecond event: duplicateYes
Holder field missingWaitRequired field absentNo: logged nothing

Invented fixtures. The last row is the useful one. A silent skip is a bug the log exposed.

Common mistakes to avoid

You’re done when…

Frequently asked questions

Is a log-only run the same as paper trading?

A log-only run records proposed actions. Paper trading adds simulated fills and execution costs. Keeping both logs makes it easier to diagnose discrepancies.

What should I keep from each dry run?

Save the input snapshot, rules version and decision log together. The three files let you repeat the run after a configuration change.

How long should I run in log-only mode?

Until the decisions match your written expectations on a varied set of fixtures. Duration matters less than coverage of odd cases.

Why not go straight to paper trading?

Log-only isolates decision logic. Adding fills and costs at the same time makes it harder to tell which layer caused a surprise.

Solana Memecoin Trading Bot Guide

Build a Solana memecoin bot with token screening, BubbleMaps wallet checks, trading rules, and Telegram alerts.

Explore the guide · $37

Educational material only, not financial advice. Example figures on this page are invented to illustrate the method. Crypto assets are volatile and you can lose money. Test in simulation and check current provider terms before using any service.