Inspiration

In the past few month, we have seen a lot of unfortunate hack events.

It took so much to make some profit in bearish market, it is such a pain if you just lost all the money you made in 1 events.

So this gave us a inspiration to start a project to prevent people from losing their money in such events.

What it does

Project revoke.cash is used by many DeFi users, however, revoking a approval after shit happens can NOT prevent user's fund from transferred by hackers, and revoking all approval on all contacts after using them is gas wasting.

So the wallet we built is gonna revoke dangerous approval in time for users, so our users don't have to revoke approval when bad thing happens. And it is going to do more than revoking, after more data provider join us, it is possible for Chain Armour to send more types of auto transactions.

How we built it

We build it with data from 0xScope, Chainlink Upkeep. It takes us a while to figure out how to do this with a gas-saving method, and we have a few failed architecture design before this one, but I'm glad that we finally make it.

Challenges we ran into

Besides the architecture problem I mentioned in the previous part, we encountered a problem when we decided to open the try-it-out link to everyone, however, it's hard to create a real hack event for every user, so we had to simulate it.

Accomplishments that we're proud of

We started to build this project very late, and team are busy in this few weeks, I'm proud we built this in a short time, and I'm also proud of this idea. Although this is just a proof of concept, but it proves that there are infinity possibilities with such approach, and it's possible to build something greater with this.

What we learned

We learnt how to use Chainlink Upkeep, and how to use off-chain data to protect on-chain assets. When deciding to use which type of Upkeep, we also learnt a lot about these 3 different types of Upkeep.

What's next for Chain Armour

As I mentioned, approval revoking is only a sneak peek of all the infinite possibilities, we are going to discover more automatic ways to make actions according to data.

Share this project:

Updates