Generate New Wallet

Creating Your First Wallet: A Step-by-Step Guide

In the Ava Ecosystem, most bots (support on EVM chain) will share the same wallet addresses, except for the Solana Chain, so we will use @AVASniperBotBsc as an example

Drawing
AVABOT main menu display

1. How to Generate a Wallet?

Step 1: Click the "Generate Wallet" button or simply type /generate to create a new wallet for you. Ava offers two types of wallets: EOA Wallet and AA Wallet, you can have up to three of them each. But what exactly are EOA and AA Wallets?

What is EOA and AA Wallet?

In AVA, two primary types of accounts exist: Externally Owned Accounts (EOAs) and Contract Accounts (CAs). EOAs are controlled by private keys, while CAs are controlled by their contract code.

  • EOA Wallet is a traditional wallet that you often use and can be controlled with a private key or seed phrase.

  • AA Wallet (Account Abstract Wallet or Smart Contract Wallet) is an option that combines aspects of both account types (EOA +CA), it's like a wallet but you can customize the code on it to do many other things like a Smart Contract.

Our recommendation: If you prefer a traditional and familiar wallet experience, go for EOA. If security and scalability are your priorities, opt for the AA Wallet.

Read details here.

Step 2:

If you choose EOA Wallet: you'll get a notification message letting you know that your Wallet has been created successfully.

If you choose AA Wallet: you'll get a notification message letting you know that your Address has been created successfully. It's important to note that, UNLIKE EOA wallets, AVA won't provide you with a private key. Wondering why?

Why AVA Can't Retrieve Your Private Key with AA Wallet?

AA wallet works like Smart Contract and that's why it is also called Smart Contract Wallet. The Smart Contract Wallet operates through logical code, so it doesn't possess a private key as traditional wallets do. So there will be NO private key for us to provide to you.

Here If you'd like to dive deeper into the details.

Drawing

Step 3:

From this step, you can complete the EOA wallet, however, the AA Wallet needs a few more steps to be fully functional.

Now, you might be wondering why we refer to it as an "Address" and not a "Wallet" in Step 2 for AA Wallet. That's because, at this stage, it's not yet a Smart Contract Wallet.

AVA uses Account Abstraction technology (That's why we named AA wallet), and it will need some extra steps to achieve the Smart Contract Wallet state.

Enter Account Abstraction

Account Abstraction (ERC-4337) merges the strengths of both EOA and CA accounts to create Smart Contract Wallet. It allows you to customize the logic of your wallet with code.

Just like creating a Smart Contract. When "generate new wallet" the system will create an ERC-4337 standard address on the Ethereum network, after that, it needs to be deployed on the network to become a Smart Contract.

Details.

In a nutshell, to unlock the full AA Wallet functionality, this address needs to be deployed into a Smart Contract. But, why AA Wallet is this important?

Why AA Wallets Matter for Telegram Bot?

AA Wallets on AVA can perform specific actions like trading and sniping. However, its codes are not designed to allow AVA withdrawals of your assets.

Only the users can withdraw money from an AA Wallet.

This feature empowers AVA to execute trade logic on your behalf without storing your private key. This is a safeguard for your security. Moreover, you can verify the code on Etherscan to ensure transparency.

2. How to Deploy a Smart Contract Wallet aka AA Wallet?

Step 1: Fund your address

We will need to prepare some Deployment Fee for this AA Wallet deployment process (read more pros and cons of AA Wallet).

What Is "Development Fee"?

Deployment Fee is the estimated gas fee required to deploy an AA Wallet. This amount depends on the current gas price on the Ethereum Network.

Deployment Fee = Current Gas Price * 180,000

But here is the good news: To support our trading users, the Deployment fee will be refunded as a rebate to your trading fee later on.

Therefore you need to fund the address for a minimum amount of fees by depositing ETH/BNB into it. After you fund your address, AVA will automatically use the minimum fee to deploy your address into an AA wallet:

  • Copy the Address: Each wallet in your list will have a unique address. This is where you'll want to deposit your money.

  • Deposit Funds: Simply send your minimum funds as Deployment Fees to address

Drawing
Wallet Successful Message

At this point, congratulations. You have successfully deployed your first AA contract wallet.

Your Wallet State is currently: Deployed. You will need to complete the final step for your AA Wallet to be fully functional.

What Is The "Wallet State" ?

When generating the AA wallet, in some states, your AA wallet will not be fully functional. The wallet state will assist you in understanding the status of your AA wallet.

1. Undeployed: This means the address has just been created but hasn't been deployed into a Smart Contract Wallet yet. You need to fund the address for a minimum amount of deployment fees

2. Deployed: After you fund your address, AVA will automatically use the minimum fee to deploy your address into an AA wallet

3. Linked: Once you've associated your "Owner Address" with your AA Wallet on Avabot, your wallet enters this final state. Congratulations, you now have a fully functional Smart Contract Wallet!

Note: Smart Contract Wallet will be fully functional upon completion of 3 states

You'll find 3 different types of states for your Smart Contract Wallet.

Step 2: Link Your "Owner Address" to Your AA Wallet

What Is The "Owner Address" ?

Your "Owner Address” serves as the designated wallet address to which you intend to withdraw funds from your Smart Contract Wallet.

This address MUST be chosen by you, and your choice is confirmed through a signature on the smart contract (As we do not have the ability to modify the withdrawal within the Smart Contract).

Only the user's "Owner Address” can withdraw money from a AA Wallet. This means that if you lose access to your "owner address", you lose the ability to withdraw assets from the AA Wallet (Smart Contract Wallet). There is no way for AVA to recover them.

Drawing

  1. To set this up, click "Link Owner Address." in the previous step

  2. Choose the wallet you want to connect from.

  3. Click "Generate link" to open a website.

  4. Select the Owner Address you want to link with.

Sign a signature that allows only this wallet to access your BNB or tokens. You only need to do this once, and you won't be able to change the Owner Address. Repeat the same process for any other wallets you want to withdraw from.

Drawing

Once you have completed these steps, you can create your own AA Wallet on AVA, now let's explore the features of your wallets.

Last updated