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

Support publish module API #99

Merged
merged 1 commit into from
Oct 19, 2023
Merged

Support publish module API #99

merged 1 commit into from
Oct 19, 2023

Conversation

0xmaayan
Copy link
Collaborator

Description

This adds an API function to publish a move module with the SDK. It is a used function with some of our external partners.
Note: later, when we will have aptos-cli integrated within the SDK, this process would be much more simple!

Test Plan

pnpm test


export async function signAndSubmitTransaction(args: {
aptosConfig: AptosConfig;
signer: Account;
Copy link
Contributor

Choose a reason for hiding this comment

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

I like the idea of using Account here. Similar concept to where I would like to replace many address: HexInput to address: AccountAddress :)

Copy link
Collaborator Author

@0xmaayan 0xmaayan Oct 18, 2023

Choose a reason for hiding this comment

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

I think we use Account for all transaction submission api functions when the keys are needed

@0xmaayan 0xmaayan merged commit 4a22a78 into main Oct 19, 2023
4 checks passed
@0xmaayan 0xmaayan deleted the publish_module branch October 19, 2023 17:19
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