Skip to content

Releases: 0xsyncroot/open-sniper

Open Sniper v0.4.0

Choose a tag to compare

@github-actions github-actions released this 04 Sep 03:44

Full Changelog: v0.3.0...v0.4.0

Open Sniper v0.3.0

Choose a tag to compare

@0xsyncroot 0xsyncroot released this 14 Aug 02:23
d887c04

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 0xCOLLECTION cho Robinhood, Base và Shape.
  • Decode trực tiếp updatePublicDropmultiConfigure, 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-amount--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 mintPublic p50: 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_WSS từ provider Flashblocks WSS tương thích.
  • Shape hiện tối ưu cho public drop đã có startTime on-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 multiConfigure replay: 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_ADDRESS

Hoặc không để key trong .env:

./open-sniper --private-key-file /run/secrets/open-sniper.key \
  --buy-amount 0.10 --executor 0xEXECUTOR 0xTOKEN_ADDRESS

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

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

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

Open Sniper v0.1.1

Choose a tag to compare

@0xsyncroot 0xsyncroot released this 12 Aug 07:39

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

Choose a tag to compare

@0xsyncroot 0xsyncroot released this 12 Aug 07:04

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.