<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Văn Dũng</title>
    <description>The latest articles on DEV Community by Văn Dũng (@vandungdev).</description>
    <link>https://dev.to/vandungdev</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3687752%2F1fe21754-c856-431b-a0a3-8edd3e62ad9c.jpeg</url>
      <title>DEV Community: Văn Dũng</title>
      <link>https://dev.to/vandungdev</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vandungdev"/>
    <language>en</language>
    <item>
      <title>Building HieraChain: A Hierarchical Blockchain Framework for Enterprise as a Student Side Project</title>
      <dc:creator>Văn Dũng</dc:creator>
      <pubDate>Wed, 31 Dec 2025 17:14:17 +0000</pubDate>
      <link>https://dev.to/vandungdev/building-hierachain-a-hierarchical-blockchain-framework-for-enterprise-as-a-student-side-project-1cb</link>
      <guid>https://dev.to/vandungdev/building-hierachain-a-hierarchical-blockchain-framework-for-enterprise-as-a-student-side-project-1cb</guid>
      <description>&lt;p&gt;Hi everyone,I'm a third-year software engineering student, and over the past year, I've been working solo on an open-source project called &lt;strong&gt;HieraChain&lt;/strong&gt; – a blockchain framework designed specifically for enterprise applications, with no connection to cryptocurrency.&lt;/p&gt;

&lt;h3&gt;
  
  
  Why I Started This Project
&lt;/h3&gt;

&lt;p&gt;Like many students, I got curious about blockchain during my distributed systems courses. But most resources and projects out there focus heavily on crypto, DeFi, or public ledgers like Ethereum. I saw a gap: many real-world business processes (supply chain tracking, compliance auditing, multi-organization workflows) could benefit from secure, hierarchical distributed systems – without the volatility or speculation of tokens.&lt;/p&gt;

&lt;p&gt;That's why HieraChain is built around a &lt;strong&gt;hierarchical structure&lt;/strong&gt;: A Main Chain oversees multiple Sub-Chains, and it uses an &lt;strong&gt;event-based model&lt;/strong&gt; (processing "events" instead of transactions) to better fit business workflows.&lt;/p&gt;

&lt;h3&gt;
  
  
  Key Features and Tech Stack
&lt;/h3&gt;

&lt;p&gt;I chose a multi-language approach to balance productivity, safety, and performance:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Python&lt;/strong&gt; for the core framework (easy prototyping and high-level logic).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Rust&lt;/strong&gt; for the consensus module (memory safety and speed for critical parts like BFT).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Go&lt;/strong&gt; for the high-performance engine (excellent concurrency for P2P networking and worker pools).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Some standout technical choices:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Security basics&lt;/strong&gt;: Ed25519 signatures and AES-256-GCM encryption.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Consensus mechanisms&lt;/strong&gt;: Supports PoA (Proof of Authority), PoF (Proof of Flow), and BFT.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Integration&lt;/strong&gt;: gRPC for APIs, making it easy to connect with existing systems.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Data handling&lt;/strong&gt;: Apache Arrow for columnar storage in blocks and zero-copy transfers. Especially cool is using PyArrow for efficient data exchange between Rust consensus and Python core – this reduces FFI overhead significantly and keeps things fast.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The project is split into three repos for modularity:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Main repo: &lt;a href="https://github.com/VanDung-dev/HieraChain" rel="noopener noreferrer"&gt;https://github.com/VanDung-dev/HieraChain&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Consensus module: &lt;a href="https://github.com/VanDung-dev/HieraChain-Consensus" rel="noopener noreferrer"&gt;https://github.com/VanDung-dev/HieraChain-Consensus&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Engine: &lt;a href="https://github.com/VanDung-dev/HieraChain-Engine" rel="noopener noreferrer"&gt;https://github.com/VanDung-dev/HieraChain-Engine&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;It's dual-licensed under Apache-2.0/MIT, with internal tests and some benchmarks.&lt;/p&gt;

&lt;h3&gt;
  
  
  Challenges and What I've Learned
&lt;/h3&gt;

&lt;p&gt;Building this alone as a student has been tough:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Integrating Rust and Python via PyO3 and PyArrow took a lot of trial and error.&lt;/li&gt;
&lt;li&gt;Designing a custom consensus while keeping it modular.&lt;/li&gt;
&lt;li&gt;Balancing features without over-engineering.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But it's taught me a ton about distributed systems, cryptography, and polyglot programming. Right now, it's still in active development.&lt;/p&gt;

&lt;h3&gt;
  
  
  Current Status and Call for Feedback
&lt;/h3&gt;

&lt;p&gt;This is far from a polished product – it's a learning project, and there are surely bugs, performance issues, or better design choices I'm missing because I've been working solo.&lt;/p&gt;

&lt;p&gt;I'd love your feedback! If you're into Rust, Go, Python, or enterprise blockchain:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Clone the repos and try running it.&lt;/li&gt;
&lt;li&gt;Open issues with suggestions, bug reports, or even harsh criticism.&lt;/li&gt;
&lt;li&gt;If something interests you, feel free to contribute (docs, tests, or code).&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;No pressure – just curious what experienced devs think about the approach.&lt;/p&gt;

&lt;p&gt;Thanks for reading! If you found this interesting, give the repos a star or share your thoughts in the comments.&lt;/p&gt;

</description>
      <category>blockchain</category>
      <category>python</category>
      <category>rust</category>
      <category>go</category>
    </item>
  </channel>
</rss>
