jogeshwar01 / tesior-web

Open Source Web3 (Solana) Bounties 💵 - One of the winners of 100xDevs Solana Superteam Hackathon
https://tesior-web.vercel.app
MIT License
10 stars 3 forks source link
neondb next-auth nextjs open-source prisma shadcn-ui solana tailwindcss turborepo typescript upstash vercel

Tesior 💵

🤖 The open-source Web3 bounties platform. Built with Solana.
Learn more »

Introduction · Features . Tech Stack . Architecture . Contributing . Docs

Twitter Twitter

Introduction

Tesior is an advanced open-source platform tailored for the Web3 (Solana) ecosystem, enabling seamless bounty management and cryptocurrency transactions.

Features

Tech Stack

Others

Architecture

Tesior Architecture

Contributing

We love our contributors! Here's how you can contribute:

Local Development

A guide on how to run Tesior's codebase locally

  1. Clone the repo into a public GitHub repository (or fork https://github.com/jogeshwar01/tesior-web).

    git clone https://github.com/jogeshwar01/tesior-web.git
  2. Go to the project folder.

    cd tesior-web
  3. Install packages with yarn.

    yarn install
  4. Set up your .env file

    • Duplicate .env.example to .env.

    • Use openssl rand -base64 32 to generate a key and add it under NEXTAUTH_SECRET in the .env file.

    • Add the APP_WALLET_ADDRESS - public key to receive payments.

    • Setup Github app to configure NextAuth. Add the respective GITHUB_CLIENT_ID AND GITHUB_CLIENT_SECRET.

    • For developing locally, start postgres and redis locally.

      cd docker
      docker compose up
    • For cloud deployments, setup database on Neon and redis on Upstash.

  5. Private key management -

    • To send payments, you would need the private key of your wallet. This can be secured using multi-cloud kubernetes clusters and shamir secret sharing. This has been implemented here - Tesior-pkm.

    • To test locally, go through the shamir-secret-sharing module here. Create 5 shares using the createShares function. Update fetchShares to get shares from .env instead of api calls to multi-cloud servers.

  6. Build and Start the Nextjs app.

    yarn build
    yarn dev

License

Tesior is open-source under the MIT License. You can find it here.