Appearance
Nonce Pool
The nonce pool is optional but recommended. It reduces wasted transaction fees when multiple processors are enabled.
Setup
Create Nonce Accounts
bash
./zephyr --generate-nonces 40Creates 40 nonce accounts on-chain (~0.056 SOL rent, reclaimable). Pubkeys are automatically appended to config.toml. Run multiple times to add more.
Recommended Pool Size
| Tick Rate | Recommended |
|---|---|
| 50ms | 30–40 nonces |
| 25ms | 50–60 nonces |
| 100ms | 20–30 nonces |
If you see Nonce pool exhausted warnings, add more nonces.
Nonce Delay
Set nonce_delay in [buy] and [sell] to control how often the active nonce rotates (in milliseconds). Set to 0 for default behavior.
toml
[buy]
nonce_delay = 50
[sell]
nonce_delay = 100Refill
Nonces are automatically refilled via the gRPC stream when transactions land on-chain. A background recovery task handles any missed refills within 1-2 seconds.
