Manage Token Assets
In this guide, Web3 app users can learn how to manage token assets through the Arcana wallet UI.
Prerequisites
-
To use the Arcana wallet, users must log in to a Web3 app that is integrated with the Arcana Auth SDK.
-
Depending on the type of blockchain signing experience set up by the app developer, the Arcana wallet may appear only when a blockchain transaction is triggered, or it may be visible at all times once the user logs in.
Token Operations
Arcana wallet supports the following Web3 token operations for both native as well as custom ERC-20 tokens:
- Check the native token balance in the account
- Add custom tokens
- Send and receive native and custom tokens
- Monitor token asset transaction activities
Check Balance
Click the tab at the bottom left of the Arcana wallet. It shows the account balance for the wallet account in the selected network. It also shows a list of token assets in the wallet account and their corresponding amounts.
Click Refresh to fetch the latest account balance. If you use the Arcana wallet to send native or custom tokens, the account balance gets automatically updated once the transfer is processed.
Add Custom Tokens
Click the tab to view the list of tokens associated with the wallet account.
If you do not see your custom token already listed in the token asset list, click the icon to add your custom token.
A custom token specification UI is displayed in the wallet.
Add the Token Contract Address. Once you add the address, the Arcana wallet validates whether it is an ERC-20 standard custom token. After the contract is verified, the wallet automatically fetches the Token Symbol and the Token Decimal values as configured in the custom contract.
Click Save to add the custom token. The newly added custom token will show up under the account balance section on the wallet.
Select Native/Custom Token
Before sending tokens, users can specify whether they intend to transfer native or custom tokens. To select a custom token, it should already be added to the Arcana wallet.
Click the tab to view native and custom tokens screen.
Use the drop-down list by clicking on the arrow next to the native token symbol and choose one of the custom tokens that are already added to the Arcana wallet.
Send Tokens
Click tab in the wallet to view the tokens associated with the wallet account.
Click Send to initiate the send tokens workflow in the Arcana wallet by bringing up the following screen:
Choose the appropriate token that you wish to send from the dropdown list, enter the transfer amount, and requisite gas fees, and click Proceed. A preview screen shows the details of the send transaction. Click Send to confirm or click Back if you wish to change any transaction details.
Receive Tokens
Click the tab at the bottom left of the wallet to receive tokens from another wallet address. Click Receive and copy the QR code or the wallet address. Share it with the sender for receiving tokens in your account.
Click Refresh to see the updated account balance after the sender transaction is complete.
Monitor Token Activity
Click the tab on the bottom right of the Arcana wallet to see wallet transaction activity and pending request notifications.
The wallet notification screen displays a list of different blockchain transaction activities that were initiated by the app or the user for the current dApp user login session:
- Send transactions for native or custom tokens
- Contract Deployment
You can view all activities in the list or filter them based on whether the blockchain transactions were initiated by the user or the app. Click on the filter icon and choose the desired option.
To see details of a send transaction, click on the arrow to expand the view.
Tip
The app user must add the custom tokens manually to the Arcana wallet UI before the activity related to tokens can be viewed in the Activity tab.
That is all!
You are all set to send and receive tokens using the Arcana wallet.
What's Next?
You can use Arcana wallet UI to sign blockchain transactions, send and receive native, ERC20, or custom tokens, and more.