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

WalletConnect sign QR from Terminal #60

Closed
insipx opened this issue Feb 13, 2024 · 1 comment
Closed

WalletConnect sign QR from Terminal #60

insipx opened this issue Feb 13, 2024 · 1 comment

Comments

@insipx
Copy link

insipx commented Feb 13, 2024

Hello!

I've been building a toy terminal chat app with rust & ratatui, and want to incorporate a way for a user to get into the app via their Ethereum Wallet. I found walletconnect crate, which allows signing a QR code walletconnect-style to get a wallet instance. However, this crate is a couple years old and has not been updated. I believe its still on an old version of the walletconnect protocol.

I was wondering if this library is mature enough, or will be mature enough (or if it is even possible/a goal) to do what the walletconnect crate does. If not, what has to be done to get it there?

I saw the sign example in the PRs, but that requires interacting with a webui(terminal only!). Is it possible to create an example that uses only the terminal?

@chris13524
Copy link
Member

chris13524 commented Feb 13, 2024

It doesn't appear to me that the sign client implemented in #48 requires a web UI. It happens to demonstrate usage with react-app as the other side of the sign session, but the wallet-side is implemented as a headless app. There should be no problem in building either side of the session without a web UI.

That being said, the implementation there is immature and may or may not work for you. You are welcome to contribute to make it functional for your use case, but for now, it is not a priority of our Rust team to support a Rust-based Sign API implementation.

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

No branches or pull requests

2 participants