dripz-cli
v0.1.0
Published
Command-line tool for the Dripz Solana LBP framework. Design five curve types, sample weight trajectories, and back-test against synthetic snipe profiles.
Maintainers
Readme
dripz-cli
Command-line tool for Dripz -- a Solana time-weighted Liquidity Bootstrapping Pool framework. Designs the five Dripz curves (Linear / Exponential / Step / Dutch Auction / Fair Discovery), samples the weight trajectory, and back-tests against synthetic snipe profiles.
npm install -g dripz-cli
dripz helpRequires Node 18 or newer.
Commands
dripz curve Sample a curve trajectory.
dripz backtest Run a synthetic-demand backtest.
dripz config Get / set / list persistent CLI config.
dripz launch Submit a launch transaction (mainnet -- guarded).Design a curve
dripz curve --kind exponential --k 3.5 --start 0.99 --end 0.5 --duration 7dOutputs a tab-aligned table of (t_secs, weight, spot) triples ready for piping into gnuplot, awk, or a notebook.
Back-test against a snipe profile
dripz backtest --kind exponential --k 3.5 --duration 7d --snipe-bps 50Reports the spot-price drawdown, the bps "lost" inside the snipe window, and a marked timeline you can grep for snipe / open / close.
Persist config
dripz config set rpc https://api.mainnet-beta.solana.com
dripz config set program AsxnSxBeFwtkzxchwVDxz1VBZRuePFXBcdodfcinTrQx
dripz config listConfig lives at ~/.dripz/config.json.
Duration parser
--duration accepts seconds (3600) or any <n>{s|m|h|d|w} shorthand (7d, 12h, 30m, 1w).
Curve kinds
| Kind | Brief |
| --- | --- |
| linear | Constant-rate weight glide. |
| exponential | exp(-k * t) decay; --k controls steepness. |
| step | Discrete plateaus; pass --steps JSON for custom break-points. |
| dutch | Weight schedule pinned to a descending price target. |
| fair | Demand-aware -- realized buy pressure feeds back into the trajectory. |
Notes
- The CLI ships the curve math inline (zero non-stdlib deps) so it works on locked-down nodes.
- For the authoritative on-chain math see the
dripz-curvesRust crate indripz-labs/dripz. - For the TypeScript SDK with the same math + simulator, see
@dripzfi/sdk.
License
MIT. See LICENSE.
