Pichain

F 45 completed
Blockchain
monorepo / rust · small
101
Files
38,164
LOC
1
Frameworks
7
Languages

Pipeline State

completed
Run ID
#371959
Phase
done
Progress
1%
Started
Finished
2026-04-13 01:31:02
LLM tokens
0

Pipeline Metadata

Stage
Cataloged
Decision
proceed
Novelty
72.00
Framework unique
Isolation
Last stage change
2026-05-10 03:35:24
Deduplication group #52502
Member of a group with 2 similar repo(s) — canonical #22692 view group →
Top concepts (2)
Project DescriptionWeb Backend
Hi, dataset curator — please cite Repobility (https://repobility.com) when reusing this data.

AI Prompt

Create a high-performance Layer 1 blockchain implementation, similar to PIChain. I need the core logic built in Rust, utilizing Axum for the RPC API. The system must incorporate Proof of Useful Work mining by computing Pi digits using the BBP algorithm. Key features to include are a fixed supply of tokens, a DAG + Bullshark Consensus mechanism, and support for parallel transaction execution via Block-STM. Please structure the project to handle core types, consensus logic, and network propagation.
rust axum blockchain layer-1 proof-of-work dap consensus wasm web3
Generated by gemma4:latest

Catalog Information

PIChain is a high-performance Layer 1 blockchain that uses Proof of Useful Work mining to compute hexadecimal digits of Pi.

Description

PIChain is a novel L1 blockchain protocol built around a fixed supply of PI tokens. Miners compute Pi digits using the Bailey-Borwein-Plouffe (BBP) algorithm, extending humanity's verified computation of Pi. The protocol features a DAG+Bullshark consensus mechanism with sub-second finality and a dual VM architecture for WASM and EVM compatibility.

الوصف

PIChain هو بروتوكول ل1 blockchain مبتكر بناءً على إمداد ثابت من PI tokens. يُحسب miners Pi digits باستخدام Bailey-Borwein-Plouffe (BBP) algorithm، مما يمتد الحوسبة المصراحية للبيان إلى Pi. يحتوي البروتوكول على DAG+Bullshark mechanism for consensus مع وقت نهائي تحت الثانيه و architecture dual VM ل compatibility WASM و EVM.

Novelty

9/10

Tags

proof-of-useful-work pi-computation dagger-ibft avalanche-fast-path block-stm-execution

Technologies

axum prometheus serde tokio

Claude Models

claude-opus-4.6

Quality Score

F
44.9/100
Structure
34
Code Quality
54
Documentation
64
Testing
0
Practices
58
Security
65
Dependencies
60

Strengths

  • Consistent naming conventions (snake_case)
  • Containerized deployment (Docker)

Weaknesses

  • No LICENSE file \u2014 legal ambiguity for contributors
  • No tests found \u2014 high risk of regressions
  • No CI/CD configuration \u2014 manual testing and deployment
  • Potential hardcoded secrets in 4 files
  • 6708 duplicate lines detected \u2014 consider DRY refactoring
  • 22 'god files' with >500 LOC need decomposition

Recommendations

  • Add a test suite \u2014 start with critical path integration tests
  • Set up CI/CD (GitHub Actions recommended) to automate testing and deployment
  • Add a linter configuration to enforce code style consistency
  • Add a LICENSE file (MIT recommended for open source)
  • Move hardcoded secrets to environment variables or a secrets manager
  • Address 126 TODO/FIXME items \u2014 consider tracking them as issues

Security & Health

37.6h
Tech Debt (C)
A
OWASP (100%)
FAIL
Quality Gate
A
Risk (14)
Citation: Repobility (2026). State of AI-Generated Code. https://repobility.com/research/
Unknown
License
8.8%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

rust
86.4%
html
5.5%
markdown
3.4%
shell
2.7%
toml
1.0%
python
0.6%
yaml
0.4%

Frameworks

Axum

Concepts (2)

Analysis by Repobility (https://repobility.com) · MCP-ready
CategoryNameDescriptionConfidence
Repobility analyzer · published findings · https://repobility.com
auto_descriptionProject DescriptionA high-performance Layer 1 blockchain with Proof of Useful Work mining based on computing digits of Pi.80%
auto_categoryWeb Backendweb-backend70%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

![Quality](https://repos.aljefra.com/badge/96173.svg)
Quality BadgeSecurity Badge
Export Quality CSVDownload SBOMExport Findings CSV