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 mil
17
O conteúdo apresentado nesta página é fornecido por terceiros. Salvo indicação em contrário, a OKX não é o autor dos artigos citados e não reivindica quaisquer direitos de autor nos materiais. O conteúdo é fornecido apenas para fins informativos e não representa a opinião da OKX. Não se destina a ser um endosso de qualquer tipo e não deve ser considerado conselho de investimento ou uma solicitação para comprar ou vender ativos digitais. Na medida em que a IA generativa é utilizada para fornecer resumos ou outras informações, esse mesmo conteúdo gerado por IA pode ser impreciso ou inconsistente. Leia o artigo associado para obter mais detalhes e informações. A OKX não é responsável pelo conteúdo apresentado nos sites de terceiros. As detenções de ativos digitais, incluindo criptomoedas estáveis e NFTs, envolvem um nível de risco elevado e podem sofrer grandes flutuações. Deve considerar cuidadosamente se o trading ou a detenção de ativos digitais é adequado para si à luz da sua condição financeira.

