laiweileeee / solana-twitter

decentralized twitter clone built on solana hosted on netlify - series by @lorisleiva

Home Page:https://solana-tweeter.netlify.app/#/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

solana-twitter

solana-tweeter.netlify.app/#/

animated

Things I learnt

  • Solana architecture
  • Rust basics
  • Anchor framwork
  • Vue.js framwork
  • Solana tool suite

Pre-requisites

  1. Node.js - Install Node using either nvm or fnm

  2. Solana Tool Suite - Installation instructions here. M1 Mac users troubleshoot info here

  3. Anchor - Installation instructions here.

  4. Solana browser wallet - I use Phantom

To build

Clone the repo

git clone https://github.com/laiweileeee/solana-twitter.git

Change into the project directory you'd like to run

Install the dependencies

yarn 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 solana-twitter/programs/solana-twitter/src/lib.rs with the output from above.

Run the tests

anchor test

Change into the app directory and install the dependencies:

cd app && yarn install

Run the client-side app

yarn start

About

decentralized twitter clone built on solana hosted on netlify - series by @lorisleiva

https://solana-tweeter.netlify.app/#/


Languages

Language:Vue 48.1%Language:TypeScript 26.1%Language:JavaScript 14.1%Language:Rust 9.2%Language:HTML 1.7%Language:CSS 0.7%