Skip to content

feat: tx send - #1592

Merged
leighmcculloch merged 25 commits into
mainfrom
feat/tx_send
Sep 24, 2024
Merged

feat: tx send#1592
leighmcculloch merged 25 commits into
mainfrom
feat/tx_send

Conversation

@willemneal

Copy link
Copy Markdown
Contributor

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
Copy Markdown
Contributor 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

@leighmcculloch leighmcculloch left a comment

Copy link
Copy Markdown
Member

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
@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