3. Interface

3.1 Preview

3.2 Wallet Tutorial

(1) Create an account:

Create an a wallet address which can be seen as an identity on aelf. The wallet stores assets, and is used to define a unique user for instances such as transfers assets or voting. For example:
1. Scenario:
Bob saw an event on the aelf website, and needed to use aelf's wallet address to participate. At this time, Bob needed to create an account on the aelf wallet app.
2. Create an account:
2.1 Bob downloads the aelf wallet APP to create his unique user account and sets the wallet name and password. After setting up his account, Bob will have an address (example: ELF_25CecrU94dmMdbhC3LWMKxtoaL4Wv8PChGvVJM6PxkHAyvXEhB_AELF).
2.2 After the account is successfully created, the app will prompt Bob to back up the wallet; Bob can choose to back up now or later.
If Bob chooses to back up his wallet now, he can get the wallet's mnemonic phrase. Bob will need to write down the mnemonic phrase (Strongly recommended on with pen and paper rather than digitally) and store it securely. After he re-enters the mnemonic phrase correctly, the backup is complete and he can enter the wallet homepage;
If Bob chooses to back up his wallet later, he can go directly to the wallet homepage and he will be prompted at a later stage to back up his wallet.

(2) Access an existing wallet:

If you have logged out of your wallet, you will need to login again. You can restore your wallet account through a QR code, Keystore, Mnemonices, or Privatekey. For example:
1. Scenario:
Bob wants to log in to his other address to view the information of that address. At this time, Bob needs to log out of his current account on the aelf wallet APP and login to the account that he wants to access.
2. Login to an existing wallet:
After Bob exits his current account from the aelf wallet APP, he logs into a different account. Depending on the method selected to login with, he will need to scan the QR code, enter the Keystore or enter the password set previously. After entering the correct code or password, he will be logged into the new account.
When Bob chooses to use the mnemonic phrase or private key to recover his account, he will need to enter the mnemonic phrase or private key, and set a new password, and the account will be restored.

3.3 aelf iOS/Android Corss-chain Transfer Tutorial

Cross-chain transfers on aelf require two transactions to be initiated. For example:
  1. 1.
    Scenario: Bob has found an interesting application on the chain tDVV and needs to use ELF, but Bob does have any ELF right now, and Bob's friend Alice has ELF on the chain AELF. Bob goes to Alice to borrow ELF.
  2. 2.
    Example of an address format for different chains:
Alice: ELF_2oSMWm1tjRqVdfmrdL8dgrRvhWu1FP8wcZidjS6wPbuoVtxhEz_AELF
Bob: ELF_25CecrU94dmMdbhC3LWMKxtoaL4Wv8PChGvVJM6PxkHAyvXEhB_tDVV
  1. 1.
    Initiate cross-chain transfer process:
Alice enters Bob's address with _tDVV in the wallet. At this time, the wallet will recognize that Alice wants to transfer from chain AELF to Bob on chain tDVV. At this point, Alice initiates the cross-chain transfer process.
  1. 1.
    Initiate the receiving process of cross-chain transfer:
After the two chains reach a consensus on the cross-chain transaction, Alice also needs to sign a receiving transaction on the chain tDVV.
After the consensus is reached, the wallet app will prompt Alice to confirm the transfer on the chain tDVV. After confirmation, Bob will receive the ELF that Alice transferred to him on the chain tDVV.
At this time, Alice can see her two signed cross-chain transfer related transactions on the chain AELF and the chain tDVV.

3.4 aelf iOS/Android DAPP Tutorial

To ensure the security of wallet assets, using DApps on aelf requires the wallet to set external link authorization, login authorization, and signature authorization. For example:
1. Scenario: Bob chooses to display the assets of the main chain in the asset module of the APP, and finds a DApp about voting in the discovery module, so he decides to use it.
2. Using a DApp:
2.1 Clicking on a DApp will ask users to confirm the action with the following message: "The page you visit will jump to a third-party DApp", users can enter the DApp after confirming this.
2.2 After entering the DApp, you need to log in to use it. Bob needs to allow the DApp to read his wallet address and wallet data on the main chain, so when logging in, the DApp will request the following permission: "Request access to the wallet address", users can use the DApp can be after confirming this.
2.3 After entering the DApp homepage, Bob sees his assets and wallet information on the main chain on the page. He wants to vote for the top production node, so he enters the voting information, and the DApp requests signature authorization, to which he signs. After getting the voting results, Bob has finished the voting process;
2.4 Bob can check the whitelist function when signing and authorizing. After checking this option, he can complete voting multiple times without signing authorization for each action; if Bob closes the app, the checked whitelist function will no longer be valid. He will need to sign and authorize the DApp again before he can vote.
Last modified 1yr ago