Working on a new feature for ape-safe, something I am calling "queue scripts" h/t @johnnyonline_ @milkyklim
The way they work is that you add scripts for your @safe under `scripts/nonceN.py`, and `ape safe pending ensure` will search that directory for scripts *at or above* current on-chain nonce, and make sure that they are reflected in your Safe's current API queue
The scripts themselves will take advantage of a new feature we are adding to `ape-safe` that simplifies building MultiSend transactions using a sequence of transactions executed within a temporary fork (executed as if the safe were doing the transactions itself)
This is perhaps the most-requested feature from @bantg's original `ape-safe` library (now called `brownie-safe`), but using the ensure-queue command drastically simplifies setup for professional operations This is inspired by @yearnfi's Robowoofy project
With this feature released (still WIP), you will be able to set up a github repo to track your Safe scripts using extremely simple python syntax, and test/execute them safely and securely in github actions We will probably create a github action to do exactly this
Automating high-frequency transaction queues for a production-level safe (storing 7+ figures of value in it) is probably the hardest thing to do well in Crypto (as the Bybit hack evidenced). To do it well, you need great tools!
4,69 N
17
Nội dung trên trang này được cung cấp bởi các bên thứ ba. Trừ khi có quy định khác, OKX không phải là tác giả của bài viết được trích dẫn và không tuyên bố bất kỳ bản quyền nào trong các tài liệu. Nội dung được cung cấp chỉ nhằm mục đích thông tin và không thể hiện quan điểm của OKX. Nội dung này không nhằm chứng thực dưới bất kỳ hình thức nào và không được coi là lời khuyên đầu tư hoặc lời chào mời mua bán tài sản kỹ thuật số. Việc sử dụng AI nhằm cung cấp nội dung tóm tắt hoặc thông tin khác, nội dung do AI tạo ra có thể không chính xác hoặc không nhất quán. Vui lòng đọc bài viết trong liên kết để biết thêm chi tiết và thông tin. OKX không chịu trách nhiệm về nội dung được lưu trữ trên trang web của bên thứ ba. Việc nắm giữ tài sản kỹ thuật số, bao gồm stablecoin và NFT, có độ rủi ro cao và có thể biến động rất lớn. Bạn phải cân nhắc kỹ lưỡng xem việc giao dịch hoặc nắm giữ tài sản kỹ thuật số có phù hợp hay không dựa trên tình hình tài chính của bạn.