Doli

D 58 completed
Blockchain
monorepo / rust · medium
604
Files
131,212
LOC
5
Frameworks
11
Languages

Pipeline State

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

Pipeline Metadata

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

AI Prompt

Create a command-line tool or application that models a peer-to-peer electronic cash system, similar to DOLI. The core functionality should revolve around using Verifiable Delay Functions (VDF) as the primary consensus mechanism, meaning block production must be time-bound and resistant to parallelization. I need to see how the system handles time-based consensus, Sybil resistance via sequential computation, and how coins are distributed fairly without pre-mining. Since the project uses Rust, please structure the core logic around that, perhaps showing how to run a node or generate a wallet using command-line interactions.
rust p2p blockchain cryptocurrency vdf consensus cli monorepo
Generated by gemma4:latest

Catalog Information

A peer‑to‑peer electronic cash system that uses verifiable delay functions as its primary consensus mechanism.

Description

DOLI is a decentralized cryptocurrency that replaces traditional proof‑of‑work with verifiable delay functions (VDF), making time the sole scarce resource for consensus. Each block is produced every ten seconds after a fixed‑time VDF computation that cannot be accelerated by parallel hardware. The network requires participants to register as block producers through a sequential VDF challenge and an economic bond, providing strong Sybil resistance without energy waste. Coins are minted through block production, ensuring a fair distribution without pre‑mining or ICOs. The design offers predictable issuance, energy efficiency, and a novel shift from resource‑based to time‑based decentralization.

الوصف

يُعدّ DOLI عملة رقمية لامركزية تعتمد على الدوال المؤقتة القابلة للتحقق (VDF) كآلية توافق أساسية، معززةً بذلك فكرة أن الوقت هو المورد النادر الوحيد. يُنتج كل كتلة خلال عشر ثوانٍ بعد حساب VDF ثابت لا يمكن تسريعته عبر الحوسبة المتوازية، ما يضمن أماناً لا يتطلب استهلاكاً طاقياً كبيراً. يتطلب النظام من المشاركين تسجيل أنفسهم كمنتجين للكتل عبر تحدٍ VDF تسلسلي وودائع اقتصادية، ما يمنع هجمات سيليب ويعزز الأمان. تُوزَّع العملات عبر إنتاج الكتل، مما يضمن توزيعاً عادلاً دون الحاجة إلى تعدين مسبق أو عروض أولية. يقدّم النظام إصداراً متوقّعاً، مع تقليل استهلاك الطاقة، ويُظهر تحولاً جذرياً من الاعتماد على الموارد إلى الاعتماد على مرور الوقت في تحقيق اللامركزية.

Novelty

8/10

Tags

time-based-consensus verifiable-delay-functions energy-efficient peer-to-peer-cash fair-distribution sybil-resistance blockchain-network

Technologies

axum serde tokio

Claude Models

claude-opus-4.6

Quality Score

D
58.5/100
Structure
59
Code Quality
52
Documentation
77
Testing
65
Practices
56
Security
40
Dependencies
60

Strengths

  • CI/CD pipeline configured (github_actions)
  • Consistent naming conventions (snake_case)
  • Containerized deployment (Docker)
  • Properly licensed project

Weaknesses

  • 6 files with critical complexity need refactoring
  • Potential hardcoded secrets in 13 files
  • 16522 duplicate lines detected \u2014 consider DRY refactoring
  • 19 'god files' with >500 LOC need decomposition

Recommendations

  • Add a linter configuration to enforce code style consistency
  • Move hardcoded secrets to environment variables or a secrets manager
  • Address 380 TODO/FIXME items \u2014 consider tracking them as issues

Security & Health

133.1h
Tech Debt (C)
A
OWASP (100%)
PASS
Quality Gate
A
Risk (2)
Repobility's GitHub App fixes findings like these · https://github.com/apps/repobility-bot
MIT
License
11.9%
Duplication
Full Security Report AI Fix Prompts SARIF SBOM

Languages

rust
63.6%
markdown
21.4%
shell
6.8%
json
4.0%
svelte
2.5%
yaml
0.5%
toml
0.5%
javascript
0.4%
css
0.2%
protobuf
0.0%
html
0.0%

Frameworks

Svelte SvelteKit Tauri Axum Vite

Concepts (2)

Scored by Repobility's multi-pass pipeline · https://repobility.com
CategoryNameDescriptionConfidence
About: code-quality intelligence by Repobility · https://repobility.com
auto_descriptionProject Description![CI](https://github.com/e-weil/doli/actions/workflows/ci.yml) ![Release](https://github.com/e-weil/doli/releases) ![Docker](https://github.com/e-weil/doli/pkgs/container/doli-node)80%
auto_categoryWeb Frontendweb-frontend70%

Quality Timeline

1 quality score recorded.

View File Metrics

Embed Badge

Add to your README:

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