/dapp-scaffold

Primary LanguageTypeScriptApache License 2.0Apache-2.0

🩸 Solana Dapp Scaffold

Bleeding edge scaffolding for Solana smart contract development

Quickstart

git clone https://github.com/pindaroso/dapp-scaffold.git
cd dapp-scaffold

Install dependencies and run the development server.

yarn
yarn dev

Build and run Anchor with a local Solana validator

anchor test --detach

Environment Setup

  1. Install Rust
  2. Install Solana
  3. Install Node, NPM and Yarn
  4. Install Anchor

Directory structure

app

Front end code for UI which pulls in IDL from Anchor.

programs

Contract code to be deployed on Solana.

Is this better than solana-labs/dapp-scaffold?

No. It might actually be worse. This scaffolding adds the following: