-
Notifications
You must be signed in to change notification settings - Fork 79
Open
Labels
D: IntermediateDifficulty: IntermediateDifficulty: IntermediateP: MediumPriority: MediumPriority: MediumT: FeatureType: FeatureType: Feature
Description
The Request
The ability to (already) see all of an account's ERC20 tokens when a forked instance has been set up.
Problem
Right now, when we set up a forked instance of an Anvil node, and import an account that holds ERC20 balances, we cannot see those tokens in the ERC20 token list until we import them.
Solution
As a user, when I spin up a forked instance and import my account (which has some ERC20 tokens) into Rivet, then I would expect to see them already in my token list instead of importing each one.
Notes
Should we just do pagination on eth_getLogs
(viem's getLogs
action) on the RPC Provider? Or should we use an external indexer to find all Transfer
events against an account address?
Metadata
Metadata
Assignees
Labels
D: IntermediateDifficulty: IntermediateDifficulty: IntermediateP: MediumPriority: MediumPriority: MediumT: FeatureType: FeatureType: Feature