- Node 18+
- PNPM 9+
If you have Node 16+, you can activate PNPM with Corepack:
corepack enable
corepack prepare pnpm@`npm info pnpm --json | jq -r .version` --activate
Corepack requires a version to enable, so if you don't have jq installed, you can install it, or just manually get the current version of pnpm with npm info pnpm
and use it like this:
corepack prepare [email protected] --activate
git clone https://github.com/anza-xyz/wallet-adapter.git
cd wallet-adapter
pnpm install
pnpm run build
Please be patient! This may take a while the first time you do it. Subsequent builds will be incremental and are quite fast.
You can also use pnpm watch
to run incremental builds when source files change, enabling hot module reloading.
cd packages/starter/react-ui-starter
pnpm run start
open http://localhost:1234