Safe-CLI Transactions Fail with Trezor Wallet
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- python
- Domain
- blockchain, cli
Research direction
Start by reproducing the failure with load_trezor_cli_owners and tx-sign in tx-service mode, then try approve_hash in blockchain mode. Trace the Safe-CLI entry points for these commands and the Trezor interaction to identify why signing returns “Unexpected message” and why the account is not loaded. Done means both transaction signing and hash approval work with a Trezor wallet.
Written by the indexing model from the issue text.
Description
I am trying to send transactions using the Safe-CLI with a Trezor wallet. The Trezor address is successfully imported via load_trezor_cli_owners, but signing transactions fails with the following error
HwDevice exception: Unexpected message
This occurs when running tx-sign in tx-service mode.
Additionally, when switching to blockchain mode, I encounter another issue when attempting to approve a hash:
Account 0x is not loaded
Steps to reproduce the behavior:
- Load a Trezor wallet into Safe-CLI:
safe-cli load_trezor_cli_owners - Attempt to sign a transaction in
tx-servicemode:safe-cli tx-sign <transaction> - Observe the error:
HwDevice exception: Unexpected message - Switch to
blockchainmode and try approving a hash:safe-cli approve_hash <hash> <sender> - Observe the error:
Account 0x00..1 is not loaded
The Safe-CLI should properly interact with the Trezor wallet to sign transactions without unexpected hardware errors.
- Dominant language
- Python
- Stars
- 280
- Forks
- 110
- Avg merge
- 1d 11h
- Merged PRs (30d)
- 5
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from safe-global/safe-cli
-
safe-global/safe-cli#524 · 1 assignee ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 42/100
safe-global/safe-cli#519 · 1 comment ·
-
Backend bug
Difficulty 3/5 1-2 days Newbie friendliness 38/100
safe-global/safe-cli#488 · 2 comments ·
-
enhancement
safe-global/safe-cli#435 · 3 comments · 1 reaction · 1 assignee ·
-
Add relaying again Openenhancement
safe-global/safe-cli#276 · 1 assignee ·
All issues in safe-global/safe-cli
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
bancolombia/sentinel#23 ·
-
test md OpenCI
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
langchain-ai/deepagents#6450 ·
-
bug client
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100