Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Import IDLs #82

Closed
dahifi opened this issue Sep 14, 2022 · 3 comments
Closed

Import IDLs #82

dahifi opened this issue Sep 14, 2022 · 3 comments
Labels
enhancement New feature or request

Comments

@dahifi
Copy link

dahifi commented Sep 14, 2022

You have a list of program IDs that you've preloaded. Where possible, import the IDLs from anchor registry, or allow JSON import, allowing a drop down for each instruction, which will populate the account structs for the instructions and serialize the parameter data.

See Goki's transaction builder for an implementation of this: https://devnet.goki.so/wallets/5NwgCo9qxfhLxaWbLgxRvuG1HcYnimPtezuR9xiqeuZX/propose

@dahifi dahifi added the enhancement New feature or request label Sep 14, 2022
@sohrab-
Copy link
Member

sohrab- commented Sep 14, 2022

This can be done today already: https://twitter.com/sohrabwashere/status/1559253728024154112

And there are a couple of items on the roadmap as well: #23 and adding a library of well-known IDLs.

Do you see any other gaps we should cover?

@dahifi
Copy link
Author

dahifi commented Sep 15, 2022

No, this is great. I missed the import functionality in the hamburger when I was checking this out yesterday. The seed generation feature is fantastic as well.

Might be nice to allow users to set constants or do some RPC calls. Losing your data on refresh is frustrating, maybe a file browser to save txs. ReplIt for Solana?

@dahifi dahifi closed this as completed Sep 15, 2022
@sohrab-
Copy link
Member

sohrab- commented Sep 15, 2022

Yeah, there is a good chunk of features that still need to be added.

  • I have this one on the roadmap that should help with constants Placeholders #14
  • Originally had the user session persist across page refresh but that made it impossible to use BCS in multiple tabs concurrently. I just created this one for a more sophisticated solution Local session management #85.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants