Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python script to clear sign a EIP712 message (json) #629

Open
chandraprakash opened this issue Aug 15, 2024 · 3 comments
Open

Python script to clear sign a EIP712 message (json) #629

chandraprakash opened this issue Aug 15, 2024 · 3 comments
Labels
enhancement New feature or request

Comments

@chandraprakash
Copy link

chandraprakash commented Aug 15, 2024

Description

Hi Team,
I want to use a python script to clear sign a EIP712 message (json) via my ledger device.

I could use ledgerjs's signEIP712Message to clear sign a EIP712 message json.

In your repo I could see there is a python client EthAppClient with a method eip712_sign_new.

Can this client be used in production to clear sign an EIP712 message json? If yes, will be very helpful, if you could point me to an example snippet.

Alternatively, please guide me to any python (or any other supported language) equivalent of ledgerjs's signEIP712Message.

Your environment

  • Device (Nano S Plus)

Apologies, if this is not the right place to raise this.

@chandraprakash chandraprakash added the enhancement New feature or request label Aug 15, 2024
@chandraprakash chandraprakash changed the title python script to clear sign a EIP712 message (json) Python script to clear sign a EIP712 message (json) Aug 15, 2024
@apaillier-ledger
Copy link
Contributor

Hello @chandraprakash,

Sorry for the late reply, the python client is meant for the automatic testing of the app itself, not for anything production. For example it does not use the CryptoAssetList (CAL) to retrieve signed data from Ledger, instead if signs data on the fly with a test key.
I'm afraid that it is the only existing implementation other than ledgerJS for this.

@chandraprakash
Copy link
Author

Thanks for your response !
Is there any Python (or Rust) support to clear sign a EIP712 message planned in your road map?

@apaillier-ledger
Copy link
Contributor

Not as far as I know.
This is what's on the roadmap (to eventually replace LedgerJS) : https://github.com/LedgerHQ/device-sdk-ts

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants