bettercallsol
bettercallsol copied to clipboard
Account auto-complete
Account fields should offer auto-complete, for example searching for:
- Common programs
- Common sysvars
- Common markets
- Etc.
Some notes:
- This should not prevent the user from still just putting in their own accounts.
- If a specific account type is chosen, should that filter out irrelevant suggestions?
- Accounts should know their type and update that in the transaction, e.g. if you choose system program, the account type should be set to "program"
- https://github.com/anubra266/choc-autocomplete
Basic functionality has been implemented.
We need to add more content to the suggestion list:
- Top token mints
- Common market accounts
- Validators
- Etc.