Skip to content

alisonborba/coduet-app

Repository files navigation

🛠️ CodeDuet React App (DApp)

• Vercel Live demo: coduet.vercel.app • Anchor Program: github.com/alisonborba/coduet

A decentralized application (dApp) built on Solana to connect developers seeking help with other developers ready to collaborate and earn.

Watch the demo


📌 Overview

CodeDuet is a Web3-powered platform that allows users to request developer help through paid job posts, match with potential helpers (bidders), and settle jobs via smart contract transactions on the Solana blockchain.

This repository contains the React + Next.js front-end of the project, which interacts with the Anchor smart contract deployed on Solana Devnet.


🚀 Features

  • ✍️ Create Help Post: Users can publish posts requesting assistance with coding tasks.
  • Cancel Posts: Publishers can cancel open posts; only the platform fee is retained.
  • 💰 Fee Management (5%): Platform fees are automatically deducted upon post creation or cancellation.
  • 📩 Apply for Jobs: Helpers can apply to posts as bidders.
  • Complete Contract: Once the helper completes the task, the publisher can release the funds.
  • 🔐 Full smart contract validation via Anchor framework.
  • 🎨 Responsive UI powered by Tailwind CSS.

🧪 Getting Started

📦 Install dependencies

npm install

▶️ Run locally

npm run dev

By default, it runs using Vite for fast hot-reloading.

⚙️ Environment

Make sure to set up the following environment variables if needed:

VITE_MAIN_VAULT_KEYPAIR=[2, 3, 5, 7, 11, 13, 17, 19, 23, 29...]

🚀 Deployment

This project is deployed using Vercel, providing fast and seamless continuous deployment for the front-end application.


📂 Folder Structure

  • /src/components: Reusable UI components.
  • /src/lib: Utilities to interact with the smart contract (get PDA, program instance, etc).
  • /src/pages: Next.js page routes.
  • /tests: Integration tests (using Mocha + Anchor client).

🧰 Tech Stack

Layer Technology
Blockchain Solana (Devnet)
Smart Contract Anchor Framework
Frontend React + Next.js
Build Tool Vite
Web3 Integration @solana/web3.js
Wallet Support Phantom Wallet (via browser extension)
Styling Tailwind CSS
Anchor JS Client @coral-xyz/anchor

📈 Improvements and Contributions

This project is built during spare time and is a work in progress. Contributions and suggestions are welcome!

🔧 Upcoming Improvements

  • Make sure the helpers filled the wallet field before send bids.
  • Add the completeContract transaction solana explorer link.
  • Form validations and toast notifications enhancements.
  • Contract status indicators and better error handling.
  • Unit tests.
  • Improve visual feedback.
  • Reusable hooks for Solana interactions.
  • Fix others bugs.

🤝 Contributing

If you're interested in contributing or have ideas for improvement, feel free to fork the repo, create a issue or submit a pull request.

📧 Contact me: [email protected]
🔗 GitHub: @alisonborba 👨‍💼 Linkedin: alison-borba


🌐 Related Repositories


💡 Keywords

Solana, Web3, DApp, Anchor, Next.js, React, DeFi, Smart Contract,
Tailwind, Blockchain, Phantom Wallet, Decentralized Jobs, Open Source,
Developer DAO, Gasless Transactions


📜 License

MIT License — free to use, fork, build on.

About

Live Demo of Coduet App (Devnet - Beta Version)

Resources

Stars

Watchers

Forks

Releases

No releases published

Contributors 3

  •  
  •  
  •