celo-org / staked-celo

GNU Lesser General Public License v3.0
8 stars 2 forks source link

MultiSig Proposal Interface #17

Closed soloseng closed 2 years ago

soloseng commented 2 years ago

Description

A Hardhat task that allows staked CELO multiSig owners to easily interface with the deployed multisig contract using HardhatRuntimeEnvironment.

Added the option to use a Ledger device to sign transactions using the use-ledger tag.

Note: When using Ledger device, make sure to use the ethereum app instead of the CELO app.

Example commands:

$ yarn run hardhat stakedCelo:multiSig:submitProposal --help

$ yarn run hardhat stakedCelo:multiSig:submitProposal --network local  --account <YOUR_LOCAL_NODE_ACOUNT_ADDRESS> --destinations '0xFC88f1406af22D522A74E922E8AaB170D723a665,0xFC88f1406af22D522A74E922E8AaB170D723a665' --values '2,0' --payloads '0x7065cb480000000000000000000000006ecbe1db9ef729cbe972c83fb886247691fb6beb,0x7065cb480000000000000000000000006ecbe1db9ef729cbe972c83fb886247691fb6beb'

// When signing a transaction, you can also use a ledger device
$ yarn run hardhat stakedCelo:multisig:confirmProposal --proposal-id 0 --use-ledger

Other changes

N/A

Related issues