-
Notifications
You must be signed in to change notification settings - Fork 52
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
Add createCollection API to the SDK #87
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this should be under digitalAsset
class as all aptos_token
operations. we can skip it for now as this is a small implementation of a bigger item.
Or at least have this api to be under digitalAsset
Yes, let's combine |
bdf527c
to
88d8c60
Compare
@heliuchuan just for reference, I addressed the merge conflicts, we can get these two PRs in, and then combine them into one digitalAssets, which should just be an easy rename. |
} & CreateCollectionOptions, | ||
): Promise<SingleSignerTransaction> { | ||
return createCollectionTransaction({ aptosConfig: this.config, ...args }); | ||
} | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Returning a SingleSigner may be weird if we also support Fee payer, but I'm not sure how that model is going to look cc @0xmaayan
88d8c60
to
ff50886
Compare
Description
This adds a function for users to invoke 0x4::aptos_token::create_collection via the SDK
Test Plan
pnpm test
Related Links