@belongnet/enoki-vue
v0.0.2
Published
Enoki Flow zk-login sui integration for Vue.js
Downloads
7
Readme
@belongnet/enoki-vue
Enoki (zkLogin Sui) use hooks Vue 3, based and on Enoki TypeScript SDK and inspired React integration.
Installation
Install dependencies:
pnpm add @belongnet/enoki-vue @mysten/enoki
Get your API key from Enoki Portal and setup your Enoki config:
import { useEnokiFlow } from '@belongnet/enoki-vue'
// setup enoki config first
const enokiFlow = useEnokiFlow({
apiKey: 'your-api',
})
Enjoy!
Advanced Usage
import {
useZkLogin,
useZkLoginSession,
useAuthCallback,
} from '@belongnet/enoki-vue'
Related
- https://github.com/MystenLabs/sui/tree/main/sdk/enoki
License
This project is licensed under the terms of the MIT license.