# dpos **Repository Path**: shuang112/dpos ## Basic Information - **Project Name**: dpos - **Description**: A Simple DPoS Algorithm, Use go-libp2p implement. - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 1 - **Created**: 2020-12-18 - **Last Updated**: 2023-10-04 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # Implement a simple blockchain use dpos algorithm [![](https://img.shields.io/github/issues/csunny/dpos)](https://github.com/csunny/dpos/issues) [![](https://img.shields.io/github/stars/csunny/dpos)](https://github.com/csunny/dpos/star) [![](https://img.shields.io/github/forks/csunny/dpos)](https://github.com/csunny/dpos/fork) [![GoDoc](https://img.shields.io/badge/GoDoc-Reference-green)](https://godoc.org/github.com/csunny/dpos) ## Architecture Design - Create a P2P Conn-pool - BlockChain Generate - Node Manage And Vote - Pick Node - Write Block On Blockchain ## Build 👏 go build -o build/dpos main/dpos.go ## RUN ``` git clone git@github.com:csunny/dpos.git cd dpos // 切换到源码路径下 go build main/dpos.go ``` connect multi peer ``` ./dpos new --port 3000 --secio ``` ## Vote ``` ./dpos vote -name QmaxEdbKW4x9mP2vX15zL9fyEsp9b9yV48zwtdrpYddfxe -v 30 ``` # Document [Doc](https://xiaozhuanlan.com/topic/3245810967) # Licence [![](https://img.shields.io/github/license/csunny/dpos)](https://github.com/csunny/dpos/blob/master/LICENSE) MIT