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

[FR] Add multi-signature support (multi owner) #13

Open
rcmorano opened this issue Jan 19, 2021 · 0 comments
Open

[FR] Add multi-signature support (multi owner) #13

rcmorano opened this issue Jan 19, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@rcmorano
Copy link
Member

It would cool to enable users to perform multi-sig transactions. This is very possible using current approach which uses cardano-cli as backbone for handling transaction builds.

Multi-sig address creation workflow proposal:

  • tx-builder request "verification key" from owners (we need a button somewhere for this)
  • tx-builder generates script with atLeast/any/all requirements [0]
  • tx-builder/any-owner submits script to the blockchain (pay for fees + minUtxO) [1]
  • anyone can now send funds to the generated script address and they will be custodied by the script (multi-sig required to spend funds)

Multi-sig script-address spend workflow:

  • tx-builder/any-owner creates a tx with a tx-in from script-address [2]
  • tx-builder requests witness file from the required owners (could be this request sent via blockchain using metadata? and then witness files received via blockchain in the same way? ouroboros :o)
  • tx-builder assembles the tx and submits it [3]

[0] https://github.com/input-output-hk/cardano-node/blob/master/doc/reference/simple-scripts.md#json-script-syntax
[1] https://github.com/input-output-hk/cardano-node/blob/master/doc/reference/simple-scripts.md#sending-ada-to-a-script-address
[2] https://github.com/input-output-hk/cardano-node/blob/master/doc/reference/simple-scripts.md#step-1---construct-the-tx-body
[3] https://github.com/input-output-hk/cardano-node/blob/master/doc/reference/simple-scripts.md#step-3---construct-and-submit-the-transaction

@nothingalike nothingalike added the enhancement New feature or request label Jan 19, 2021
@rcmorano rcmorano changed the title [FR] Add multi-signature support (multi owner accounts) [FR] Add multi-signature support (multi owner) Jan 27, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants