stacks-network / stacks-core

The Stacks blockchain implementation
https://docs.stacks.co
GNU General Public License v3.0
3.01k stars 667 forks source link

[sBTC] Add minimal contract to allow token and key administration #3488

Open xoloki opened 1 year ago

xoloki commented 1 year ago

Is your feature request related to a problem? Please describe. For sBTC we need a way to administer tokens and keys for the signers

Describe the solution you'd like Add a minimal clarity contract that does this

Describe alternatives you've considered There isn't any other way of doing this that will allow the interaction we need

Additional context member fields: signers public keys coordinator public key admins (2-of-3) 3 admin keys admin methods at beginning, contract needs to be init(admin principals) by owner. mutate signers, coordinator, admins coordinator method gated by a frost signature peg-in (mint) open methods withdrawal request (peg-out)

manages signer membership contract could have a multi-sig admin maintains public keys for signers and coordinator

jcnelson commented 1 year ago

Once CI passes on #3499 we can merge it and close this.