This is a work in progress.
Tip
If you don't have PNPM installed, you can install it using corepack
:
corepack enable
corepack prepare pnpm@latest --activate
- Clone the repository:
git clone https://github.com/pubkeyapp/pubkey-protocol
cd pubkey-protocol
pnpm install
Start web app
pnpm dev:web
Build web app
pnpm build:web
Build the Anchor program
pnpm build:anchor
Lint all projects
pnpm lint
Test all projects
pnpm test
To iterate on the anchor
program using a local validator, this is the recommended workflow:
Open this in one terminal:
pnpm anchor localnet
And this in another:
pnpm anchor test --skip-deploy --skip-local-validator
MIT