Welcome to the FARGOAT Ecosystem! This guide will help you deploy and run the various components of the FARGOAT platform, including the GOAT Founders Club Ecosystem. This ecosystem is designed to enhance user engagement, visibility, and community growth for blockchain projects.
- Frontend: Use Next.js to build and deploy the frontend.
- Backend: Use Go services with PostgreSQL for the backend.
- Blockchain: Interact with the Goat Network blockchain for smart contract operations.
-
Install Dependencies:
yarn install
-
Build the Project:
yarn build
-
Run the Development Server:
yarn dev
-
Deploy:
- Use Vercel or any other hosting service that supports Next.js.
- Ensure your
vercel.json
is configured correctly:{ "buildCommand": "yarn build" }
-
Setup Go Environment:
- Ensure you have Go installed. You can download it from golang.org.
-
Initialize and Install Dependencies:
- Navigate to your project directory and run the following script to initialize the Go module and install necessary packages:
./run.sh
-
Run the Go Services:
- After the script completes, start the application:
./farGoat
-
Database Setup:
- Use PostgreSQL for data storage.
- Ensure your database is configured and running.
-
API Integration:
- Use GraphQL APIs to connect the frontend and backend.
-
Smart Contract Deployment:
- Deploy your smart contracts on the Goat Network blockchain (Chain ID 48815).
-
Register Contracts:
- Register your smart contracts within the ecosystem to enable point allocation and quest creation.
-
Interact with Contracts:
- Use the provided APIs to interact with your smart contracts for managing points and rewards.
- Quests System: Create tasks for users to earn points and rewards.
- Points and Rewards: Allocate and convert points into rewards.
- Analytics: Access real-time and batch analytics for user engagement.
- Community Building: Engage with a vibrant community of blockchain projects and users.
By following this guide, you can successfully deploy and run the FARGOAT Ecosystem, enhancing your blockchain project's engagement and visibility. Join the GOAT Founders Club today and take your project to new heights!
For more detailed instructions and scenarios, refer to the comprehensive guide provided in the ecosystem documentation.