A centralized repository featuring comprehensive Capsule SDK examples. For more details, visit the documentation or the developer portal to get your API keys.
This section provides an overview of the available Capsule SDK examples across different platforms.
- NextJS
- PWA Craco
- React Craco
- React Vite
- Swift: Currently in a dedicated repo
Within each of these sections:
src/auth/
has examples across connector libraries, OAuth/login methods, and authenticated vs. pre-generated wallets.src/signing/
has examples for popular Cosmos, EVM, and Solana signer libraries as well as Account Abstraction.
To run the examples, navigate to the respective directory and use:
yarn install
yarn dev
Make sure to configure the .env
file based on the .env.example
file in each project directory.
Additional web examples can also be found outside this repository:
Each of these examples is an app that can be run individually. To run them, navigate into the corresponding directory and use:
yarn install
yarn dev
Make sure to set up a .env
file based on the .env.example
file in each project directory.
Within each of these sections, the handlers/
directory contains examples for signing with pre-generated wallets,
imported sessions, and Account Abstraction.
To run these examples, navigate to the specific directory and use:
yarn install
yarn dev
Make sure to configure the .env
file based on the .env.example
file in each project directory.
Each of these examples is an app that can be run individually. Follow the same steps as above to run them.
Make sure to configure the .env
file based on the .env.example
file in each project directory.