https://github.com/mujhtech/icp-event-ticket
https://github.com/mujhtech/icp-event-ticket
Last synced: 12 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mujhtech/icp-event-ticket
- Owner: Mujhtech
- Created: 2023-07-01T06:42:15.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-12T09:50:19.000Z (almost 3 years ago)
- Last Synced: 2025-06-14T21:02:09.426Z (12 months ago)
- Language: TypeScript
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ICP Event Ticket
This is a simple smart contract for managing Event ticket written with Azle framework (Canister) Typescript on ICP Blockchain. Here are the following operations on this smart contract
`createEventTicket` : create new event ticket
`getAllEventTickets` : get all event tickets
`getEventTicketById` : get event ticket by id
`deleteEventTicket` : delete event ticket by id
`getTicketSoldById` : get ticket sold by id
`buyTicket` : buy ticket then increase totalTicketSold in event ticket record
`resellTIcket` : resell ticket sold