Skip to main content
All CollectionsInfo
How Avocado works in a nutshell
How Avocado works in a nutshell
P
Written by Priyanshu Tanwar
Updated over a year ago

No matter how secure any system is, when it comes to storing billions of funds - it becomes extremely important that the final custody of funds stays with the user. The central point of DeFi is 'Decentralization'.

Avocado is no different - it is a Decentralized Wallet built on top of extremely secure systems. Avocado is built by the same team which built Instadapp, one of the oldest DeFi protocols with over 4 years of experience in building secure state-of-the-art DeFi systems.

You are the sole owner of your funds when you use Avocado Wallet - "Not our keys, not our money".

Avocado's Backend Infrastructure

Avocado Wallet is a 'Smart Contract Wallet' - which essentially means that each user wallet is one smart contract deployed on multiple chains - with the same address on all the chains.

When you make a transaction, Avocado's 'Broadcasters' (backend) verify if you are the actual owner by verifying your signature from your EOA (Metamask etc.). This makes sure that no third party can make transactions on your behalf.

Once the Broadcasters are able to verify that you're the owner, they pass on the transaction along with other details to your respective Smart Contract - on whichever chain the transaction has been initiated.

Once the Smart Contract receives the transaction details, the transaction is initiated on the blockchain which soon gets executed - & the transaction status is shown to the user.

There are multiple security checks which make sure the whole transaction is safe & secure end-to-end.

How to access your wallet directly through contracts in an emergency?

Even though it's next to impossible, hypothetically, what if Avocado's Broadcasters are attacked?

Well, you're in luck - Avocado Wallet is decentralized! Nobody can touch as long as you have the keys.

You can use a 'backdoor' to interact with your Smart Contract directly using Etherscan.

Here's how you can use the 'backdoor' on Polygon (for the sake of this example, same method applies to each network):

  • Copy your Avocado Wallet Address from under the QR Code.

  • Open Polygonscan, paste this address in the search bar & search.

  • Open the 'Contracts' section.

  • If you are doing this for the first time, you have to enable Proxy options by going to 'More Options' & clicking 'Is this a proxy?'

  • Enter your Avocado Wallet address in the textbox and click Verify. You have to have some amount of Matic in your Avocado Wallet for this verification to succeed.

  • Once the contract is verified, go to the previous page and you will see 2 new options.

  • Click on 'Write as Proxy'.

  • We are interested in the 'Cast' function' - click on it to open the input textboxes.

  • Input all the relevant details here & you will be able to control your funds without using Avocado's interface.

Here's a video that can help you understand the process better:

Did this answer your question?