Skip to content

Latest commit

 

History

History
28 lines (21 loc) · 798 Bytes

File metadata and controls

28 lines (21 loc) · 798 Bytes

Wagmi Kit - Vite

Getting Started

  1. Clone this repository and open it in your terminal.
git clone https://github.com/openfort-xyz/openfort-js.git
  1. Install the necessary dependencies (including Openfort JS) with pnpm.
pnpm install
pnpm build
  1. Initialize your environment variables by copying the .env.example file to an .env file. Then, in .env, paste your Openfort ID from the dashboard.
# In your terminal, create .env from .env.example
cp .env.example .env

# Add your Openfort keys to .env
VITE_OPENFORT_PUBLISHABLE_KEY=
VITE_SHIELD_PUBLISHABLE_KEY=

Building locally

In your openfort-js project root, run pnpm dev:wagmi-vite.