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
- A scanner or rules file you can run on sample data
- No signing keys and no swap credentials in the configuration
- A folder for input snapshots and decision logs
- A short list of fixtures you expect specific results for
How to approach the project
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.
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.
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
| Fixture | Expected decision | Logged reason | Matches? |
|---|---|---|---|
| Fresh quote, passes all rules | Would act | All rules passed (rules v3) | Yes |
| Quote 12 minutes old | Wait | Stale quote, limit is 5 minutes | Yes |
| Same signal arrives twice | Would act once | Second event: duplicate | Yes |
| Holder field missing | Wait | Required field absent | No: logged nothing |
Invented fixtures. The last row is the useful one. A silent skip is a bug the log exposed.
Common mistakes to avoid
Leaving a signing path available
Even in a dry run, keep keys out of the configuration so a mistake cannot become a real transaction.
Logging only passes
Rejected and waiting rows explain more than accepted ones. Log every decision with its reason and the rules version.
Not counting inputs against outputs
If 100 rows go in and 94 decisions come out, six were dropped somewhere. Find out where before adding fills.
You’re done when…
- The run produces proposed actions and cannot submit anything
- Every input row yields exactly one logged decision
- Each log line names the snapshot, the rule and the version
- You can repeat the run from saved files and get the same output
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 · $37Educational 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.