weihaopeng / W3-POC

A large-scale P2P application protocol testbed based on IPFS and Libp2p for testing W3 which is a consensusless blockchain.
MIT License
7 stars 1 forks source link

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

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 💪

Collaborators ❤

Welcome to contribute 👋

License

MIT