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

ts: builder api #1324

Merged
merged 4 commits into from Jan 15, 2022
Merged

ts: builder api #1324

merged 4 commits into from Jan 15, 2022

Conversation

armaniferrante
Copy link
Member

Closes #59.

Introduces a builder api, which can be used as a more ergonomic alternative to the existing namespace space apis. For example, to send a signed transaction, one can use

program
  .methods
  .myMethod(...args).
  .accounts({ ... })
  .signers([...])
  .rpc()

@armaniferrante armaniferrante merged commit e121e4e into master Jan 15, 2022
@armaniferrante armaniferrante deleted the armani/builder branch January 15, 2022 22:09
losman0s pushed a commit to losman0s/anchor that referenced this pull request Feb 7, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

ts: Client transaction builder pattern
1 participant