diogoneves/tangledwig — explained in plain English
Analysis updated 2026-08-03 · repo last pushed 2023-02-28
Explore how Tangle synchronization performs when compiled to WebAssembly for browser execution.
Use as a starting point for building lightweight IoT micropayment systems that avoid traditional blockchain overhead.
Prototype browser-based crypto wallets that rely on DAG consensus instead of a linear blockchain.
Study directed acyclic graph consensus mechanics in a constrained web runtime environment.
| diogoneves/tangledwig | alichraghi/mach-dusk | alichraghi/mach-glfw-vulkan-example | |
|---|---|---|---|
| Language | Zig | Zig | Zig |
| Last pushed | 2023-02-28 | 2024-02-24 | 2023-08-11 |
| Maintenance | Dormant | Dormant | Dormant |
| Setup difficulty | hard | hard | moderate |
| Complexity | 5/5 | 4/5 | 3/5 |
| Audience | researcher | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
No documentation or setup instructions are provided, you must read the Zig source code directly and figure out how to compile it to WebAssembly yourself.
TangledWig is an experimental project exploring how to synchronize a "Tangle" data structure using the Zig programming language compiled to run in a WebAssembly environment. A Tangle is an alternative to traditional blockchain architecture, instead of linking blocks in a single linear chain, transactions are connected in a web-like graph where each new transaction validates two previous ones. This approach is most notably used by networks like IOTA. The project's goal is to see whether this synchronization process can work efficiently when the code runs inside a browser or other WebAssembly-compatible runtime. WebAssembly is a technology that lets high-performance programs written in languages like Zig, C++, or Rust execute at near-native speed inside web environments. By compiling Zig to WebAssembly, the project tests how well a Tangle's graph-based consensus and synchronization logic perform within those constraints. The primary audience for this experiment is developers and researchers interested in distributed ledger technology, specifically non-blockchain approaches like directed acyclic graphs (DAGs). Someone working on IoT micropayments, browser-based crypto wallets, or lightweight decentralized applications might find this exploration relevant. It could serve as a starting point for building systems where low latency and minimal resource usage matter more than the heavier computational requirements of a traditional blockchain. The README doesn't go into detail about specific features, performance benchmarks, or how far along the experiment actually is. It reads as an early-stage research project rather than a production-ready tool. There's no documentation on how to use it, what results have been observed, or whether the synchronization approach proved viable. Anyone interested would likely need to dig into the source code directly to understand what the experiment has uncovered so far.
TangledWig is an experimental project that tests whether a Tangle, a web-like alternative to blockchain used by IOTA, can be synchronized efficiently using Zig code compiled to run in WebAssembly inside browsers or other web runtimes.
Mainly Zig. The stack also includes Zig, WebAssembly.
Dormant — no commits in 2+ years (last push 2023-02-28).
No license information is provided, so the terms of use are unclear and you would need to contact the author before using this code.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly researcher.
This repo across BitVibe Labs
Verify against the repo before relying on details.