@belongnet/enoki-vue
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

@belongnet/enoki-vue

Version Downloads install size npm bundle size

publint | arethetypeswrong

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

License

This project is licensed under the terms of the MIT license.

Readme

Keywords

Package Sidebar

Install

npm i @belongnet/enoki-vue

Weekly Downloads

0

Version

0.0.2

License

MIT

Unpacked Size

12 kB

Total Files

18

Last publish

Collaborators

  • reslear
  • belongfoundation