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,67 K
17
Conținutul de pe această pagină este furnizat de terți. Dacă nu se menționează altfel, OKX nu este autorul articolului citat și nu revendică niciun drept intelectual pentru materiale. Conținutul este furnizat doar pentru informare și nu reprezintă opinia OKX. Nu este furnizat pentru a fi o susținere de nicio natură și nu trebuie să fie considerat un sfat de investiție sau o solicitare de a cumpăra sau vinde active digitale. În măsura în care AI-ul de generare este utilizat pentru a furniza rezumate sau alte informații, astfel de conținut generat de AI poate să fie inexact sau neconsecvent. Citiți articolul asociat pentru mai multe detalii și informații. OKX nu răspunde pentru conținutul găzduit pe pagini terțe. Deținerile de active digitale, inclusiv criptomonedele stabile și NFT-urile, prezintă un grad ridicat de risc și pot fluctua semnificativ. Trebuie să analizați cu atenție dacă tranzacționarea sau deținerea de active digitale este adecvată pentru dumneavoastră prin prisma situației dumneavoastră financiare.