-
Notifications
You must be signed in to change notification settings - Fork 13
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
Can we autogenerate instruction creators and account decoders for an existing program? #30
Comments
Hey Mike, Yes that's the plan. We're already doing this for the following programs:
And planning to add many more to the list. |
Is there a way to avoid copy pasting the
|
Hi @ronanyeah, sorry I'm not sure I understand the question. Are you saying you do not want the |
Thanks for answering @loris but I realise I should have been clearer:
I meant to say: how can we we use create-solana-program to generate clients for existing on-chain apps? Eg what docs or examples exist for using create-solana-program in this way? |
Oh I see. No docs right now and it's on a case-by-case basis but we're using the following process:
|
Thanks! I'm in the middle of trying to get instructor notes together for something but will try on one of our demo apps as soon as I can. |
The web3.js TP2 announment points to this repo with a 'here' link and the following text:
The README seems to imply generating clients for brand new projects, but can we use
create-solana-program
to generate clients for existing on-chain apps as the announcement states?The text was updated successfully, but these errors were encountered: