How to Navigate the Festival Marketplace: Ticket Booking and Reselling

Dec 19, 2023 | Blockchain

In the ever-evolving world of digital transactions, the Festival Marketplace has emerged as a game-changer, providing an end-to-end blockchain-based platform for festival ticket booking and reselling. This innovative system not only tackles the pervasive issue of fake tickets but also combats the pitfalls of uncontrolled resale prices in the black market. Here, we’ll guide you through the functionalities, workings, and troubleshooting of the Festival Marketplace, ensuring a seamless experience.

Understanding the Festival Marketplace

The Festival Marketplace leverages the Ethereum blockchain, utilizing ERC721 tokens to represent festival tickets and ERC20 token, named FEST, to facilitate purchases. Think of it as a marketplace where, instead of traditional tickets, you receive a digital token representing your entrance to the event. This token is secure and verifiable, ensuring that what you purchase is genuine.

Key Functionalities

  • Organiser Capabilities: Organisers can create a new festival by specifying ticket prices and supply.
  • Customer Purchase: Customers can buy tickets directly from the organiser.
  • Ticket Ownership: Customers can view the tickets they own for any available festival.
  • Resale Options: Customers can sell their tickets either on a secondary market or directly to peers, with price limits.
  • Commission Structure: When sold through the secondary market, a 10% commission is deducted for the organiser.

How It Works

Creating a New Festival

The organiser initially creates a festival by minting tickets using the bulkMintTickets() function in the FestivalNFT smart contract. It’s akin to a host preparing the seating arrangement before the event; the minted tickets are entrusted to the FestivalMarketplace smart contract.

Purchasing Tickets

When a customer decides to purchase, the application first sets the ticket price as the allowance for the FestivalMarketplace contract. It’s like purchasing a movie ticket where you pre-load your wallet with funds before confirming your buy. Then, the customer initiates the purchaseTicket() function to transfer tokens seamlessly.

Reselling Tickets

  • On the Secondary Market: Customers list tickets for sale using the setSaleDetails() function.
  • Peer-to-Peer Sales: Direct transfers use the secondaryTransferTicket() function, capped at a 110% limit of the purchase price.

Running the Application

Prerequisites

  • Docker
  • Metamask plugin for browsers

Steps to Get Started

  1. Clone the project repository.
  2. Start the Docker application.
  3. Deploy smart contracts with: sh docker-compose up --build
  4. Note down the private keys from the output logs.
  5. Run the React application: sh docker-compose up --build from the .client directory.
  6. Access the app at http://localhost:3000.
  7. Configure Metamask with the RPC URL http://0.0.0.0:8545.
  8. Import accounts into Metamask using private keys, setting one as the organiser and others as customers.
  9. Add the FEST token using the identified contract address.
  10. Transfer FEST tokens between accounts for application testing.

Troubleshooting Tips

If you encounter issues during setup or operation, consider these troubleshooting strategies:

  • Double-check that your Docker services are running correctly.
  • Verify that Metamask is set to the right network and has the correct tokens added.
  • If transactions fail, confirm that your FEST token balance is sufficient for the desired purchases.
  • Ensure that you’re using valid private keys and addresses for transactions.

For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.

Embracing the Future

At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.

Conclusion

The Festival Marketplace presents a revolutionary way to manage festival ticketing—making it secure, efficient, and user-friendly. By following this guide, you can easily navigate the platform and ensure your experience is as enjoyable as the festival itself!

Stay Informed with the Newest F(x) Insights and Blogs

Tech News and Blog Highlights, Straight to Your Inbox