An open source platform connecting crypto founders with elite talent to create bounties, and accelerate project completion
Superteam Earn website - https://earn.superteam.fun
Superteam website - https://superteam.fun
Superteam Earn X/Twitter - https://x.com/superteamearn
-
Clone the repository into a public Github repository (or fork it):
git clone https://github.com/SuperteamDAO/earn.git
-
Navigate to the project directory:
cd earn
-
Install the dependencies:
pnpm i
-
Set up your
.env
file.
-
Start by copying the
.env.example
file to a new file named.env
. This file will store your local environment settings. -
Database setup:
-
Create a local
MySQL
instance and replace<user>
,<pass>
,<db-host>
, and<db-port>
with their applicable values.LOCAL_DATABASE_URL='mysql://<user>:<pass>@<db-host>:<db-port>'
-
If you don't want to create a local DB, then you can also consider using services like railway.app or render.
-
Generate prisma migrations & client.
npx prisma migrate dev --name init && npx prisma generate
-
-
Privy setup:
- Create a new privy app, Client Side Web App
- Add env variables
NEXT_PUBLIC_PRIVY_APP_ID
andPRIVY_APP_SECRET
- Update the setting to include server side environment
- Add env variable
PRIVY_VERIFICATION_KEY
(hidden under 'Verify with key instead' in Privy App settings) - Enable Solana External Wallets and Google social sign in
-
Resend setup:
- To obtain your
RESEND_API_KEY
, visit the Resend dashboard.
- To obtain your
-
Cloudinary setup:
- To obtain your
CLOUDINARY_*
API keys, visit the Cloudinary dashboard.
- To obtain your
❗NOTE: If you are facing any issues with setup, feel free to contact Abhishek or Jayesh
- Run the development server
pnpm dev
We welcome contributions from everyone! Whether it's submitting an issue, a pull request, or suggesting new ideas, your input is highly valued. Check out our contributing guide for guidelines on how to proceed.
Facing an issue? Please feel free to reach out to Abhishek, Jayesh or Pratik
- Consistent, good-quality contributions will earn you contributor status in the Superteam of your preference! Contributors get special access to channels on Discord, preferential entry to events, and is a great stepping stone to becoming a Superteam member.
- Get XP if you're already a Superteam Member or Contributor
- Unwavering love and support from the Superteam Earn team!