You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The page should show the native token balance first, followed by all ERC20 tokens balances. For each token balance we should display the following information:
token name
token balance (formatted correctly according to the token's decimals) + symbol
USD balance
If possible ERC20 balances should be ordered by USD value descending.
If possible it should filter out spam tokens and only show them at the bottom, marked as spam and with lower opacity. Maybe even only show them after explicitly setting a toggle.
The balances should also reflect transfers made in the recorded batch. The Moralis API obviously does not account for these. One option for implementing this is fetching all ERC20 transfers from the Tenderly fork and patching the Moralis response accordingly.
There should be a wallet icon button somewhere in the Pilot panel to open a fresh tab showing this new token balances page.
For each item in the token balance list, there should be a Send button that opens a simple sending modal. The user should be able to enter the amount, or click a button to send the entire balance. Upon submitting the send, the transfer call should be added to the current Pilot batch.
The text was updated successfully, but these errors were encountered:
jfschwarz
changed the title
Build a simple native & ERC20 token balances page with transfer
Build a simple native & ERC20 token balances page with transfer function
Jan 3, 2025
As a Pilot user I want to be able to easily make token (native and ERC20) transfers from the impersonated account. Usually this basic function is provided directly by the wallet app, for example in Safe it looks like this: https://app.safe.global/balances?safe=eth:0x849D52316331967b6fF1198e5E32A0eB168D039d
We can build it based on the Moralis Wallet API, which is already reachable through airlock.
The page should show the native token balance first, followed by all ERC20 tokens balances. For each token balance we should display the following information:
If possible ERC20 balances should be ordered by USD value descending.
If possible it should filter out spam tokens and only show them at the bottom, marked as spam and with lower opacity. Maybe even only show them after explicitly setting a toggle.
The balances should also reflect transfers made in the recorded batch. The Moralis API obviously does not account for these. One option for implementing this is fetching all ERC20 transfers from the Tenderly fork and patching the Moralis response accordingly.
There should be a wallet icon button somewhere in the Pilot panel to open a fresh tab showing this new token balances page.
For each item in the token balance list, there should be a
Send
button that opens a simple sending modal. The user should be able to enter the amount, or click a button to send the entire balance. Upon submitting the send, the transfer call should be added to the current Pilot batch.The text was updated successfully, but these errors were encountered: