polkascan / py-substrate-interface

Python Substrate Interface
https://polkascan.github.io/py-substrate-interface/
Apache License 2.0
240 stars 114 forks source link

Multisig helper functions #240

Closed arjanz closed 1 year ago

arjanz commented 1 year ago

Provide an easier way to prepare and finalize extrinsics signed by a Multisig account.

Suggested workflow:

  1. Multisig account class to compose the deterministic address according to the amount of its signatories.
  2. Create an extrinsic providing the call and one of the signatory Keypair. (for example create_multisig_extrinsic(call, multisig, keypair))
  3. When creating there will be an on-chain check if the extrinsic can be finalized, (last signatory; provide full call data), or not (provide call hash only)