You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|[`@turnkey/ethers`](/packages/ethers)|[](https://www.npmjs.com/package/@turnkey/ethers)| Turnkey Signer for Ethers |[CHANGELOG](/packages/ethers/CHANGELOG.md)|
12
-
|[`@turnkey/viem`](/packages/viem)|[](https://www.npmjs.com/package/@turnkey/viem)| (Experimental) Turnkey Helpers to work with Viem |[CHANGELOG](/packages/viem/CHANGELOG.md)|
13
-
|[`@turnkey/cosmjs`](/packages/cosmjs)|[](https://www.npmjs.com/package/@turnkey/cosmjs)| (Experimental) Turnkey Cosmos Signer for CosmJS |[CHANGELOG](/packages/cosmjs/CHANGELOG.md)|
14
-
|[`@turnkey/http`](/packages/http)|[](https://www.npmjs.com/package/@turnkey/http)| Lower-level, fully typed HTTP client for interacting with Turnkey API |[CHANGELOG](/packages/http/CHANGELOG.md)|
15
-
|[`@turnkey/api-key-stamper`](/packages/api-key-stamper)|[](https://www.npmjs.com/package/@turnkey/api-key-stamper)| Provide API key signatures over Turnkey requests |[CHANGELOG](/packages/api-key-stamper/CHANGELOG.md)|
16
-
|[`@turnkey/webauthn-stamper`](/packages/webauthn-stamper)|[](https://www.npmjs.com/package/@turnkey/webauthn-stamper)| Provide Webauthn signatures over Turnkey requests |[CHANGELOG](/packages/webauthn-stamper/CHANGELOG.md)|
|[`@turnkey/ethers`](/packages/ethers)|[](https://www.npmjs.com/package/@turnkey/ethers)| Turnkey Signer for Ethers |[CHANGELOG](/packages/ethers/CHANGELOG.md)|
12
+
|[`@turnkey/viem`](/packages/viem)|[](https://www.npmjs.com/package/@turnkey/viem)| (Experimental) Turnkey Helpers to work with Viem |[CHANGELOG](/packages/viem/CHANGELOG.md)|
13
+
|[`@turnkey/cosmjs`](/packages/cosmjs)|[](https://www.npmjs.com/package/@turnkey/cosmjs)| (Experimental) Turnkey Cosmos Signer for CosmJS |[CHANGELOG](/packages/cosmjs/CHANGELOG.md)|
14
+
|[`@turnkey/http`](/packages/http)|[](https://www.npmjs.com/package/@turnkey/http)| Lower-level, fully typed HTTP client for interacting with Turnkey API |[CHANGELOG](/packages/http/CHANGELOG.md)|
15
+
|[`@turnkey/api-key-stamper`](/packages/api-key-stamper)|[](https://www.npmjs.com/package/@turnkey/api-key-stamper)| Provide API key signatures over Turnkey requests |[CHANGELOG](/packages/api-key-stamper/CHANGELOG.md)|
16
+
|[`@turnkey/iframe-stamper`](/packages/iframe-stamper)|[](https://www.npmjs.com/package/@turnkey/iframe-stamper)| Provide API key signatures over Turnkey requests within iframe contexts |[CHANGELOG](/packages/iframe-stamper/CHANGELOG.md)|
17
+
|[`@turnkey/webauthn-stamper`](/packages/webauthn-stamper)|[](https://www.npmjs.com/package/@turnkey/webauthn-stamper)| Provide Webauthn signatures over Turnkey requests |[CHANGELOG](/packages/webauthn-stamper/CHANGELOG.md)|
17
18
18
19
## Code Examples
19
20
@@ -24,6 +25,9 @@ API Docs: https://docs.turnkey.com/
24
25
|[`demo-ethers-passkeys`](https://github.com/tkhq/demo-ethers-passkeys)| A NextJS app that demonstrates how to use `@turnkey/ethers` to build a passkey-powered application |
25
26
|[`demo-viem-passkeys`](https://github.com/tkhq/demo-viem-passkeys)| A NextJS app that demonstrates how to use `@turnkey/viem` to build a passkey-powered application |
26
27
|[`deployer`](/examples/deployer/)| Compile and deploy a smart contract |
28
+
|[`email-auth`](/examples/email-auth/)| A NextJS app demonstrating a complete email auth flow |
29
+
|[`email-recovery`](/examples/email-recovery/)| A NextJS app demonstrating a complete email recovery flow |
30
+
|[`wallet-export`](/examples/wallet-export/)| A NextJS app demonstrating a complete wallet export flow |
27
31
|[`rebalancer`](/examples/rebalancer/)| A demo application which showcases an example of how to use Turnkey for managing multiple types of keys & users |
28
32
|[`sweeper`](/examples/sweeper/)| Sweep funds from one address to a different address |
29
33
|[`trading-runner`](/examples/trading-runner/)| A sample application demonstrating a trading operation, using various private keys, users, and policies, powered by Uniswap |
This example contains an example auth page as well as a stub API endpoint for "your business" (where the email is resolved into an organization ID). The creation of the hidden iframe is abstracted by our `@turnkey/iframe-stamper` package. For more information on email auth, [check out our documentation](https://docs.turnkey.com/getting-started/email-auth).
12
12
@@ -44,7 +44,7 @@ Now open `.env.local` and add the missing environment variables:
44
44
-`API_PRIVATE_KEY`
45
45
-`NEXT_PUBLIC_ORGANIZATION_ID`
46
46
-`NEXT_PUBLIC_BASE_URL` (the `NEXT_PUBLIC` prefix makes the env variable accessible to the frontend app)
0 commit comments