Skip to content

Repository files navigation

Stack Underflow DApp

Homepage

A decentralized Q&A application built on Solana and deployed with Next.js on Vercel.
Think of it as a blockchain‑powered version of Stack Overflow — users can post questions and answers, and all interactions are recorded on Solana Devnet.


✨ Features

  • Create Questions: Users can submit questions with a topic and body.
  • Post Answers: Answers are tied to questions and stored on-chain.
  • Transaction Links: Each action returns a Solana Explorer link for transparency.
  • Live Updates: Questions and answers are fetched from chain and displayed in real time.
  • Deployed Frontend: Hosted on Vercel for easy access. Access here

🛠️ Tech Stack


📦 Installation

Clone the repo and install dependencies:

git clone https://github.com/Christone007/stack_underflow.git
cd stack_underflow/frontend/stack_underflow
npm install

🚀 Running Locally

Start the development server

npm run dev

visit http://localhost:3000 in your browser

📸 Screenshots

Homepage: List of questions with corresponding answers. frontend/stack_underflow/public/img Homepage

Create Question: Form to submit a new question. Create Question

Answer Modal: Popup to post answers with transaction link confirmation to view transaction on solana explorer Answer Modal

Development Notes

  • Questions and answers are stored on-chain using PDAs (getQuestionPDA, getAnswerPDA).
  • Transactions return signatures that are linked to Solana Explorer.
  • State is refreshed after each transaction to show live updates.

Live Demo

👉 stack-underflow-psi.vercel.app


🤝 Contributing

Pull requests are welcome! For major changes, please open an issue first to discuss what you’d like to change.

About

Stack Underflow is a decentralized Q&A platform built on Solana.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages