Skip to content

Instantly share code, notes, and snippets.

@faisalthaheem
Created November 19, 2021 12:37
Show Gist options
  • Save faisalthaheem/e1bb255e71916cda5c31751452f9f24a to your computer and use it in GitHub Desktop.
Save faisalthaheem/e1bb255e71916cda5c31751452f9f24a to your computer and use it in GitHub Desktop.
Using polkadotJS to execute multisig transactions on substrate based nodes
Prepare call data (Who wants to transfer how much to whom) and serialize to hex encoded string
The above can be prepared by using the Send button on Accounts screen for the source multisig address, once
the required informaiton is entered and the "Send" button is pressed, the Sign transaction popup will appear
with the prepared call data under "multisig call data" at the bottom of the dialog.
Then on intrinsics
as [Alice] submit [multisig::asMulti] with [Threshold=2] [otherSignatories=Bob] [call=prepared call data] [maxWeight=500000000000 or a sufficient value]
Sign as Alice and note the block number for the withdrawal [balances.Withdraw] in network explorer
as [Bob] submit [multisig::asMulti] with [Threshold=2] [otherSignatories=Alice] [call=prepared call data] [TimePoint=original timepoint from first leg of transactio] [maxWeight=500000000000 or a sufficient value]
Transaction should go through
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment