Skip to content

Adds wagmi guide #294

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Adds wagmi guide #294

wants to merge 2 commits into from

Conversation

taylorjdawson
Copy link
Collaborator

No description provided.

This UI handles user authentication (passkeys via Turnkey), transaction signing, and communication with the dApp via `postMessage`.
It securely interacts with the Turnkey API. Reference the `popup-wallet-demo`'s `@/apps/wallet` provides a concrete example.

**EIP-1193 Provider:** A JavaScript class implementing the [EIP-1193](https://eips.ethereum.org/EIPS/eip-1193) standard.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

where would @turnkey/eip-1193-provider slot into this? is there an opportunity to have it fit in here, or will clients have to roll their own regardless?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

no not exactly, at least not currently as the eip-1193-provider was built, we'd need a way like a plugin system of sorts that allows overriding or capture certain rpc requests i.e. eth_requestAccounts so the user could add their custom popup logic if they desire

@taylorjdawson
Copy link
Collaborator Author

@andrewkmin I moved the wagmi doc to this PR since we'll be merging that in at the same time!
I've addressed the pr comments here in that file
https://github.com/tkhq/docs/pull/298/files#diff-bbc47c4393d831766703bc80476a9424c20c036fb91fdd7a712354989461bc2a

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

Successfully merging this pull request may close these issues.

2 participants