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

feat: tx send #1592

Merged
merged 25 commits into from
Sep 24, 2024
Merged

feat: tx send #1592

merged 25 commits into from
Sep 24, 2024

Conversation

willemneal
Copy link
Member

Add tx send subcommand to send transaction to the network

The new `sign` subcommand allows for signing a passed transaction envelope. And can choose a different source_account than the signing key's corresponding public key.

Additionally, `signer::{Transaction, TransactionHash, Blob}` traits which simplifies the interface. Using blanket implementations, any type that implements `Blob`, will implement, `TransactionHash` and any type that implements `TransactionHash` implements `Transaction`, which uses the hash. This will allow for types to opt in to how they want to sign the transaction.
@willemneal willemneal self-assigned this Sep 10, 2024
Add tx send subcommand to send transaction to the network
@willemneal
Copy link
Member Author

@leighmcculloch This is ready when the tx sign is merged.

Base automatically changed from feat/tx_sign to main September 24, 2024 02:37
Copy link
Member

@leighmcculloch leighmcculloch left a comment

Choose a reason for hiding this comment

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

I merged main in and resolved conflicts, and updated a test.

Lgtm.

@leighmcculloch leighmcculloch enabled auto-merge (squash) September 24, 2024 04:39
@leighmcculloch leighmcculloch merged commit ce31909 into main Sep 24, 2024
24 of 25 checks passed
@leighmcculloch leighmcculloch deleted the feat/tx_send branch September 24, 2024 04:42
elizabethengelman pushed a commit that referenced this pull request Sep 24, 2024
Co-authored-by: Leigh McCulloch <[email protected]>
@willemneal willemneal linked an issue Oct 2, 2024 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Add a tx sign command
2 participants