A blockchain-based ticketing platform built on Algorand that eliminates scalping and creates a transparent, secure event ticketing ecosystem.
The ticketing industry faces critical challenges that hurt both event organizers and genuine fans:
- Rampant Scalping: Tickets are bought in bulk by bots and resold at inflated prices, pricing out genuine fans
- Counterfeit Tickets: Fake tickets lead to disappointed customers and revenue loss for organizers
- Lack of Transparency: Secondary market transactions occur in opaque systems with no control or visibility
- Lost Revenue: Event organizers see no benefit from secondary market sales despite creating the original value
Tokenstub leverages the Algorand blockchain to create fungible ticket tokens that can be validated, tracked, and controlled throughout their lifecycle. Our platform prevents scalping through smart contract-enforced transfer locks while maintaining ticket authenticity and transparency.
- Ticket Creation: Event organizers mint fungible ticket tokens on Algorand representing admission rights
- Primary Sale: Fans purchase tickets directly using Algo cryptocurrency
- Transfer Lock: Smart contracts prevent ticket transfers until the event day, eliminating speculative scalping
- Validation: Authorized ticket masters validate tickets on-chain at the venue entrance
- Transparent Records: All transactions are recorded immutably on the blockchain
- Transfer Lock Mechanism: Tickets cannot be exchanged or resold until event day, preventing bots from profiting off artificial scarcity
- One-per-Wallet Limits: Optional restrictions to ensure fair distribution
- Transparent Pricing: All ticket prices visible on-chain
- On-Chain Verification: Ticket masters validate tickets directly on the blockchain
- Real-Time Status: Instant confirmation of ticket authenticity and usage
- No Counterfeits: Blockchain immutability ensures only genuine tickets exist
- Low Transaction Fees: Minimal costs for ticket purchases and transfers
- Fast Finality: Instant transaction confirmation
- Eco-Friendly: Carbon-neutral blockchain with proof-of-stake consensus
- Scalability: Handles high-volume ticket sales efficiently
- Revenue Protection: Eliminate losses from counterfeit tickets
- Market Control: Set rules for ticket distribution and transfers
- Analytics Dashboard: Track sales, attendance, and market activity
- Direct Fan Relationships: Connect with ticket holders through wallet addresses
- Blockchain: Algorand
- Smart Contracts: Algorand Standard Assets (ASA) for fungible tickets
- Currency: Algo (ALGO)
- Validation: On-chain verification system
- Frontend: [To be determined based on implementation]
- Concerts & Festivals: Prevent scalping for high-demand music events
- Sports Events: Ensure fair access to championship games and tournaments
- Theater & Arts: Protect small venues from predatory resellers
- Conferences: Manage professional event access with verifiable credentials
- Community Events: Enable local organizers to control their ticketing ecosystem
- Create an account and connect your Algorand wallet
- Set up your event with ticket parameters (price, quantity, transfer rules)
- Mint your ticket tokens on Algorand
- Share the sale link with your audience
- Validate tickets on event day using our mobile app
- Connect your Algorand wallet
- Browse available events
- Purchase tickets with ALGO
- Store tickets securely in your wallet
- Present for validation at the venue
- Receive authorized validator credentials from event organizer
- Access the validation interface on event day
- Scan or verify ticket IDs on-chain
- Mark tickets as validated to prevent reuse
We chose Algorand for several compelling reasons:
- Speed: Block finality in under 3 seconds enables real-time ticketing
- Cost: Transaction fees under $0.001 keep ticketing affordable
- Sustainability: Carbon-negative blockchain aligns with event industry values
- Simplicity: Built-in ASA standard makes fungible tickets straightforward to implement
- Security: Pure proof-of-stake ensures network integrity
We welcome contributions from the community! Please see our contributing guidelines for more information on how to get involved.
[License Type] - See LICENSE file for details
- Clone this repository to your local machine.
- Ensure Docker is installed and operational. Then, install
AlgoKitfollowing this guide. - Run
algokit project bootstrap allin the project directory. This command sets up your environment by installing necessary dependencies, setting up a Python virtual environment, and preparing your.envfile. - In the case of a smart contract project, execute
algokit generate env-file -a target_network localnetfrom theAlgorand-contractsdirectory to create a.env.localnetfile with default configuration forlocalnet. - To build your project, execute
algokit project run build. This compiles your project and prepares it for running. - For project-specific instructions, refer to the READMEs of the child projects:
- Smart Contracts: Algorand-contracts
- Frontend Application: Algorand-frontend
This project is structured as a monorepo, refer to the documentation to learn more about custom command orchestration via
algokit project run.
- If you update to the latest source code and there are new dependencies, you will need to run
algokit project bootstrap allagain. - Follow step 3 above.
This project makes use of Python and React to build Algorand smart contracts and to provide a base project configuration to develop frontends for your Algorand dApps and interactions with smart contracts. The following tools are in use:
- Algorand, AlgoKit, and AlgoKit Utils
- Python dependencies including Poetry, Black, Ruff or Flake8, mypy, pytest, and pip-audit
- React and related dependencies including AlgoKit Utils, Tailwind CSS, daisyUI, use-wallet, npm, jest, playwright, Prettier, ESLint, and Github Actions workflows for build validation
It has also been configured to have a productive dev experience out of the box in VS Code, see the backend .vscode and frontend .vscode folders for more details.
Refer to the Algorand-contracts folder for overview of working with smart contracts, projects/Algorand-frontend for overview of the React project and the projects/Algorand-frontend/contracts folder for README on adding new smart contracts from backend as application clients on your frontend. The templates provided in these folders will help you get started.
When you compile and generate smart contract artifacts, your frontend component will automatically generate typescript application clients from smart contract artifacts and move them to frontend/src/contracts folder, see generate:app-clients in package.json. Afterwards, you are free to import and use them in your frontend application.
The frontend starter also provides an example of interactions with your AlgorandClient in AppCalls.tsx component by default.
You can take this project and customize it to build your own decentralized applications on Algorand. Make sure to understand how to use AlgoKit and how to write smart contracts for Algorand before you start.

