Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/juliencrn/solana-anchor-crud

The Complete Guide to Full Stack Solana Development tutorial
https://github.com/juliencrn/solana-anchor-crud

anchor phantom react rust solana solana-program

Last synced: about 2 months ago
JSON representation

The Complete Guide to Full Stack Solana Development tutorial

Awesome Lists containing this project

README

        

# My Solana App

Solana powered app built following this tutorial: https://dev.to/edge-and-node/the-complete-guide-to-full-stack-solana-development-with-react-anchor-rust-and-phantom-3291

## Installation

Require `node`, `yarn`, `anchor`, `rust` and `solana` installed.

```sh
# Compile the Solana program (smart contract)
anchor build

anchor test
```

### Develop

```sh
# In 2 terminal panes;
# 1. Start the Solana blockchain locally
solana-test-validator
# 2. Get logs
solana logs
```

### Project structure

- app - Where our frontend code will go
- programs - This is where the Rust code lives for the Solana program
- test - Where the JavaScript tests for the program live
- migrations - A basic deploy script