- Overview
- Live Deployment
- The Problem and Our Solution
- Key Features
- How LexProof Works
- System Architecture
- Workflow Diagrams
- Smart Contract
- Data Model
- Tech Stack
- Project Structure
- Getting Started
- Using the App
- API Reference
- Building and Deploying the Contract
- Hosting on Render and Netlify
- Privacy and Security
- Limitations
- Prototype Snapshot
- Roadmap
- Disclaimer
- Contributing
- License
- Author
Legal documents are long, dense, and easy to misread. LexProof AI helps in two ways:
- Understand. Upload a PDF or paste contract text. Google Gemini produces a plain-language summary, key obligations, potential risk clauses with supporting evidence, and questions worth asking a lawyer.
- Verify. Register the document's SHA-256 hash on the Casper blockchain. Later, anyone holding the same document can check that its hash is on-chain, which shows the file has not changed since it was registered.
Only the hash is written to the blockchain. The document itself is never put on-chain.
The platform is fully deployed: the frontend runs on Netlify, the backend API on Render, and saved analyses are persisted in PostgreSQL. LexProof AI is a prototype running on the Casper Testnet and is not legal advice. See the Disclaimer.
LexProof AI · Legal intelligence, with transparency.
| Component | Platform | URL |
|---|---|---|
| Frontend (Web App) | Netlify | https://lexproof-ai.netlify.app/ |
| Backend (API) | Render | https://lexproof-ai.onrender.com |
| Database | PostgreSQL | Connected to the Render backend |
| AI Engine | Google Gemini | Called server-side by the backend |
| Blockchain | Casper Testnet (casper-test) |
Document hash registry contract |
Note: If the backend has been idle, the first request may take a little longer while the Render service wakes up.
Prototype warning: Please do not upload sensitive or confidential documents to the live demo.
The problem
- Contracts are long and written in language most people do not use day to day.
- Important clauses are easy to miss, and a missed clause can be costly.
- Once a document is shared, it is hard to prove later that a copy is identical to the original.
- Putting legal documents on a public blockchain would expose sensitive information.
Our solution: LexProof AI separates understanding from verification.
| Need | How LexProof addresses it |
|---|---|
| Understand a contract | Gemini generates a plain-language summary and flags clauses worth reviewing |
| Know what to ask | Risk findings with evidence quotes and suggested questions for a lawyer |
| Trust the AI output | Quotes returned by the AI are checked against the document text |
| Prove integrity | The document's SHA-256 hash is registered on the Casper blockchain |
| Keep data private | Only the hash goes on-chain, never the document |
| Protect credentials | API keys live on the backend, and private keys stay in Casper Wallet |
- PDF and text analysis: upload a PDF (up to 15 MB) or paste contract text (up to 100,000 characters).
- Structured AI report: document type, summary, key obligations, risk findings with severity, evidence quotes and suggested review, and questions for a lawyer.
- Evidence checking: quotes returned by the AI are checked against the document, and findings whose quote cannot be verified are labelled as such.
- Keyword scan fallback: a lightweight scan still runs if the AI service is unavailable.
- Saved analysis history: past analyses are stored in the database and can be reopened at any time.
- Downloadable PDF report: includes a blockchain verification section once a document is registered.
- Wallet-signed registration: Casper Wallet signs every transaction. LexProof AI never sees or stores a private key.
- Duplicate protection: the app checks for an existing registration before sending a paid transaction.
- One-click on-chain verification of a document hash.
- Dashboard metrics: documents in the current session, saved analyses, and verified on-chain records.
- Server-side secrets: the Gemini API key and database credentials never reach the browser.
A clear path from contract to verifiable record.
| Step | Stage | Description |
|---|---|---|
| 01 | Understand | Generate a plain-language summary and highlight clauses that may need review. |
| 02 | Review | Explore potential concerns, evidence, and questions to discuss with a lawyer. |
| 03 | Verify | Register the document hash on-chain to check whether a later copy matches. |
flowchart LR
A["Contract<br/>PDF or pasted text"] --> B["01 Understand<br/>Plain-language summary"]
B --> C["02 Review<br/>Flagged clauses and questions"]
C --> D["03 Verify<br/>Hash registered on Casper"]
D --> E["Verifiable record<br/>Match any later copy"]
style A fill:#0F1E3D,stroke:#1E3A8A,color:#fff
style B fill:#1E3A8A,stroke:#1E3A8A,color:#fff
style C fill:#1E3A8A,stroke:#1E3A8A,color:#fff
style D fill:#0F766E,stroke:#0F766E,color:#fff
style E fill:#16A34A,stroke:#16A34A,color:#fff
LexProof AI consists of a React frontend, a FastAPI backend, the Gemini AI engine, a database for saved analyses, and the Casper Testnet for verification.
flowchart TB
subgraph Client["Client Layer - Netlify"]
UI["React + Vite frontend<br/>Overview, Documents, Verification, Reports"]
WALLET["Casper Wallet<br/>Browser extension"]
end
subgraph Backend["Backend Layer - Render"]
API["FastAPI REST API"]
EXTRACT["Document processing<br/>pypdf text extraction and SHA-256 hashing"]
RELAY["Casper RPC relay<br/>Allow-listed methods only"]
ENV["Environment variables<br/>Gemini API key, database URL, contract config"]
end
subgraph Data["Data Layer"]
DB[("PostgreSQL<br/>SQLite for local development")]
end
subgraph AI["AI Layer"]
GEMINI["Google Gemini<br/>Summary, risks, lawyer questions"]
end
subgraph Chain["Casper Testnet"]
NODE["Public RPC node"]
SC["LexProof registry contract"]
end
UI -- "PDF or pasted text" --> API
API --> EXTRACT
EXTRACT -- "Document text" --> GEMINI
ENV -. "API key" .-> GEMINI
GEMINI -- "Structured risk report" --> API
API <--> DB
API -- "Analysis report and hash" --> UI
UI -- "Request signature" --> WALLET
WALLET -- "Signed transaction" --> UI
UI -- "Signed transaction" --> RELAY
RELAY --> NODE
NODE --> SC
style Client fill:#EFF6FF,stroke:#1E3A8A,color:#0F1E3D
style Backend fill:#F1F5F9,stroke:#475569,color:#0F1E3D
style Data fill:#ECFDF5,stroke:#059669,color:#0F1E3D
style AI fill:#FEF3C7,stroke:#D97706,color:#0F1E3D
style Chain fill:#FEE2E2,stroke:#DC2626,color:#0F1E3D
| Component | Responsibility |
|---|---|
| Frontend (Netlify) | Document upload, text input, results display, history, wallet connection, PDF report generation |
| Backend API (Render) | Orchestrates analysis, hashing, Gemini calls, database access, and Casper endpoints |
| Document processing | Extracts text from PDFs with pypdf and computes the SHA-256 hash |
| Google Gemini | Generates the summary, obligations, risk findings, and lawyer questions |
| Database | Persists analysis history and blockchain status (PostgreSQL in production, SQLite locally) |
| Casper RPC relay | Forwards signed transactions and read-only queries to the node |
| Casper Wallet | Lets the user sign verification transactions |
| Registry contract | Stores registered document hashes on-chain |
Why a relay? Casper nodes do not accept requests directly from browser pages (CORS). The backend therefore forwards signed transactions and read-only queries to the node. It only forwards a fixed allow-list of RPC methods.
What happens when a user clicks Analyze document.
sequenceDiagram
autonumber
actor User
participant FE as React frontend
participant API as FastAPI backend
participant AI as Google Gemini
participant DB as Database
User->>FE: Upload a PDF or paste contract text
User->>FE: Click Analyze document
FE->>API: POST /api/analyze-pdf or /api/analyze-text
API->>API: Extract text, count words, compute SHA-256 hash
API->>AI: Request summary, obligations, risks, lawyer questions
AI-->>API: Structured analysis
API->>API: Check evidence quotes against the document
API->>DB: Save the analysis record
API-->>FE: Analysis result with document hash
FE-->>User: Show summary, risk findings, questions
Note over FE,DB: The result now appears in Saved analysis history
The full journey from analysis result to an on-chain record.
sequenceDiagram
autonumber
actor User
participant FE as React frontend
participant API as FastAPI backend
participant W as Casper Wallet
participant N as Casper Testnet node
participant SC as Registry contract
User->>FE: Click Register on Casper blockchain
FE->>API: GET /api/blockchain/verify/:hash
API->>N: Read the registry dictionary
N-->>API: Found or not found
API-->>FE: Registration status
alt Hash already on-chain
FE-->>User: Show already registered, no transaction sent
else Hash not found
FE->>W: Request a signature for register_hash
W-->>FE: Signed transaction
FE->>API: POST /api/casper/rpc
API->>N: Forward the signed transaction
N->>SC: Execute register_hash
SC-->>N: Hash stored on-chain
loop Until the transaction is finalized
FE->>API: GET /api/blockchain/tx/:tx_hash
API->>N: Look up the execution result
N-->>API: Status
API-->>FE: Status
end
FE->>API: POST /api/analyses/:id/blockchain
API-->>FE: Record marked as registered
FE-->>User: Registered, with transaction link
end
Note over FE,SC: Only the hash is sent. The document never goes on-chain.
How registration and later integrity checks decide their outcome.
flowchart TD
A["Document analyzed"] --> B["SHA-256 hash computed on the backend"]
B --> C{"Already registered by an earlier analysis?"}
C -- "Yes" --> D["Link the existing record, no new transaction"]
C -- "No" --> E{"Hash found in the on-chain registry?"}
E -- "Yes" --> F["Show: already registered"]
E -- "No" --> G["Sign and send register_hash with Casper Wallet"]
G --> H{"Transaction result"}
H -- "Success" --> I["Hash stored on-chain, record saved as success"]
H -- "Failed" --> J["Record saved as failed with the error"]
I --> K["Later: analyze the same document and press Verify on-chain"]
K --> L{"Same hash found on-chain?"}
L -- "Yes" --> M["Verified: the document is unchanged"]
L -- "No" --> N["Not found: a different or unregistered document"]
style D fill:#DBEAFE,stroke:#1E3A8A,color:#0F1E3D
style F fill:#DBEAFE,stroke:#1E3A8A,color:#0F1E3D
style I fill:#DCFCE7,stroke:#16A34A,color:#0F1E3D
style J fill:#FEE2E2,stroke:#DC2626,color:#0F1E3D
style M fill:#DCFCE7,stroke:#16A34A,color:#0F1E3D
style N fill:#FEE2E2,stroke:#DC2626,color:#0F1E3D
The hash is calculated from the exact content that is analyzed: the bytes of an uploaded PDF, or the pasted text. Changing even one character produces a completely different hash, which is what makes tamper detection reliable.
What stays off-chain and what goes on-chain.
flowchart LR
DOC["Legal document<br/>Full contents"]
subgraph OFF["Off-chain, private"]
direction TB
A1["Extracted document text"]
A2["AI analysis report in the database"]
A3["API keys and database URL on the backend"]
A4["Private keys inside Casper Wallet"]
end
subgraph ON["On-chain, public"]
direction TB
B1["SHA-256 hash and transaction details only"]
end
DOC --> OFF
DOC -. "One-way hash" .-> ON
style OFF fill:#F1F5F9,stroke:#475569,color:#0F1E3D
style ON fill:#FEE2E2,stroke:#DC2626,color:#0F1E3D
style DOC fill:#0F1E3D,stroke:#1E3A8A,color:#fff
journey
title A typical LexProof AI session
section Provide a document
Upload a PDF or paste text: 5: User
Click Analyze document: 5: User
section Understand
Read the plain-language summary: 5: User
Review risk findings and evidence: 4: User
Note questions for a lawyer: 5: User
section Verify
Connect Casper Wallet: 4: User
Register the document hash: 4: User
Verify a later copy on-chain: 5: User
section Revisit
Open saved analysis history: 5: User
Download the PDF report: 5: User
The registry contract is written in Rust for the Casper 2.0 network and lives in contracts/lexproof-registry.
Entry point: register_hash(document_hash: String)
flowchart TD
A["register_hash(document_hash)"] --> B{"64 hexadecimal characters?"}
B -- "No" --> C["Revert: InvalidArgument"]
B -- "Yes" --> D{"Already in lexproof_registry?"}
D -- "Yes" --> E["Revert: user error 1, already registered"]
D -- "No" --> F["Store the hash in the registry dictionary"]
F --> G["Transaction succeeds"]
style C fill:#FEE2E2,stroke:#DC2626,color:#0F1E3D
style E fill:#FEE2E2,stroke:#DC2626,color:#0F1E3D
style G fill:#DCFCE7,stroke:#16A34A,color:#0F1E3D
Verification does not need a transaction. The backend reads the lexproof_registry dictionary directly from the node, which is free.
| Item | Value |
|---|---|
| Contract hash | 2568a51ef91d7ed544d11f86de29fa45b431e032c06c6454ae0462a79253201f |
| Package hash | dafbd48e899b876747a46c780298799f6bd217df0263e42d240d1610c96468fc |
| Registry URef | uref-7182191a1edad9c3a5a9e1b3856b1c38095090d99d06614a80e99532cc1a0bf2-007 |
| Install transaction | 1af83dc21c1289ef56f9e241b3a3b68b88c614adba1053ac7e986b5c88261898 |
You can inspect these on the Casper Testnet explorer. These values are public on-chain data, not secrets.
Each analysis is saved as one row in the analysis_records table. The blockchain columns stay empty until a document is registered.
erDiagram
ANALYSIS_RECORDS {
int id PK
string filename
text document_text
text document_summary
string analysis_type
text ai_report
string ai_status
string file_hash
int word_count
datetime created_at
string chain_tx_hash
string chain_status
string chain_network
string chain_contract_hash
string chain_account
text chain_error
datetime chain_registered_at
}
The blockchain status of a record moves through these states:
stateDiagram-v2
[*] --> NotRegistered
NotRegistered --> pending: Transaction sent
pending --> success: Executed on-chain
pending --> failed: Execution error
failed --> pending: Retry
success --> [*]
The backend creates missing columns automatically on startup, so existing databases upgrade without manual migration.
| Layer | Technology |
|---|---|
| Frontend | React 19, Vite 8, Axios, jsPDF, casper-js-sdk 5 |
| Backend | Python, FastAPI, Uvicorn, SQLAlchemy 2, pypdf |
| AI | Google Gemini through the google-genai SDK |
| Database | PostgreSQL in production, SQLite for local development |
| Blockchain | Casper Testnet, Casper Wallet |
| Smart contract | Rust with casper-contract 5.1.1 and casper-types 6.1.0 |
| Hosting | Netlify (frontend), Render (backend) |
LexProof-AI/
├── assets/
│ └── logo.svg Project logo
├── backend/
│ ├── main.py FastAPI app, database, Casper endpoints
│ ├── ai_analysis.py Gemini prompt, response parsing, evidence checks
│ └── requirements.txt
├── frontend/
│ ├── src/
│ │ ├── App.jsx Main interface
│ │ ├── casperWallet.js Casper Wallet connection
│ │ ├── casperRegistry.js Register, verify, and status helpers
│ │ ├── generateReport.js PDF report generation
│ │ ├── DeployContract.jsx One-time contract deployment page
│ │ └── main.jsx
│ ├── index.html
│ └── package.json
├── contracts/
│ └── lexproof-registry/
│ ├── src/lib.rs The registry contract
│ ├── check_wasm.py Checks a build is accepted by Casper
│ ├── rust-toolchain.toml
│ ├── Cargo.toml
│ └── Cargo.lock
└── package.json
- Python 3.10 or newer
- Node.js 20 or newer, with npm
- A Gemini API key from Google AI Studio
- The Casper Wallet browser extension, with a Testnet account funded with test CSPR from the Testnet faucet
- Rust is only needed if you want to rebuild the smart contract
cd backend
python -m venv .venv
# Windows PowerShell
.venv\Scripts\Activate.ps1
# macOS or Linux
source .venv/bin/activate
pip install -r requirements.txtCreate backend/.env:
GEMINI_API_KEY=your_gemini_api_key
CASPER_CONTRACT_HASH=2568a51ef91d7ed544d11f86de29fa45b431e032c06c6454ae0462a79253201f
CASPER_REGISTRY_UREF=uref-7182191a1edad9c3a5a9e1b3856b1c38095090d99d06614a80e99532cc1a0bf2-007Start the server:
uvicorn main:app --reload --port 8000Open http://127.0.0.1:8000/health. It should report "status": "ok". Interactive API docs are at http://127.0.0.1:8000/docs.
cd frontend
npm installCreate frontend/.env:
VITE_API_URL=http://127.0.0.1:8000
VITE_CASPER_TX_FORMAT=legacyStart the development server:
npm run devOpen http://localhost:5173.
Never commit
.envfiles. They are already listed in.gitignore. If a key is ever exposed, rotate it immediately.
Backend
| Variable | Required | Description |
|---|---|---|
GEMINI_API_KEY |
Yes | Key for the Gemini API. Without it only the keyword scan runs. Secret. |
GEMINI_MODEL |
No | Gemini model name. A default is built in. |
CASPER_CONTRACT_HASH |
Yes, for blockchain | 64-character contract hash, without any hash- prefix. |
CASPER_REGISTRY_UREF |
Recommended | Registry dictionary URef, used for reliable on-chain verification. |
CASPER_NETWORK |
No | Chain name. Defaults to casper-test. |
CASPER_NODE_RPC |
No | Node RPC address. Defaults to the public Testnet node. |
CASPER_EXPLORER_TX_URL |
No | Explorer link prefix for transactions. |
DATABASE_URL |
No | Database connection string. Defaults to a local SQLite file. Secret in production. |
FRONTEND_ORIGINS |
No | Extra allowed frontend addresses, separated by commas. |
Frontend
| Variable | Required | Description |
|---|---|---|
VITE_API_URL |
Yes | Address of the backend, with no slash at the end. |
VITE_CASPER_TX_FORMAT |
No | legacy (recommended) or v2. |
VITE_CASPER_PAYMENT_CSPR |
No | Payment limit per registration, in CSPR. Defaults to 10. |
Vite reads .env only when it starts, so restart npm run dev after changing it.
- Open the live app and upload a PDF (up to 15 MB) or paste contract text, then press Analyze document.
- Read the AI report: summary, key obligations, risk findings with evidence, and questions for a lawyer.
- Press Register on Casper blockchain. Casper Wallet asks you to connect and then to sign. Keep the wallet on Testnet.
- Wait about a minute. The page reports when the hash is registered, and the record is saved with its transaction link.
- Press Verify on-chain at any time to check the hash against the blockchain.
- Download the PDF report. It includes the blockchain verification details.
| Section | Purpose |
|---|---|
| Overview | Dashboard with session stats, document analysis, and saved history |
| Documents | Manage documents you have analyzed |
| Blockchain Verification | Lists every registered document with a link to its transaction |
| Reports | Access generated analysis reports |
| Metric | Meaning |
|---|---|
| Documents selected | Documents chosen in the current session |
| Saved analyses | Analyses retrieved from the database |
| Verified records | Documents registered on the Casper blockchain |
Every analysis is saved and listed with its document name (or Pasted text), report type (AI report ready or Keyword scan), date and time, word count, number of topics flagged, and a View saved result action. Use Refresh history to pull the latest results from the backend.
Interactive documentation is available at /docs on the running backend.
| Method | Endpoint | Description |
|---|---|---|
GET |
/ |
Service information |
GET |
/health |
Database and configuration health check |
POST |
/api/analyze-text |
Analyze pasted text (text, filename) |
POST |
/api/analyze-pdf |
Analyze an uploaded PDF (multipart file) |
GET |
/api/analyses |
List saved analyses |
GET |
/api/analyses/{id} |
Get one saved analysis |
POST |
/api/analyses/{id}/blockchain |
Save the blockchain result for an analysis |
GET |
/api/blockchain/config |
Network and contract settings used by the frontend |
GET |
/api/blockchain/verify/{document_hash} |
Check whether a hash is registered on-chain |
GET |
/api/blockchain/tx/{tx_hash} |
Status of a registration transaction |
POST |
/api/casper/rpc |
Relay for signed transactions and read-only queries |
You only need this to rebuild the contract or deploy your own copy. A rejected deployment still costs the full payment, so check the build before you deploy.
1. Build as plain WebAssembly. The Casper node rejects the newer WebAssembly instructions that recent Rust versions emit by default, so the contract is built with the mvp CPU target. In PowerShell:
cd contracts\lexproof-registry
cargo clean
$env:RUSTFLAGS = "-C target-cpu=mvp -C target-feature=+mutable-globals"
cargo build --release --target wasm32-unknown-unknown "-Zbuild-std=core,alloc,panic_abort" "-Zbuild-std-features=compiler-builtins-mem"The Rust toolchain is pinned in rust-toolchain.toml.
2. Check the result.
python check_wasm.py path\to\lexproof_registry.wasmDeploy only if the last line says RESULT: OK.
3. Deploy once. Start the frontend and open /?deploy. Choose the .wasm file and approve the transaction in Casper Wallet. Installing a second time fails, because the registry dictionary already exists.
4. Find the contract hash. On the Testnet explorer, open your account, then On-chain data, then the named keys. Copy lexproof_contract_hash, remove any hash- prefix, and set it as CASPER_CONTRACT_HASH. Copy the lexproof_registry value and set it as CASPER_REGISTRY_UREF.
flowchart LR
USER(["User browser"])
subgraph NETLIFY["Netlify"]
FE["Frontend<br/>lexproof-ai.netlify.app"]
end
subgraph RENDER["Render"]
BE["Backend API<br/>lexproof-ai.onrender.com"]
RENV["Environment variables<br/>Gemini key, database URL, contract config"]
end
PG[("PostgreSQL")]
GEM["Google Gemini API"]
CSPR["Casper Testnet"]
USER --> FE
FE -- "HTTPS API requests" --> BE
RENV -. "Loaded at runtime" .-> BE
BE -- "SQL" --> PG
BE -- "Server-side calls" --> GEM
BE -- "RPC relay" --> CSPR
USER -- "Wallet-signed transactions" --> FE
style NETLIFY fill:#E6FFFA,stroke:#00C7B7,color:#0F1E3D
style RENDER fill:#ECFDF5,stroke:#46E3B7,color:#0F1E3D
style PG fill:#DBEAFE,stroke:#4169E1,color:#0F1E3D
style GEM fill:#FEF3C7,stroke:#D97706,color:#0F1E3D
style CSPR fill:#FEE2E2,stroke:#DC2626,color:#0F1E3D
Backend on Render (web service)
| Setting | Value |
|---|---|
| Root directory | backend |
| Build command | pip install -r requirements.txt |
| Start command | uvicorn main:app --host 0.0.0.0 --port $PORT |
In the Render dashboard, open Environment and set GEMINI_API_KEY, CASPER_CONTRACT_HASH, CASPER_REGISTRY_UREF, and DATABASE_URL. Use a PostgreSQL database for DATABASE_URL, because on Render's free plan a local SQLite file is erased whenever the service restarts. Add FRONTEND_ORIGINS if your frontend address is not already allowed.
Frontend on Netlify
| Setting | Value |
|---|---|
| Base directory | frontend |
| Build command | npm run build |
| Publish directory | frontend/dist |
Set VITE_API_URL to your Render address and VITE_CASPER_TX_FORMAT to legacy. Netlify applies these at build time, so trigger a new deploy after changing them.
- On-chain data: only the SHA-256 hash and the transaction details are written to the blockchain. The document is never put on-chain.
- One-way hashes: a hash proves a document's integrity but cannot be reversed to reveal its contents.
- Backend storage: the backend saves the extracted document text and the AI report in its database so that history works. Do not upload sensitive or confidential documents to the public demo.
- Third-party processing: document text is sent to Google Gemini for analysis.
- Keys: private keys never touch this application. Casper Wallet signs transactions inside the extension.
- Secrets: the Gemini API key and database URL live in environment variables and
.envfiles, which are excluded from git and never exposed to the browser. - Transport: the frontend and backend are both served over HTTPS.
- RPC relay: it only forwards a fixed list of Casper RPC methods. The API has no user authentication yet, so treat the deployment as a demo.
- Runs on the Casper Testnet only. Registered hashes have no real-world value or permanence guarantees, and a testnet can be reset.
- A hash proves a document is unchanged since registration. It does not prove who wrote it, who registered it, or that it is legally valid or enforceable.
- Anyone can register any hash, and the contract does not yet record an owner or a timestamp.
- Scanned or image-only PDFs are not supported, because there is no OCR.
- Each registration sends a transaction with a payment limit of 10 CSPR. Testnet CSPR is free, but a rejected transaction still costs the payment.
- AI findings can be incomplete or wrong.
State of the development environment at the time of writing (October 2026):
| Metric | Value |
|---|---|
| Saved analyses | 16 |
| Records registered on Casper | 2 |
Documents used in demos include Aegis_Monetary_Network_Concept_Paper_v0.1.pdf and goldguard-silver-certificate.pdf.
- PDF upload and pasted-text analysis
- Gemini-powered reports with evidence checking
- Saved analysis history
- Casper Wallet connection and wallet-signed registration
- Duplicate protection and on-chain verification
- Downloadable PDF reports with blockchain verification details
- Production deployment on Netlify and Render
- Verify a document by uploading it, with the hash computed in the browser
- Side-by-side clause comparison between document versions
- Contract upgrade with owner, timestamp, and revocation
- An option to avoid storing document text
- User accounts and access control for saved analyses
- Multi-language contract support
- Automated tests and continuous integration
- Casper Mainnet support
- Full interface polish and branding refresh
LexProof AI is a prototype and does not provide legal advice.
AI-generated summaries and flagged clauses are informational only and may be incomplete or inaccurate. Always review the original document and consult a qualified lawyer before making legal decisions or signing any agreement.
Contributions, ideas, and feedback are welcome.
- Fork the repository
- Create a feature branch:
git checkout -b feature/your-feature - Commit your changes:
git commit -m "Add your feature" - Push to the branch:
git push origin feature/your-feature - Open a Pull Request
Never commit
.envfiles or API keys when contributing.
This project is released under the MIT License.
Built by Hajrajadoon.
LexProof AI · Legal intelligence, with transparency.
Prototype · Not legal advice