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.sha256