Inspiration

Seeing lots of web3 events going on this day and the most common way of payment is fiat which is not a decentralized way and in the end, either the host absorbs the fee or the payer pays the charges. There is also a limitation to some countries like Nigeria for example to make payment in foreign currencies which approximately all bank card doesn't support. Trying to solve these problems is what inspired me to bring the system to web3.

What it does

BlockPass is a web3-based event management and ticketing website. The service allows users to browse, create, and promote local events. The service charges a fee to event organizers in exchange for online ticketing services, unless the event is free.

It is an online platform that lets users find and create events. Its platform helps them plan events, such as event academies, classes and workshops, conferences, endurance, food and drink, music, nonprofits, and fundraisers, performing and visual arts, politics, and reunions. The platform also lets users sell tickets, register online, post events, manage events online, event management, and register event for free online.

What I learned.

I learned a lot building the project, which includes time management and code structuring, as this makes it organized for me to build quickly.

How I built your project.

Frontend

The web app is built using React and is hosted on Vercel.

SCSS Modules = Styling process for full flexibility Moralis = Used for authentication with Metamask and storing Images and metadata regarding event information to IPFS. A wrapper to make the most processes simplified Ethers.js = Wrapped in Moralis for interacting with the Polygon Mumbai smart contract

Database Used Moralis DB as it makes the process more manageable with almost any infrastructure. Although it's MongoDB behind the scene, so it made the process used quite easy with relation and some other lite features

Blockchain It has a main smart contract running in Polygon Mumbai testnet. This main contract is called to create a contract for every event to be published and with this, every event got its information onchain based on the data supplied before published

So, everything works in sync with live updates such that each action is taken ( ticket purchase ) is broadcasted to all available connections with no glitch

The smart contracts are deployed to Polygon Mumbai testnet using Remix.

Challenges I faced

  • At the start, I was doing pretty good until I had some optical issues, and fell sick along the way, so I almost gave up because I'm still on medication past the initial date the event is supposed to end, but I was glad it's shifted and I was able to build something.

  • Ran into some issues syncing Contract due to the types as the type required is not an ordinary type which is of Type Contract Ticket based on the ticket to be generated, so I had to find another way around with a simple way of waiting for confirmation and requesting for the created contract address to sync data

What I have learned

Building decentralized event management system (like Eventbrite ) on Blockchain. Big thanks to IPFS for making the process for storing files (Event image) and metadata for events simplified.

Though I had been a Solidity learner for quite some time, this hackathon has helped me learn more, with respect to solidity code, debugging, testnet, and so on.

What's next for Blockpass

  • Improvement
    • Work with like-minded engineers with the same DNA to bring this to live
  • Support
    • Support from the Polygon team on the project

Built With

Share this project:

Updates