You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ZKonnect is a blockchain-based event management and ticketing platform that leverages decentralized technologies to enhance transparency, security, and fairness in ticketing systems. Designed for organizers and attendees, ZKonnect eliminates ticket fraud, prevents black-market reselling, and enables seamless event management with role-based access control.
1. Run a local Ethereum network in the first terminal:
@@ -74,16 +61,16 @@ npm install
74
61
#### ZKonnect
75
62
1. Navigate to the backend directory:
76
63
```bash
77
-
cdbackend
64
+
cdpackages/hardhat
78
65
```
79
-
2. Configure the deployment network in `hardhat.config.js` (e.g., Polygon zkEVM testnet or local network).
66
+
2. Configure the deployment network in `hardhat.config.js` (e.g., Polygon zkEVM/Amoy testnet or local network).
80
67
3. Compile the contracts:
81
68
```bash
82
69
npx hardhat compile
83
70
```
84
71
4. Deploy the smart contracts:
85
72
```bash
86
-
npx hardhat run scripts/deploy.js --network zkEVM
73
+
npx hardhat deploy --network polygonZkEvm
87
74
```
88
75
5. Copy the deployed contract address and update the frontend configuration file (`frontend/src/config.js`).
89
76
@@ -104,11 +91,11 @@ Visit the app at `http://localhost:3000`.
104
91
#### ZKonnect
105
92
1. Navigate to the frontend directory:
106
93
```bash
107
-
cd ../frontend
94
+
cd ../nextjs
108
95
```
109
96
2. Start the development server:
110
97
```bash
111
-
npm run dev
98
+
yarn start
112
99
```
113
100
3. Open the app in your browser at `http://localhost:3000`.
114
101
@@ -125,45 +112,28 @@ Visit the app at `http://localhost:3000`.
125
112
1. Login with MetaMask or Coinbase Wallet.
126
113
2. Browse events and select an event.
127
114
3. Enter the secret staking ID and pay using cryptocurrency.
128
-
4. Receive an NFT ticket as proof of purchase.
115
+
4. Receive an NFT ticket as proof of purchase. Wait for the event :)
129
116
130
117
### **Event Verification**:
131
-
- On the event day, buyers provide their zkProof-generated hash, which the organizer verifies to grant entry.
132
-
118
+
- On the event day, buyers provide their zkProof-generated hash, which the organizer verifies to grant entry, and all of this is automated via QR codes.
119
+
[](https://www.youtube.com/watch?v=fGA3MQ0U6fA)
133
120
---
134
121
135
122
## **Technologies Used**
136
123
137
-
### **Blockchain**:
138
-
-**Polygon zkEVM**: For scalable and efficient smart contract deployment.
139
-
-**zkRollups**: To ensure fast, low-cost, and secure transactions.
0 commit comments