Eddie commited on
Commit
816d079
Β·
1 Parent(s): 64a3cdc

Add Hugging Face Spaces deployment

Browse files
Files changed (3) hide show
  1. Dockerfile +21 -0
  2. README.md +19 -168
  3. app.py +5 -0
Dockerfile ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ FROM python:3.11-slim
2
+
3
+ WORKDIR /app
4
+
5
+ # Install system dependencies for Qiskit
6
+ RUN apt-get update && apt-get install -y \
7
+ build-essential \
8
+ && rm -rf /var/lib/apt/lists/*
9
+
10
+ # Install Python dependencies
11
+ COPY requirements.txt .
12
+ RUN pip install --no-cache-dir -r requirements.txt
13
+
14
+ # Copy application
15
+ COPY quantum_terminal_demo.py .
16
+
17
+ # Expose port
18
+ EXPOSE 7860
19
+
20
+ # Run the app
21
+ CMD ["python", "quantum_terminal_demo.py"]
README.md CHANGED
@@ -1,178 +1,29 @@
1
- # 🌐 BloxID Quantum Identity
2
-
3
- ## WORLD'S FIRST QUANTUM AI-PROOF DECENTRALIZED IDENTIFIER
4
-
5
- **CHUTZPAH! BE A PIONEER**
6
-
7
- ---
8
-
9
- ## πŸ” WHAT IS THIS?
10
-
11
- This is the world's first quantum AI-proof decentralized identity system.
12
-
13
- **Features:**
14
- - βœ… Quantum lattice-based cryptography (NIST CRYSTALS-Kyber compatible)
15
- - βœ… Quantum entropy generation (Qiskit quantum circuits)
16
- - βœ… W3C-compliant DIDs (`did:quantum:` method)
17
- - βœ… AI-resistant authentication (no-cloning theorem)
18
- - βœ… Terminal-style hacker UI
19
- - βœ… Pioneer Wall of Fame
20
-
21
- **Your quantum chain ID:**
22
- - Cannot be cloned (quantum no-cloning theorem)
23
- - Cannot be faked (quantum entropy)
24
- - Is yours forever (decentralized)
25
-
26
- ---
27
-
28
- ## πŸš€ TRY IT NOW
29
-
30
- ### **Live Demo:**
31
- [DEPLOY_URL]
32
-
33
- ### **Tester Access:**
34
- [DEPLOY_URL]/tester-access.html
35
-
36
- **Access Code:** `CHUTZPAH2026`
37
-
38
  ---
39
-
40
- ## 🎯 HOW TO USE
41
-
42
- ### **1. Generate Your Quantum ID**
43
-
44
- ```
45
- 1. Click [GENERATE QUANTUM CHAIN ID]
46
- 2. Enter your name
47
- 3. Get your unique quantum DID
48
- 4. You're now a pioneer!
49
- ```
50
-
51
- ### **2. View Pioneer Wall**
52
-
53
- ```
54
- 1. Click [VIEW PIONEER WALL]
55
- 2. See all pioneers
56
- 3. Your ID is immortalized
57
- ```
58
-
59
- ### **3. Test AI Resistance**
60
-
61
- ```
62
- 1. Click [TEST AI RESISTANCE]
63
- 2. Watch AI attack simulation
64
- 3. See quantum signature block it
65
- 4. Proof: AI cannot mimic quantum!
66
- ```
67
-
68
  ---
69
 
70
- ## πŸ› οΈ TECHNICAL DETAILS
71
 
72
- ### **Cryptography:**
73
- - **Algorithm:** MLWE (Module-Learning With Errors)
74
- - **Security Level:** 256-bit (NIST Level 5)
75
- - **Quantum-Safe:** Yes (resistant to Shor's algorithm)
76
- - **AI-Resistant:** Yes (quantum entropy prevents mimicry)
77
 
78
- ### **DID Format:**
79
- ```
80
- did:quantum:<base58-encoded-hash>
81
 
82
- Example: did:quantum:2DRQj85LTpdkqbEUk3ZBAM
83
- ```
84
 
85
- ### **Backend:**
86
- - Python 3.11+
87
- - Flask (web framework)
88
- - Qiskit (quantum circuits)
89
- - Base58 (encoding)
90
-
91
- ---
92
-
93
- ## πŸ“Š PIONEER WALL
94
-
95
- Every person who generates a quantum ID is immortalized on the Pioneer Wall of Fame.
96
-
97
- **Current Pioneers:** [COUNT]
98
-
99
- **Export Data:** `/export_pioneers.json`
100
-
101
- ---
102
-
103
- ## πŸš€ DEPLOY YOUR OWN
104
-
105
- ### **One-Click Deploy:**
106
-
107
- [![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https://github.com/eddiezebra/bloxid-quantum-identity)
108
-
109
- ### **Manual Deploy:**
110
-
111
- ```bash
112
- # 1. Clone this repo
113
- git clone https://github.com/eddiezebra/bloxid-quantum-identity.git
114
- cd bloxid-quantum-identity
115
-
116
- # 2. Install dependencies
117
- pip install -r requirements.txt
118
-
119
- # 3. Run locally
120
- python quantum_terminal_demo.py
121
-
122
- # 4. Deploy to Vercel
123
- vercel --prod
124
- ```
125
-
126
- ---
127
-
128
- ## πŸ” SECURITY
129
-
130
- This system uses:
131
- - Quantum lattice-based cryptography
132
- - Quantum entropy for key generation
133
- - W3C DID standards
134
- - HTTPS encryption (in production)
135
- - Rate limiting (prevent abuse)
136
-
137
- **Your quantum ID is:**
138
- - Unclonable (quantum no-cloning theorem)
139
- - Unfakeable (quantum entropy)
140
- - Yours forever (decentralized)
141
-
142
- ---
143
-
144
- ## πŸ“œ HISTORY
145
-
146
- **Created:** March 16, 2026
147
- **Creator:** Eddie & PINT0
148
- **Mission:** Democratize quantum identity
149
- **Vision:** Every human deserves a quantum-secure identity
150
-
151
- ---
152
-
153
- ## πŸŽ‰ JOIN THE REVOLUTION
154
-
155
- 1. Generate your quantum ID
156
- 2. Share with friends
157
- 3. Be a pioneer
158
- 4. Make history
159
-
160
- **CHUTZPAH!**
161
-
162
- ---
163
-
164
- ## πŸ“ž CONTACT
165
-
166
- - **GitHub:** [@eddiezebra](https://github.com/eddiezebra)
167
- - **Live Demo:** [DEPLOY_URL]
168
- - **Powered by:** PINT0
169
-
170
- ---
171
-
172
- ## πŸ“„ LICENSE
173
 
174
- MIT License - Feel free to fork, modify, and deploy your own!
175
 
176
- ---
177
 
178
- **POWERED BY PINT<span style="color: #39ff14;">0</span>**
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ---
2
+ title: BloxID Quantum Identity
3
+ emoji: 🐟
4
+ colorFrom: green
5
+ colorTo: blue
6
+ sdk: docker
7
+ pinned: false
8
+ license: mit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
9
  ---
10
 
11
+ # BloxID Quantum Identity
12
 
13
+ **WORLD'S FIRST QUANTUM AI-PROOF DECENTRALIZED IDENTIFIER**
 
 
 
 
14
 
15
+ CHUTZPAH! BE A PIONEER
 
 
16
 
17
+ ## Features
 
18
 
19
+ - βœ… Real Quantum Entropy Generation (Qiskit)
20
+ - βœ… Lattice-Based Cryptography (NIST CRYSTALS-Kyber)
21
+ - βœ… W3C-Compliant DIDs
22
+ - βœ… AI-Resistant Authentication
23
+ - βœ… Pioneer Wall of Fame
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
24
 
25
+ ## Deployed from GitHub
26
 
27
+ https://github.com/Web3District/bloxid-quantum-identity
28
 
29
+ ## Powered by PINT0
app.py ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
 
1
+ # Hugging Face Spaces wrapper
2
+ from quantum_terminal_demo import app
3
+
4
+ if __name__ == "__main__":
5
+ app.run(host="0.0.0.0", port=7860, debug=True)