decred / vspd

A Voting Service Provider (VSP) for the Decred network.
ISC License
19 stars 20 forks source link

vspd

Build Status ISC License Go Report Card Release

First announced in 2020, vspd is a from scratch implementation of a Voting Service Provider (VSP) for the Decred network.

A VSP running vspd can be used to vote on any ticket - tickets do not need to be purchased with any special conditions such as dedicated outputs for paying VSP fees. Fees are paid directly to the VSP with an independent on-chain transaction.

To use vspd, ticket holders must prove ownership of their ticket with a cryptographic signature, pay the fee requested by the VSP, and submit a private key which enables the VSP to vote the ticket. Once this process is complete the VSP will add the ticket to a pool of always-online voting wallets.

Features

Implementation

vspd is built and tested on go 1.22 and 1.23, making use of the following libraries:

Deployment

A vspd deployment consists of a single front-end server which handles web requests, and a number of remote servers which host voting wallets. For more information about deploying vspd, check out deployment.md.

The process for listing a new VSP on decred.org, and consequently in Decrediton, is detailed in listing.md.

Development

Test Harness

A test harness is provided in harness.sh. The test harness uses tmux to start a testnet instance of dcrd, multiple dcrwallets, and finally vspd. Further documentation can be found in harness.sh.

Web server debug mode

The config option --webserverdebug will:

Issue Tracker

The integrated GitHub issue tracker is used for this project.

License

vspd is licensed under the copyfree ISC License.