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
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
/dappgovernance/msigswhere you will store the different variables.
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
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 do not have nodejs or npm installed on your computer, you can do so with the following commands:
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash
There will be some output that looks like this:
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
Run those commands then run the following which will install nodejs / npm and retry the command:
nvm install 16
nvm use 16