0.1.6 • Published 10 months ago

@spyre-io/becky v0.1.6

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

Becky

A typescript and react module for building games on Spyre. This library provides a simple interface for interaction between the Thirdweb SDK, TanStack Query, Nakama SDK, and Spyre-specific hooks for game wallet interaction.

Quickstart

import { SpyreClientProvider } from "@spyre-io/becky";

function Example() {
 return (
   <SpyreClientProvider
    config={{
      thirdweb: {
        clientId: "Thirdweb Client Id",
        metadata: {}, // thirdweb app metadata
      },
      name: "Base Mainnet",
      chainId: 8453,
      contracts: {
        staking: { addr: "Game Wallet Address" },
        usdc: { addr: "USDC Address" },
      },
      network: base,
      blockExplorer: 'https://basescan.org',
    }}>
     <App />
  </SpyreClientProvider>
  );
}

Becky Development Quickstart

pnpm install
pnpm dev
0.1.6

10 months ago

0.1.5

10 months ago

0.1.4

10 months ago

0.1.3

10 months ago

0.1.2

10 months ago

0.1.1

10 months ago

0.1.0

10 months ago