Skip to content

pubkeyapp/pubkey-protocol

Repository files navigation

PubKey Protocol (PPL)

This is a work in progress.

Getting Started

Prerequisites

Tip

If you don't have PNPM installed, you can install it using corepack:

corepack enable
corepack prepare pnpm@latest --activate

Installation

  1. Clone the repository:
git clone https://github.com/pubkeyapp/pubkey-protocol
cd pubkey-protocol
pnpm install

Development

Start web app

pnpm dev:web

Build

Build web app

pnpm build:web

Build the Anchor program

pnpm build:anchor

Lint

Lint all projects

pnpm lint

Test

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

License

MIT