Skip to content

feature: publish: improve trezor user friendliness #294

Open

Description

@nick1udwig

Is your feature request related to a problem? Please describe.
Currently output the following when user publishes with trezor:

$ kit p -u https://raw.githubusercontent.com/nick1udwig/wifenote/afbcf6ee0db2457a2973416153e778bd276831b5/metadata.json -t -r wss://base-mainnet.g.alchemy.com/v2/cafebabe -e 
new{derivation: TrezorLive(0), chain_id: Some(8453)}: transport connect: Connection refused (os error 111)
new{derivation: TrezorLive(0), chain_id: Some(8453)}:get_address_with_path{self: TrezorSigner { derivation: TrezorLive(0), session_id: "d00d", address: 0x0000000000000000000000000000000000000000 }, derivation: TrezorLive(0)}: transport connect: Connection refused (os error 111)
new{derivation: TrezorLive(0), chain_id: Some(8453)}:get_address_with_path{self: TrezorSigner { derivation: TrezorLive(0), session_id: "d00d", address: 0x0000000000000000000000000000000000000000 }, derivation: TrezorLive(0)}: return: Ok(0xf00ba2)
new{derivation: TrezorLive(0), chain_id: Some(8453)}: return: Ok(TrezorSigner { derivation: TrezorLive(0), session_id: "d00d", address: 0x101 })
get_address_with_path{self: TrezorSigner { derivation: TrezorLive(0), session_id: "d00d", address: 0x101 }, derivation: TrezorLive(0)}: transport connect: Connection refused (os error 111)
get_address_with_path{self: TrezorSigner { derivation: TrezorLive(0), session_id: "d00d", address: 0x101 }, derivation: TrezorLive(0)}: return: Ok(0x101)
transport connect: Connection refused (os error 111)
publish wifenote tx sent: 0x168e05a5ea3468aa5799d7d11f7912749e504daaab03510b8edebbdef4e5c877
Pubsub service request channel closed. Shutting down.

Describe the solution you'd like
Instead it should look more like:

$ kit p -u https://raw.githubusercontent.com/nick1udwig/wifenote/afbcf6ee0db2457a2973416153e778bd276831b5/metadata.json -t -r wss://base-mainnet.g.alchemy.com/v2/cafebabe -e
Please follow prompts on your Trezor...
Setting up to sign with address 0x101...
publish wifenote tx sent: 0x168e05a5ea3468aa5799d7d11f7912749e504daaab03510b8edebbdef4e5c877
Pubsub service request channel closed. Shutting down.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions