Under Construction This DApp is in development

How to Contribute

We welcome contributors of all kindsβ€”whether you want to improve our smart contracts, enhance the front-end, fix bugs, or help write documentation. Here's how to get started:

πŸ“ Repo Structure

OmniSocial is structured as a monorepo using pnpm workspaces. The main directories include:

/contracts               β†’ Solidity smart contracts (OmniWallet, DAO, PersonaNFT, etc.)
/frontend                β†’ React front-end for OmniSocial dApp
/explorer                β†’ Omnitopia Explorer interface
/subgraph                β†’ The Graph subgraph code and schema
/scripts                 β†’ Deployment, registration, and helper scripts
/docs                    β†’ Markdown-based developer & user documentation
/packages/sdk            β†’ (optional) SDK or GraphQL client utilities

πŸ§‘β€πŸ’» How to Contribute Code

1. Fork & Clone

git clone https://github.com/OmniSocialBlockchain/omnisocial-monorepo.git
cd omnisocial-monorepo
pnpm install

2. Create a Feature Branch

git checkout -b feat/add-new-component

3. Commit Guidelines

Follow Conventional Commits:

feat: add tipping interface to FeedCard
fix: resolve bug with .omni alias resolution
docs: update contributing section

βœ… Coding Standards

Solidity (contracts)

  • Style: Solhint rules enforced

  • Compiler version: ^0.8.20

  • Named returns and NatSpec (@notice, @param) encouraged

  • Use require() with clear revert messages

  • Group state-changing functions at the top of each contract

JavaScript/TypeScript (frontend)

  • Code style: ESLint with Prettier

  • Framework: React + Next.js

  • Styling: TailwindCSS

  • i18n: Next-i18next

  • Wallets: wagmi with viem and @rainbow-me/rainbowkit

🧾 Documentation Contributions

  • All docs live in /docs (Markdown)

  • Each section of the platform has its own .md file

  • Use clear, beginner-friendly language

  • PRs with typo fixes, formatting improvements, or new sections are welcome

πŸ—£οΈ Communication & Feedback

  • πŸ’¬ Discord – Ask questions, suggest features, get real-time help

  • πŸ› GitHub Issues – Report bugs or request features

πŸ“¦ Pull Request Checklist

Before submitting your PR:

🏁 Start Here

  1. Comment if you want to take one

  2. Open a PR when ready

  3. Get feedback from core maintainers

Last updated

Was this helpful?