This repository contains the API and smart contract components of Meent, a platform that helps web2 ticket portals to adapt to web3 technologies to provide a secure and transparent ticketing ecosystem for live events.
The Meent platform is built on a robust architecture that ensures seamless integration and enhanced security. The following components make up the system:
-
API: The API, developed in Golang, serves as the bridge between web2 ticketing platforms and the blockchain. It enables event organizers to effortlessly sell tickets and integrates with the smart contract for secure transaction handling.
-
Smart Contract: The smart contract, developed using Truffle, manages the transfer of ticket values and leverages the power of blockchain for enhanced security and transparency.
Before running the API and deploying the smart contract, ensure that you have the following prerequisites installed:
- Golang
- Truffle
To get started, follow these steps:
- Clone this repository:
git clone https://github.com/ManuelLecaro/Meent.git
- Navigate to the project directory:
cd Meent
- go to truffle project
cd ticketDapp
- Install the necessary dependencies:
npm install
- Deploy the smart contract:
truffle migrate
- go to api project
cd mintAPIw2
- Fill the configurations on config.toml
- Start the API server:
docker-compose up
The API provides the following endpoints:
/event
: Retrieves a list of events/event/:id
: Retrieves a specific event by ID/event/:id/mint
: Mint a ticket event by ID
For detailed information on the API endpoints and request/response formats, please refer to the API documentation.
You can download the frontend from this repo: git clone https://github.com/daniel0ar/MeentFrontend
Follow its readme instructions and deploy it on local
We welcome contributions from the community to improve and enhance the Meent platform. If you'd like to contribute, please follow our contribution guidelines.
This project is licensed under the MIT License.