{"id":13456527,"url":"https://github.com/dabit3/complete-guide-to-full-stack-solana-development","last_synced_at":"2025-11-17T15:24:20.096Z","repository":{"id":39733571,"uuid":"406100469","full_name":"dabit3/complete-guide-to-full-stack-solana-development","owner":"dabit3","description":"Code examples for the blog post titled The Complete Guide to Full Stack Solana Development with React, Anchor, Rust, and Phantom","archived":false,"fork":false,"pushed_at":"2023-07-12T18:17:54.000Z","size":28902,"stargazers_count":481,"open_issues_count":11,"forks_count":140,"subscribers_count":10,"default_branch":"main","last_synced_at":"2025-03-29T02:04:56.136Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dabit3.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2021-09-13T19:20:10.000Z","updated_at":"2025-03-26T04:50:41.000Z","dependencies_parsed_at":"2024-01-13T17:48:34.900Z","dependency_job_id":"349ea0ed-463c-4204-8ef9-c4b5feccc142","html_url":"https://github.com/dabit3/complete-guide-to-full-stack-solana-development","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabit3%2Fcomplete-guide-to-full-stack-solana-development","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabit3%2Fcomplete-guide-to-full-stack-solana-development/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabit3%2Fcomplete-guide-to-full-stack-solana-development/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dabit3%2Fcomplete-guide-to-full-stack-solana-development/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dabit3","download_url":"https://codeload.github.com/dabit3/complete-guide-to-full-stack-solana-development/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247280272,"owners_count":20912967,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-31T08:01:23.551Z","updated_at":"2025-11-17T15:24:20.065Z","avatar_url":"https://github.com/dabit3.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"## The Complete Guide to Full Stack Solana Development with React, Anchor, Rust, and Phantom\n\nCode examples to go with the blog post available [here](https://dev.to/dabit3/the-complete-guide-to-full-stack-solana-development-with-react-anchor-rust-and-phantom-3291)\n\n![Header image](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/nl0h25rp5h9ytg5wnrj7.png)\n\n\n### Prerequisites\n\n1. Node.js - I recommend installing Node using either [nvm](https://github.com/nvm-sh/nvm) or [fnm](https://github.com/Schniz/fnm)\n\n2. Solana Tool Suite - You can see the installation instructions [here](https://docs.solana.com/cli/install-solana-cli-tools). _note - I had a very hard time getting everything working on an M1 Mac, mainly `solana-test-validator` and `cargo-build-bpf`. I finally figured it out, and posted my solution [here](https://github.com/project-serum/anchor/issues/95#issuecomment-913090162). I'm sure at some point this will be fixed and work out of the box._\n\n3. Anchor - Anchor installation was pretty straight-forward for me. You can find the installation instructions [here](https://project-serum.github.io/anchor/getting-started/installation.html).\n\n4. Solana browser wallet - I recommend [Phantom](https://phantom.app/), which is what I have tested this app with.\n\n### To build\n\n1. Clone the repo\n\n```sh\ngit clone git@github.com:dabit3/complete-guide-to-full-stack-solana.git\n```\n\n2. Change into the project directory you'd like to run\n\n3. Install the dependencies\n\n```sh\nnpm install\n```\n\n4. Start a local Solana node\n\n```sh\nsolana-test-validator\n```\n\n5. Build the anchor project\n\n```sh\nanchor build\n```\n\n6. Fetch the project ID for the build:\n\n```sh\nsolana address -k target/deploy/\u003cprogramname\u003e-keypair.json\n```\n\n6. Update the project ID in the Rust program located at __projectname/programs/src/programname.rs__ with the output from above.\n\n7. Run the tests\n\n```sh\nanchor test\n```\n\n8. Change into the __app__ directory and install the dependencies:\n\n```sh\ncd app \u0026\u0026 npm install\n``` \n\n9. Run the client-side app\n\n```sh\nnpm start\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdabit3%2Fcomplete-guide-to-full-stack-solana-development","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdabit3%2Fcomplete-guide-to-full-stack-solana-development","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdabit3%2Fcomplete-guide-to-full-stack-solana-development/lists"}