Solana Full-stack Demo
A counter program only deployer can increase the count
, default using Devnet
- follow guide.md to setup environment
- $ cd counter
- $ anchor build
- $ anchor keys sync
- change
programId
infront-end/src/anchor/setup.ts
- $ solana program deploy ./target/deploy/counter.so --use-rpc
- $ cd ../front-end
- follow guide.md to install dependencies
- $ yarn dev
- open website and click
init
first
View this guide on Solana docs or open up guide.md
in a markdown viewer like HackMD.
- Open guide.md in markdown viewer
- Follow it step by step
- Ask ChatGPT/Claude for help when you get stuck
- Take breaks if things aren't making sense
This is a dense guide and you're not expected to understand all of it if you don't know any Rust.