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

Add multisig account support #11

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Conversation

0xmaayan
Copy link
Collaborator

A multisig account on Aptos (aka multisig account v2) doesnt have a publicKey, therefore a multisig wallet is blocked by the required publicKey prop in the standard.

This PR introduces a new AptosWalletMultiSigAccount interface to implement.

Note that I decided to go with a new interface and a isMultiSigAccount property instead of making the publicKey property optional on the existing interface as the two accounts are logically different and it makes more sense to treat them as different accounts and also for a better dev exp where the end dev doesnt need to consistently check the type/instance of the account and prevent build mismatch.

@0xmaayan 0xmaayan force-pushed the multisig_account_support branch from d36ee2d to 7ed08ec Compare July 22, 2024 18:27
@0xmaayan 0xmaayan force-pushed the multisig_account_support branch from 7ed08ec to 80e5c33 Compare July 22, 2024 18:29
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.

1 participant