Skip to content

binsta/sol-blog

Repository files navigation

Sol Blog - Solana Blog Platform

A decentralized blogging application built on Solana blockchain with secure on-chain post management, enabling users to create, read, and manage blog posts with cryptographic wallet authentication.

Overview

Sol Blog demonstrates core Solana development patterns for building production-ready dApps, including:

On-chain state management using Program Derived Accounts (PDAs)

Wallet-based authentication via Anchor framework constraints

Event emission for client-side indexing and real-time updates

Owner-based access control with authority verification

Efficient data serialization minimizing transaction costs

Features

Core Functionality

✅ Create Posts - Users sign transactions with their Phantom wallet to publish blog posts on-chain

✅ Read Posts - Fetch all posts or filter by author without RPC calls (optimized client-side queries)

✅ Update Posts - Authors can edit existing posts with CPI security checks

✅ Delete Posts - Close post accounts and recover rent lamports

✅ Author Authority - Only post creators can modify/delete their conten

About

Blog Contract on Solana

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published