dabit3/complete-guide-to-full-stack-solana-development
소개
React, Anchor, Rust, Phantom을 사용한 Solana 풀스택 개발 완벽 가이드 블로그 글의 코드 예제
웹 및 앱 개발측정된 스타 증가
- in 24h
- 0
- in 7 days
- -1
- in 15 days
- -1
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
OriginalThe Complete Guide to Full Stack Solana Development with React, Anchor, Rust, and Phantom
Code examples to go with the blog post available here

Prerequisites
Node.js - I recommend installing Node using either nvm or fnm
Solana Tool Suite - You can see the installation instructions here. note - I had a very hard time getting everything working on an M1 Mac, mainly
solana-test-validatorandcargo-build-bpf. I finally figured it out, and posted my solution here. I'm sure at some point this will be fixed and work out of the box.Anchor - Anchor installation was pretty straight-forward for me. You can find the installation instructions here.
Solana browser wallet - I recommend Phantom, which is what I have tested this app with.
To build
- Clone the repo
git clone [email protected]:dabit3/complete-guide-to-full-stack-solana.git
Change into the project directory you'd like to run
Install the dependencies
npm install
- Start a local Solana node
solana-test-validator
- Build the anchor project
anchor build
- Fetch the project ID for the build:
solana address -k target/deploy/<programname>-keypair.json
Update the project ID in the Rust program located at projectname/programs/src/programname.rs with the output from above.
Run the tests
anchor test
- Change into the app directory and install the dependencies:
cd app && npm install
- Run the client-side app
npm start
관련 프로젝트 살펴보기
불러오는 중…