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

rename rpc to something else #3377

Open
pynixwang opened this issue Nov 22, 2024 · 1 comment
Open

rename rpc to something else #3377

pynixwang opened this issue Nov 22, 2024 · 1 comment
Labels
enhancement New feature or request ts

Comments

@pynixwang
Copy link

pynixwang commented Nov 22, 2024

const tx = await program.methods.initialize().rpc();

rpc is not like an action.
maybe send, execute or call is better

@acheroncrypto acheroncrypto added enhancement New feature or request ts labels Nov 23, 2024
@acheroncrypto
Copy link
Collaborator

Yeah, I think send would be more intuitive for sure. We already have plans to do certain naming changes to make things more consistent and intuitive, so we can also include this change during that time.

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

No branches or pull requests

2 participants