Skip to content

Open Sniper v0.2.0

Choose a tag to compare

@0xsyncroot 0xsyncroot released this 13 Aug 03:17
cae7942

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 snipe tươ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_ADDRESS

Kiểm tra checksum trước khi chạy:

sha256sum -c open-sniper-v0.2.0-linux-x86_64.tar.gz.sha256