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

refactor: sign transacitons with ForcClientAccounts instead of raw sdk wallets #6577

Closed
wants to merge 3 commits into from

Conversation

kayagokalp
Copy link
Member

Description

closes #6559 in preparation for #6560. Basically rather than using sdk wallet directly we are adding a level of indirection so that we can support different signers such as kms solutions that will come after this one.

@kayagokalp kayagokalp added enhancement New feature or request code quality forc-client Everything related to the `forc-client` crate. labels Sep 22, 2024
@kayagokalp kayagokalp self-assigned this Sep 22, 2024
@kayagokalp kayagokalp requested a review from a team as a code owner September 22, 2024 10:10
@kayagokalp kayagokalp changed the title refactor: sign transacitons with ForcClientAccounts instead of raw sdk wallets. refactor: sign transacitons with ForcClientAccounts instead of raw sdk wallets Sep 22, 2024
@kayagokalp kayagokalp marked this pull request as draft September 22, 2024 10:10
.await?;

account.add_witnesses(&mut tb)?;
Copy link
Contributor

@alfiedotwtf alfiedotwtf Sep 23, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will add_witnesses() need to be added to ForcClientAccount? Because AFAIC the default implementation is a NOP.

Edit: sorry, I just noticed this is in draft. Ignore this comment 😅

@kayagokalp
Copy link
Member Author

closing this in favor of #6578

@kayagokalp kayagokalp closed this Sep 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
code quality enhancement New feature or request forc-client Everything related to the `forc-client` crate.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

forc-client should support alternative signers
2 participants