This repository contains the smart contracts for the Events module (creating events, configuring event parameters, scheduling event times, and issuing tickets) and the Tickets module (handling attendance logic), in accordance with the Ticketto protocol.
.
├── contracts # Contains ink! smart contracts for the protocol
│ ├── events # Events module contract
│ └── tickets # Tickets module contract
└── libs # Shared libraries for both contracts
├── types # Crate defining global types used across contracts
└── traits # Crate implementing common traits and interfaces
To compile the ticketto_events
contracts, run:
cargo contract build --manifest-path contracts/events/Cargo.toml
To compile the ticketto_tickets
contracts, run:
cargo contract build --manifest-path contracts/tickets/Cargo.toml
- Rust (stable toolchain)
- ink!
cargo-contract
Licensed under the Apache License 2.0.
- The ink! team for their contract framework
- The Rust community for ongoing support and libraries
- Virto Network for providing Kreivo services