Skip to content

Open Sniper v0.3.0

Choose a tag to compare

@0xsyncroot 0xsyncroot released this 14 Aug 02:23
· 1 commit to main since this release
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