Skip to content
César Rodríguez edited this page Dec 13, 2022 · 3 revisions

Welcome to the Everipedia wiki!

Multisig deploy

alternative cleos method

cleos -u http://eos.eosn.io multisig propose prop21 '[ { "actor": "travisjmoore", "permission": "active" }, { "actor": "samkazsamkaz", "permission": "active" } ]' '[{ "actor": "everipediaiq", "permission": "active" }]' everipediaiq issue '{"to": "prediqtteam1", "quantity": "1000.000 IQ", "memo": "burn ETH -> mint EOS"}'  -p nebulablocks@active

backup

cleos -u http://eos.eosn.io get code everipediaiq -c everipediaiq.wasm -a everipediaiq.abi --wasm

craft txs without broadcasting

cleos -u http://eos.eosn.io set contract everipediaiq . -s -j -d -p everipediaiq@active > tx.json
cleos -u http://eos.eosn.io push action everipediaiq setmaxsupply '["21000000000.000 IQ"]' -s -j -d -p everipediaiq@active > tx2.json

Option A)

  1. replace tx.json expiration to future date (1 day or so)
cleos -u http://eos.eosn.io multisig propose_trx prop22 '[ { "actor": "travisjmoore", "permission": "active" }, { "actor": "samkazsamkaz", "permission": "active" } ]' tx.json kesaritooooo -p kesaritooooo@active

Option B) modify bash script

  1. copy tx.json in trx, and replace expiration
  2. add the requesters
  3. execute sh msig.sh

bash example:

cleos -u http://eos.eosn.io push action eosio.msig propose \
    '{
        "proposer": "kesaritooooo",
        "proposal_name": "prop1",
        "requested": [
            {
                "actor": "travisjmoore",
                "permission": "active"
            },
            {
                "actor": "samkazsamkaz",
                "permission": "active"
            }
        ],
        "trx": {
  "expiration": "2021-06-22T23:16:28",
  "ref_block_num": 23459,
  "ref_block_prefix": 3520978857,
  "max_net_usage_words": 0,
  "max_cpu_usage_ms": 0,
  "delay_sec": 0,
  "context_free_actions": [],
  "actions": [{
      "account": "eosio",
      "name": "setcode",
      "authorization": [{
          "actor": "everipediaiq",
          "permission": "active"
        }
      ],
      "data": "xxxx..."
    },{
      "account": "eosio",
      "name": "setabi",
      "authorization": [{
          "actor": "everipediaiq",
          "permission": "active"
        }
      ],
      "data": "yyyyyy...."
    }
  ],
  "transaction_extensions": [],
  "signatures": [],
  "context_free_data": []
},
        "max_fee": 1500000000
    }' -p kesaritooooo

handy actions ( review approve exec )

cleos -u http://eos.eosn.io multisig review kesaritooooo prop1

cleos -u http://eos.eosn.io multisig approve kesaritooooo prop1 '{ "actor": "kesaritooooo", "permission": "active" }'

cleos -u http://eos.eosn.io multisig exec kesaritooooo prop1 -p kesaritooooo@active