For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending .md to page URLs.
Skip to content

Propose Payment by Msig

The following guide will allow a user to propose a payment in DAPP by msig for the guardians to review.

git clone https://github.com/liquidapps-io/dappgovernance
cd dappgovernance/msigs
npm i

This will clone the governance repository, change directory into the msigs folder, and install the necessary magic to make the msig work, namely eosjs.

From here, you must create a secrets.json file in /dappgovernance/msigs where you will store the different variables.

{
    "to":"natdeveloper",
    "quantity":"1.0000 DAPP",
    "memo":"transfer",
    "private_key":"ACTUAL_PRIVATE_KEY_OF_MSIG_PROPOSER_HERE",
    "proposal_name":"testpayment",
    "msig_proposer":"zlwb4mcq322g",
    "expiration":"2021-11-29T23:11:48"
}
  • to - the recipient of the DAPP

  • quantity - the amount in DAPP to be transferred

  • memo - optional memo for transfer

  • private_key - this is the key for the msig_proposer account

  • proposal_name - this is the name of the proposal must be a-z 1-5 and 12 or less characters in length

  • msig_proposer - the account that is proposing the msig

  • expiration - the expiration time for the trx, to make this easy simply update the year or month, in this case the example is November 29th, 2021 23:11:48 UTC.

Once you have your settings set, run the script with

If you need free CPU, see https://eospowerup.io/free

Here is an example msig that was cancelled: https://bloks.io/msig/zlwb4mcq322g/testpayment

If you do not have nodejs or npm installed on your computer, you can do so with the following commands:

There will be some output that looks like this:

Run those commands then run the following which will install nodejs / npm and retry the command:

Last updated