7

挽救泄露助记词上的资金(Cosmos, Juno, Osmosis)

 2 years ago
source link: https://mirror.xyz/ericet.eth/Oihnrbprc42xxZMjZncuicFRrKN9E0LnMlz0sqJaAaI
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

挽救泄露助记词上的资金(Cosmos, Juno, Osmosis)

April 9th, 2022
(Image Source: Pixabay)

前段时间,有个群友说他的助记词泄露了,资金被盗,质押的代币也正在解除质押中,问我有没有办法解除质押的第一时间把代币转走?

所以给这个群友写了一个挽救被泄露助记词上的代币的脚本: https://github.com/ericet/cosmos-learn/blob/master/fundRescue.js

这个脚本会查看解锁时间,解锁最后10分钟会每秒查看钱包余额,一查到有余额就会转到新钱包

脚本虽然写好了,但是没有实战过,所以并不知道效果怎么样

今天群友给我发了红包,说我的脚本很顺利的帮他把刚解锁的ATOM转到安全的钱包去了~ 说明脚本还是有效果的

之前脚本只支持Cosmos,刚修改了一下脚本,支持了Juno和Osmosis

如果你的助记词不小心泄露了,可以用我写的脚本尝试挽救资金


最近建了一个twitter新号专门分享自己开发的工具,脚本等。对这些有兴趣的可以关注我的twitter账号:https://twitter.com/ericet369


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK