Example showing how Electron-based apps can interact with the Treasure Development Kit's Treasure Connect feature, powering login flows and account abstraction.
- >= Node 22.12.0
- Running TDK API
Install dependencies:
pnpm install
In the workspace root folder, run the Electron install script:
node ./node_modules/electron/install.js
Create .env
file based on example and fill in with relevant environment variables:
cp .env.example .env
Start application:
pnpm dev