Skip to content

A large-scale P2P application protocol testbed based on IPFS and Libp2p for testing W3 which is a consensusless blockchain.

License

Notifications You must be signed in to change notification settings

weihaopeng/W3-POC

Repository files navigation

w3-poc

W3 POC is a large-scale P2P application protocol testbed based on IPFS and Libp2p for testing W3.

W3 is a in new kind of blockchain, i.e. Consensusless Blockchain. It drops the most expensive part of traditional blockchains, the consensus, and therefore simpler, cheaper and faster.

How does it work?

Basically W3 POC is a javascript DApp, it implements the W3 consensusless blockchain protocol with a swarm of W3 Nodes within a webpage and then connected all swarms into a large testbed. Nodes pass messages through EventEmitter2 within a swarm and then through libp2p across swarms.

img

Vue and ECharts are used for visualization. Meanwhile, a Github CI/CD action is setup for automatically distribute the whole DApp via IPFS, and the web3.storage will be used soon to record/publish the testing results.

Features

  • illustration & debug for the W3 protocol
  • benchmark of performance & resource consumption
  • simulation on security attacks (in process)

Access now

GA

Snapshot

Getting started

development

npm install
npm run dev

Then visit http://localhost:3000 (default)

build and preview

npm run build
npm run serve

Then visit http://localhost:4173 (default)

References

  1. W3 Whitepaper (beta release soon)
  2. Consensusless Blockchain: A Promising High-Performance Blockchain without Consensus
  3. 区块链不需要挖矿——无共识区块链 (Chinese)

Contributing

Team

Core team 💪

  • @eric 🎈 (founder, project lead, technical product owner, architect)
  • @jian(tech lead + core engineer)
  • @hao(core engineer)

Collaborators ❤

Welcome to contribute 👋

License

MIT

About

A large-scale P2P application protocol testbed based on IPFS and Libp2p for testing W3 which is a consensusless blockchain.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •