- Run
go run ./main.go setup
to create a new ballot box with a basic configuration. - Run
go run ./main.go voter -n registry_value -k secret_key
to create a new voter and keystore (descentralized). - Run
go run ./main.go voter -a -k secret_key -p private_key
show voter address. - Run
go run ./main.go voter -r -k secret_key -p private_key
show voter registry. - Run
go run ./main.go candidate -l
to list candidates. - Run
go run ./main.go vote -c candidate_code -k secret_key -p private_key
to vote for a candidate. - Run
go run ./main.go vote -s
candidates and votes. - Run
go run ./agent/agent.go
worker to verify votes blockchain integrity. - Run
go run ./main.go network -l port
to listen on a port.All peers will be connected to the same network and between them will be able to communicate.
- Open you browser and go to http://localhost:port to access the home page.
- Run
go run ./main.go config -s KEY=VALUE
to set a configuration value. - Run
go run ./main.go config -g KEY
to get a configuration value. - Run
go install
to substitutego run ./main.go
toballot-box
command.
-
Notifications
You must be signed in to change notification settings - Fork 0
Descentralized voting system (IDEA)
License
8BITS-COLAB/ballot-box
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Descentralized voting system (IDEA)
Resources
License
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published