@provablehq/aleo-wallet-adapter-leo
v1.1.1
Published
Leo wallet adapter for Aleo
Readme
@provablehq/aleo-wallet-adapter-leo
Replaces
@provablehq/aleo-wallet-adaptor-leo(deprecated). Update dependencies and imports using the migration guide.
Adapter that maps Leo wallet functionality onto the Aleo wallet adapter contract.
When to use it
- Allow users of the Leo wallet to connect, sign, decrypt, and execute transactions in your Aleo app.
- Pair Leo with other adapters in a single wallet list without branching your app logic.
- Prototype Leo-specific functionality while keeping the rest of your integration untouched.
Installation
pnpm add @provablehq/aleo-wallet-adapter-leoUsage
import { LeoWalletAdapter } from '@provablehq/aleo-wallet-adapter-leo';
const wallets = [new LeoWalletAdapter()];Related packages
@provablehq/aleo-wallet-adapter-core– shared adapter base implementation.@provablehq/aleo-wallet-adapter-react– provider that surface Leo in React apps.- Other wallet adapters (
-shield,-puzzle,-fox, etc.) that can coexist with Leo.
Live demo: https://aleo-dev-toolkit-react-app.vercel.app/
