Enoki (zkLogin Sui) use hooks Vue 3, based and on Enoki TypeScript SDK and inspired React integration.
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!
import {
useZkLogin,
useZkLoginSession,
useAuthCallback,
} from '@belongnet/enoki-vue'
This project is licensed under the terms of the MIT license.