Skip to content

Repository files navigation

TokenGator Program Library

The Easiest Way to Manage Dynamic NFT Collections on Solana.

Repositories

TokenGator is currently split into two repositories, one for the platform (API/SDK/Web UI) and one for the Anchor program.

Getting Started

Prerequisites

Installation

  1. Clone the repository:
git clone https://github.com/pubkeyapp/tokengator-starter my-app
cd my-app
pnpm install

Development

Start the API app:

pnpm dev:api

Start the web app:

pnpm dev:web

Build

Build the API app:

pnpm build:api

Build the web app:

pnpm build:wev

Lint

pnpm lint

Test

pnpm test

Add Anchor

This 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-run

With 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-run

License

MIT

About

The TokenGator Program Library is the Anchor part of the TokenGator platform. See the repo below for the platform! πŸŠπŸ‘€

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages