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

Handle Empty Signatures #4

Merged
merged 1 commit into from
Jan 8, 2024
Merged

Handle Empty Signatures #4

merged 1 commit into from
Jan 8, 2024

Conversation

Funkatronics
Copy link
Collaborator

No description provided.

@Funkatronics
Copy link
Collaborator Author

@Michaelsulistio this PR adds a couple niceties for ya. you can now build unsigned transactions like this:

val message: Message = ... // build your message

val unsignedTransaction = message.toUnsignedTransaction()
 - or - 
val unsignedTransaction = Transaction(message)

val serializedTransaction = unsignedTransaction.serialize()
// send serialized unsigned transaction to MWA etc. 

this will handle setting up the empty signature arrays for you

@Funkatronics Funkatronics merged commit c60cc3a into main Jan 8, 2024
2 checks passed
@Funkatronics Funkatronics deleted the handle-empty-signatures branch January 10, 2024 16:17
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.

2 participants