Skip to content

SIP-027: non sequential multisig transactions#152

Merged
obycode merged 27 commits intostacksgov:mainfrom
jbencin:sip-02x-non-sequential-multisig-transactions
Oct 29, 2024
Merged

SIP-027: non sequential multisig transactions#152
obycode merged 27 commits intostacksgov:mainfrom
jbencin:sip-02x-non-sequential-multisig-transactions

Conversation

@jbencin
Copy link
Copy Markdown
Contributor

@jbencin jbencin commented Aug 31, 2023

While implementing Stacks multisig in the Ledger app (Zondax/ledger-stacks#152), I found the current multisig format confusing and hard to work with. Other developers that have tried to work with multisig seem feel the same way (example: PR #139), and as far as I know there is currently no Stacks wallet with full multisig support. So wrote up this SIP which makes slight modifications to SIP-005 to add a new multisig transaction type which is a bit simpler and allows participants to sign in any order.

@AcrossfireX
Copy link
Copy Markdown

@jbencin - can you comment on how this relates to stacks-network/stacks-core#3710 and its associated SIP draft? Is it possible to fold these into one shared SIP effort? Let me know if it makes more sense for them to remain seperate.

@jbencin
Copy link
Copy Markdown
Contributor Author

jbencin commented Sep 21, 2023

@AcrossfireX That PR is now implementing this draft SIP. I know there is another draft SIP mentioning order-independent multisig (#139), but that one lacks implementation details

@fess-v
Copy link
Copy Markdown
Contributor

fess-v commented Sep 21, 2023

I will close the previous SIP PR so we can move all discussions to this one instead @jbencin @AcrossfireX

Copy link
Copy Markdown
Contributor

@MarvinJanssen MarvinJanssen left a comment

Choose a reason for hiding this comment

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

I welcome this SIP as it will make multisig much easier to use on Stacks. Excited to see more work in this direction. Some initial comments.

@AcrossfireX
Copy link
Copy Markdown

This SIP should be considered Accepted from the SIP Editors and should progress to technical CAB review. (Likely already underway)

Co-authored-by: wileyj <2847772+wileyj@users.noreply.github.com>
Co-authored-by: Brice Dobry <brice@obycode.com>
@jbencin
Copy link
Copy Markdown
Contributor Author

jbencin commented Oct 27, 2023

One more small thing I want to add here...

Even though the signing order is independent, the order of the public keys in the auth fields still determines how the address is generated. For backwards compatibility and to enable previously generated multisig accounts to use order-independent signing, I don't think we should mandate public key order, but I think we should recommend a public key ordering of least to greatest (which is equivalent to lexicographical sorting of hex-encoded values) to remove the guesswork when creating a transaction

@Hero-Gamer
Copy link
Copy Markdown
Contributor

Hero-Gamer commented Sep 30, 2024

The vote results need to be posted to this SIP, then it should be merged.

Brice I got all the stats for you!

Activation Status
At the end of cycle 90, the following vote was calculated. A total of 118,632,231 STX participated.

  • For solo stacking, 100% voted 'Yes.' Total voting power is 3,449,000 STX balance with votes cast from 1 account.

  • For pool stacking, 100% voted 'Yes.' Total voting power is 114,914,556 STX balance with votes cast from 75 accounts.

  • For non-stackers, 99.9933% voted 'Yes.' Total voting power of ‘Yes’ is 268,674 STX balance with votes cast from 157 accounts. 
For non-stackers, 0.0067% voted ’No.’ Total voting power of ‘No’ is 17 STX balance from 3 account.
    268,691.89

All voting criteria from STX holders have been met. A breakdown of the transactions can be found here.
A copy of the scripts used to tabulate the solo and pool stacking can be found here.

Script will be uploaded to SIP-027 folder by Jeff, once it's there URL will be available for text here.

@Hero-Gamer
Copy link
Copy Markdown
Contributor

cc: @jbencin

obycode
obycode previously approved these changes Oct 4, 2024
Copy link
Copy Markdown
Contributor

@obycode obycode left a comment

Choose a reason for hiding this comment

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

LGTM

@jcnelson jcnelson self-requested a review October 4, 2024 01:53
@jcnelson
Copy link
Copy Markdown
Contributor

jcnelson commented Oct 4, 2024

It is truly a pleasure to merge this in <3

@jcnelson
Copy link
Copy Markdown
Contributor

jcnelson commented Oct 4, 2024

Hi reviewers,

Can you please approve and merge #191 instead? It contains some fixes to this SIP, which I can't push directly since this PR comes from @jbencin's account.

Thanks!

@jcnelson jcnelson self-requested a review October 4, 2024 02:15
Copy link
Copy Markdown
Contributor

@jcnelson jcnelson left a comment

Choose a reason for hiding this comment

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

Only requesting changes to that the superseding PR #191 can be reviewed and merged. It contains the same commit history as this; I merely took the liberty of resolving my own comments on top of this.

Please review the above PR instead so we can get this merged in 🎉

@jbencin
Copy link
Copy Markdown
Contributor Author

jbencin commented Oct 24, 2024

Applied @Hero-Gamer's latest suggestion and merged @jcnelson's changes from #191

@jcnelson jcnelson self-requested a review October 24, 2024 17:42
@jcnelson
Copy link
Copy Markdown
Contributor

just need one more approval cc @obycode

@obycode obycode merged commit 9ecbf24 into stacksgov:main Oct 29, 2024
@stacksgov stacksgov deleted a comment from kelven7224 Jun 9, 2025
@stacksgov stacksgov deleted a comment from yawayl Jun 9, 2025
@stacksgov stacksgov locked as spam and limited conversation to collaborators Jun 9, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.