@bonuz/sdk
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

Bonuz Mini App example

One-Click Deploy

Deploy the example using Vercel:

Deploy with Vercel

Installation

pnpm add bonuz-sdk @reown/appkit @reown/appkit-adapter-wagmi wagmi viem @tanstack/react-query 

Installation:

import { BonuzWrapper } from '@bonuz/sdk'


export default function App() {

return (
  <BonuzWrapper>
   {children}
  </BonuzWrapper>
 )
}

Usage

import { useBonuzSocialId, BonuzLoginButton, BonuzSocialID } from '@bonuz/sdk'

export default function Page() {
const { username, wallet, address } = useBonuzSocialID()
return (
 <main>
  <header>
   <BonuzLoginButton />
  </header>

  <BonuzSocialID />
 </main>
 )
}

/@bonuz/sdk/

    Package Sidebar

    Install

    npm i @bonuz/sdk

    Weekly Downloads

    1

    Version

    0.1.0

    License

    ISC

    Unpacked Size

    850 kB

    Total Files

    10

    Last publish

    Collaborators

    • olivermolnar
    • bonuz-bot
    • mostafatalaat770
    • yasmeen1