Bran18/GrantFox

Open-source grants platform using Trustless Work smart escrows, ideal for blockchains, DAOs, hackathons, and events, ensuring secure milestone-based funding.

★ 0Forks 0TypeScriptGitHub ↗Compare

README

CLR-S (2)

GigFox

Grants Open Source Platform.


Maintainers | Telegram

Owner 2

Joel Vargas | Frontend Developer

JoelVR17
Telegram
Owner 1

Tech Rebel | Product Manager

techrebelgit
Telegram
Owner 1

Pablo Mora | Product Owner

pmora3003
Telegram
Owner 1

Marco Araya | Backend Developer

coxmars
Telegram

Getting Started

Follow the steps below to get started with this project:

Summary

  1. Install npm dependencies.
  2. Create a Supabase Database. Tutorial
  3. Prisma Migration. This video works too👆🏼
  4. Run the Project.

Installation

  1. Install dependencies:

    npm i
  2. Format the code using Prettier: (This is for avoid eslint errors)

    npx prettier --write .
  3. Generate the Prisma Model into Supabase

    npx prisma db push
  4. Start the development server:

    npm run dev

Environment Variables

Make sure to set up the following environment variable in your .env file:

# SUPABASE -> Create a Supabase Database and copy the KEYS <-- See the Tutorial Video in Summary Section
NEXT_PUBLIC_SUPABASE_URL=
NEXT_PUBLIC_SUPABASE_ANON_KEY=
NEXT_PUBLIC_SUPABASE_SERVICE_ROLE_KEY=

# PRISMA <-- See the Tutorial Video in Summary Section
DATABASE_URL=
DIRECT_URL=

# TRUSTLESS WORK  <-- See the Video Below <-- Not necessary yet
NEXT_PUBLIC_API_URL=https://dev.api.trustlesswork.com
NEXT_PUBLIC_API_KEY=

API Key Video

dApp Trustless Work

408771125-33ea60b7-69b3-456a-afa6-56a7e70eb984.1.mp4

Wallet Requirements

To use this project, you must have one of the following wallets installed:

  • Freighter
  • Albedo
  • xBull
  • LOBSTR

These wallets are required to interact with the platform.

How to use a Wallet

You should use Chrome, Brave or Firefox browser, please install any of the wallets that were listen before. Important Note: If you're having problems to use Freighter, make sure that you have the wallet in "test net", and also if even you couldn't be able to use because it shows you "Not Available". Try going to: Security > Manage Connected Wallet > Remove the "localhost". If the problem persist, please contact us. This mistake happens for the wallet, not our product.

IMPORTANT NOTE:

It's important to note that we are using Husky. This means that when you run a git push, Husky will automatically execute npm run format and npm run lint. If either of these commands throws an error, the push will not be successful, and you will see a Husky error. When this happens, make sure to resolve any format and lint errors before trying the push again.

Contributors

JoelVR17coxmarsevgongoraBran18gchyulijimenezz22angeldavid218kimcascante

Issues