Skip to content

Leeyah-123/solana-blog-dapp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 

Repository files navigation

Solana Blog Decentralized Application

Overview

A decentralized blogging platform built on Solana, allowing users to create, read, update, and delete blog posts using Solana.

Live Deployment

Project Structure

solana-blog-dapp/
│
├── app/              # React frontend
│   ├── public/
│   ├── src/
│   │   ├── anchor/
│   │   ├── assets/
│   │   ├── components/
│   │   ├── pages/
│   │   ├── types/
│   │   └── App.tsx
│   ├── package.json
│   └── README.md
│
├── anchor/                # Solana Anchor program
│   ├── programs/
│   │   └── blog/
│   │       └── src/
│   ├── tests/
│   └── Cargo.toml
│
└── README.md

Prerequisites

  • Node.js (v16+)
  • Yarn
  • Rust
  • Solana CLI
  • Anchor
  • Phantom Wallet or similar Solana wallet

Setup and Installation

1. Clone the Repository

git clone https://github.com/yourusername/solana-blog-dapp.git
cd solana-blog-dapp

2. Set Up Solana Devnet

solana config set --url devnet
solana airdrop 2

3. Install Dependencies

# Install Anchor dependencies
anchor build

# Install frontend dependencies
cd frontend
yarn

4. Deploy Anchor Program

anchor deploy

5. Run Frontend

yarn dev

Features

  • Connect Solana wallet
  • Create blog posts
  • View blog posts
  • Edit your own posts
  • Delete your own posts
  • Fully decentralized

Technologies

  • Frontend: React, TypeScript
  • Blockchain: Solana
  • Smart Contract Framework: Anchor
  • Wallet Integration: Solana Wallet Adapter

About

This repository contains a Full Stack Solana Blog Dapp built with ReactJS and Anchor

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •