This repository contains the Open Ticketing Ecosystem's core smart contracts adapted for ZKsync.
/contracts
: Contains the solidity smart contracts for the ticketing suite.
- Node.js and bun installed
- Docker installed (for local development)
-
Clone the repository
-
Install dependencies:
bun install
- Set up environment variables:
- Rename
.env.example
to.env
- Add your private key:
WALLET_PRIVATE_KEY=your_private_key_here...
- Rename
To set up a local ZKsync development environment:
- Start Docker:
docker compose up -d
- Start ZKSync Local Node:
bun run zksync-cli dev start
To compile the contracts:
bun compile
The project supports multiple networks for contract deployment. Network configurations are specified in hardhat.config.ts
. You can add more networks by adjusting the networks
section in this file.
This project is under the MIT license.