Open arthurgousset opened 9 months ago
Attempted solution with Celo Terminal + Celoscan that didn't work:
I think you can use Celo Terminal with WalletConnect Celoscan has WalletConnect support don’t use the Ledger option in the modal instead copy the URI and paste it in Celo terminal
Attempted solution with Foundry CLI:
I haven't tried this before, but maybe you could use Foundry cast call with the
--ledger
option. Ref: https://book.getfoundry.sh/reference/cast/cast-callCast very likely won't work with the Celo Ledger app, but I'll try
Why do you need to use a Celo derived address and Celo Ledger app? Is that a requirement or preference?
it needs to be Celo derived because I’ll use that address with the cli to make a proposal
Unfortunately, Celo CLI + ledger only work with the Celo Ledger app, and not with the Ethereum ledger app.
Probably for another day, but I'm curious what it would take to make all governance and proposal related calls via Foundry. I expect there are quite a few of convenience functions that help under the hood in the Celo CLI, but curious if it's possible. My thinking is that we'd inherit all the lovely support, maintenance, and design work available via Foundry's CLI.
The current work-around is to use a script that @martinvol wrote. When you have a moment, could you share some context on how you proposed CR11 in CGP 159 with your set up?
before we build this we def should think more about the siganture of the command.
while the original reason for this request was related to governance proposals the feature itself is very agnostic and general.
Once --muiltisig is supported for propose
is this still needed for that specific use case
Is this the kind of general use feature we want to support?
This issue is stale and will be closed in 30 days without activity
Component
@celo/celocli
Describe the feature you would like
Support arbitrary token approvals of the form
token:approve --spender <EOA> --from <Ledger> --value <n>
(this exact syntax is not verified, it's pseudocode).Additional context
To make governance proposals, users have to make a 10,000 CELO deposit. To make this safer, we are making it possible to use a multisig with the
celocli governance:propose
command here:While this multisigs are supported yet, some users are resorting to making the required deposit from EOAs created on a Ledger device. For example:
Source: Slack