Starter for a PubKey UI project.
Warning
PubKey UI is unstable, there can be minor and major changes at any time.
Tip
If you don't have PNPM installed, you can install it using corepack:
corepack enable
corepack prepare pnpm@8 --activate- Clone the repository:
git clone https://github.com/pubkeyapp/pubkey-ui-starter my-app
cd my-app
pnpm installStart the API app:
pnpm dev:apiStart the web app:
pnpm dev:webBuild the API app:
pnpm build:apiBuild the web app:
pnpm build:wevpnpm lintpnpm testThis project is compatible with the generators from create-solana-dapp.
You can use it to generate an Anchor application:
pnpm add -D @solana-developers/preset-anchor
pnpm nx generate @solana-developers/preset-anchor:application anchor --dry-runWith this base set up, you can now add Anchor programs and tests to your project.
pnpm nx generate @solana-developers/preset-anchor:template --projectName anchor --directory anchor --template counter counter --dry-runMIT