Releases: 0xsyncroot/open-sniper
Release list
Open Sniper v0.4.0
Full Changelog: v0.3.0...v0.4.0
Open Sniper v0.3.0
Open Sniper v0.3.0
Bản phát hành bổ sung fully on-chain OpenSea SeaDrop public mint và cơ chế vận hành an toàn cho automation/agent, đồng thời giữ nguyên đường V4 Robinhood low-latency của v0.2.0.
Điểm mới
- Thêm
open-sniper mint 0xCOLLECTIONcho Robinhood, Base và Shape. - Decode trực tiếp
updatePublicDropvàmultiConfigure, kể cả restricted fee recipient được bật trong cùng transaction. - Robinhood dùng signed Nitro sequencer feed; Base có Flashblocks provider adapter; cả ba chain hỗ trợ scheduled on-chain
startTime. - Guard canonical SeaDrop/collection codehash, hard unit price, exact
msg.value, wallet limit, max supply và fee-recipient policy. - Thêm
--private-key-file,--buy-amountvà--executor; argument thắng environment/.env nhưng cách cấu hình cũ vẫn chạy. - Không hỗ trợ raw
--private-keyđể tránh lộ key qua argv, process list và shell history. - Thêm AgentSkills/OpenClaw skill tại
skills/open-sniper, tài liệu tiếng Việt và live-authorization rules. - Thêm non-blocking mint telemetry, historical Robinhood replay fixture và benchmark riêng.
Hiệu năng đo được
Fixture Robinhood multiConfigure thật, 20.000 vòng:
- Detect activation p50:
0,895 µs. - Guard price/wallet/supply p50:
0,016 µs. - Encode
mintPublicp50:0,232 µs. - Local EIP-1559 signing p50:
25,14 µs. - Full activation signal → signed p50:
26,31 µs.
V4 benchmark sau build này:
- Decode → detect → signed p50:
61,31 µs. - Full risk + atomic sell probe + sign p50:
81,14 µs. - Pons rebuild + risk + sign p50:
148,23 µs.
Các số trên không gồm WebSocket/network arrival, feed signature verification, TLS submission hoặc RPC RTT.
Lưu ý theo chain
- Robinhood activation mint dùng Nitro feed và direct sequencer submission.
- Base scheduled mint + preconfirmation HTTP hoạt động với default; bắt activation chưa cấu hình cần
MINT_FEED/BASE_FLASHBLOCKS_WSStừ provider Flashblocks WSS tương thích. - Shape hiện tối ưu cho public drop đã có
startTimeon-chain; chưa có default activation feed tương đương Robinhood. - OpenSea mint không dùng
EXECUTOR_ADDRESS; executor chỉ dành cho V4.
Xác minh
make check: PASS.- Rust: 48 unit + 4 integration/scenario tests: PASS.
- Solidity: 14/14 tests: PASS.
- Release Rust + Foundry build: PASS.
- Historical Robinhood
multiConfigurereplay: PASS. - AgentSkills validator: PASS.
cargo audit: không có vulnerability; còn hai cảnh báo transitive unmaintained (derivative,paste).- Mainnet state dry-run trên Robinhood, Base và Shape: PASS, không broadcast.
Cài đặt nhanh
tar -xzf open-sniper-v0.3.0-linux-x86_64.tar.gz
cd open-sniper-v0.3.0-linux-x86_64
cp .env.example .env
./open-sniper setup
./open-sniper 0xTOKEN_ADDRESSHoặc không để key trong .env:
./open-sniper --private-key-file /run/secrets/open-sniper.key \
--buy-amount 0.10 --executor 0xEXECUTOR 0xTOKEN_ADDRESSKiểm tra checksum trước khi chạy:
sha256sum -c open-sniper-v0.3.0-linux-x86_64.tar.gz.sha256Open Sniper v0.2.0
Open Sniper v0.2.0
Bản coverage-first cho Robinhood Chain / Uniswap V4: tăng số launch có thể bắt được, bỏ các gate provenance không trực tiếp bảo vệ giá và giữ các guard cơ bản có thể tính toán/cưỡng chế khi thực thi.
Điểm mới
- Tự nhận canonical PositionManager initialize + add-liquidity, kể cả tách transaction.
- Tự giải mã PositionManager calldata nằm trong smart-account/wrapper
execute(...). - Thêm adapter Pons V2 bonding-curve graduation và local post-launch reconstruction.
- Direct V4 không còn bị reject chỉ vì thiếu factory, LP-lock hoặc token codehash allowlist.
- Zero hook và hook không có swap permission được nhận tự động.
- Unknown swap-enabled, dynamic-fee và return-delta hook chưa có adapter vẫn fail-fast.
- Giữ stress depth 2× buy amount, hard price/impact 10%, 2% simulation tolerance, tick cap và atomic sell probe.
- Executor được tinh gọn, giữ ABI
snipetương thích và bỏ provenance staticcall. - Cấu hình thông thường chỉ cần private key, buy amount và executor address.
- Cập nhật tài liệu tiếng Việt, replay fixtures, telemetry và benchmark thực tế.
Độ trễ đo được
- Direct decode → detect → simulate → sign p50:
60,46 µs. - Risk + sell probe + sign p50:
80,21 µs. - Pons rebuild + risk + sign p50:
144,31 µs. - Wrapped PositionManager detection p50:
15,41 µs. - Telemetry enqueue p50:
51 ns.
Executor
Executor cũ vẫn dùng được cho zero-hook và Pons hook đã pin. Để dùng auto-accept nonzero hook không có swap permission, deploy OpenSnipeExecutor.sol của v0.2.0 và cập nhật EXECUTOR_ADDRESS.
Xác minh
make check,make test,make build: PASS.- Rust: 40 unit tests cùng replay/scenario tests: PASS.
- Solidity: 14/14 tests: PASS.
- Fork YARD zero-hook và Pons nonzero return-delta: PASS, không broadcast.
cargo audit: không có vulnerability; còn hai cảnh báo dependency gián tiếp unmaintained.
Cài đặt nhanh
tar -xzf open-sniper-v0.2.0-linux-x86_64.tar.gz
cd open-sniper-v0.2.0-linux-x86_64
cp .env.example .env
./open-sniper setup
./open-sniper 0xTOKEN_ADDRESSKiểm tra checksum trước khi chạy:
sha256sum -c open-sniper-v0.2.0-linux-x86_64.tar.gz.sha256Open Sniper v0.1.1
Bản nâng cấp telemetry production không chặn luồng snip.
- JSONL telemetry chạy trên writer thread riêng, bounded queue và try_send fail-open.
- Không có console/file I/O giữa ký và khởi động gửi trực tiếp tới sequencer.
- Theo dõi lifecycle, reject, submission, receipt, health và latency thực tế.
- Rotation 64 MiB, quyền file 0600; không ghi private key hoặc raw signed transaction.
- Benchmark telemetry p50 50 ns, p99 140 ns; được ghi sau khi submit đã được khởi động.
- Đã qua cargo fmt/clippy/test/release build, forge fmt/test/build, cargo audit và fork test executor đã deploy.
Executor Solidity không đổi; không cần deploy lại. Gói phát hành dành cho Linux x86_64.
Open Sniper v0.1.0
Initial public release for Robinhood Chain Mainnet. Includes the stripped Linux x86_64 binary, minimal environment template, Vietnamese/English documentation, strict V4 executor guards, replay tests, benchmarks, and deployment tooling. Built and validated with cargo fmt/clippy/test/release plus forge fmt/test/build. Verify the SHA-256 file before installing.