-
Notifications
You must be signed in to change notification settings - Fork 62
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 MultiEd25519 account support #627
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.
Looks great!
@@ -23,6 +23,79 @@ function bitCount(byte: number) { | |||
} | |||
/* eslint-enable no-bitwise */ | |||
|
|||
export abstract class AbstractMultiKey extends AccountPublicKey { |
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.
Nice!
* @group Implementation | ||
* @category Account (On-Chain Model) | ||
*/ | ||
readonly signers: Ed25519PrivateKey[]; |
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.
just wondering, why "signers" as opposed to "privateKeys"?
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.
I think its better to describe functionality. In theory I might want to change the type to something that signs rather than privateKey.
Test Plan
Added unit and e2e tests
Related Links
Checklist
pnpm fmt
?CHANGELOG.md
?