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

Add comments for each public methods and improve Gateway program organization #46

Open
Tracked by #3233
lumtis opened this issue Oct 8, 2024 · 0 comments
Open
Tracked by #3233

Comments

@lumtis
Copy link
Member

lumtis commented Oct 8, 2024

Looking at some existing resources:

https://github.com/jup-ag/stabble-amm-sdk/tree/main/programs/stable-swap/src
https://github.com/solana-developers/program-examples/tree/main/basics/counter/native/program/src
https://github.com/solana-labs/solana-program-library/tree/master/single-pool/program/src

It seems the codebase for the gateway program can be improve and follow some pseudo standard:

state.rs for types
instruction.rs for instructions
entrypoint.rs
...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant