Skip to content

Bash scripts to create/review/approve/cancel/execute msigs

Notifications You must be signed in to change notification settings

CryptoLions/MSIG_console_manager

Repository files navigation

MSIG console manager EOSIO chains

Bash scripts to create/review/approve/cancel/execute msigs

For FIO chain please switch to FIO branch

Note: if there is a backslash \ in the data of a command, you may have to use a double backslash \\ for the script to work.

1. Edit 0_CONFIG.json

  • proposer: account name who creates msig

  • proposalName: msig name (chars a-z.1-5 allowed only, max length 12 symbols)

  • approver value also will be used as executer on msig execute.

  • msig_expiration_h: value in hours how long msig will be active

  • actions_list_file: list of actions which will be added to msig. One action per row. Do not include -s -j -d parametrs, they will be added automatically.

  • requireBPsapprove: if set to 1 - top 30 BPS will be added as approvers automatically, if set to 0 please edit next parametr approvers_list

  • approvers_list: list of msig approvers. Example {\"actor\": \"acc1\", \"permission\": \"active\"},{\"actor\": \"acc2\", \"permission\": \"active\"}

  • cleos: path to cleos binary

  • walletHost: your keosd daemon information

  • nodeHost: chain api node url

2. Prepare msig actions

Prepare actions list which will be included in msig (in example file 1_actions_list)

3. Execute scripts

run scripts 2-7 depend on need

Created by CryptoLions.io

About

Bash scripts to create/review/approve/cancel/execute msigs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages