- Clone this repository and open it in your terminal.
git clone https://github.com/openfort-xyz/openfort-js.git- Install the necessary dependencies (including Openfort JS) with
pnpm.
pnpm install
pnpm build- Initialize your environment variables by copying the
.env.examplefile to an.envfile. 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=In your openfort-js project root, run pnpm dev:wagmi-vite.