Skip to content

systemzax/simplevote

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simplevote

Simplevote is a simple permissioned messaging system to establish a public record of deliberations between chains participating to the common EOSIO core development effort.

configuration

cleos push action simplevote addchain '{"chain":"EOS", "owner":"myaccount"}' -p simplevote

Adds a chain with associated owner to the contract. Requires contract authorization.

cleos push action simplevote changeowner '{"chain":"EOS", "newowner":"mynewaccount"}' -p myaccount;

Changes owner account for a given chain. Requires current owner authorization or contract authorization.

cleos push action simplevote removechain '{"chain":"EOS"}' -p simplevote

Removes chain and all associated voters. Requires chain owner authorization or contract authorization.

cleos push action simplevote addvoter '{"chain":"EOS", "voter":"otheraccount"}' -p myaccount ;

Adds a voter under a given existing chain. Requires chain owner or contract permission.

cleos push action simplevote removevoter '{"chain":"EOS", "owner":"otheraccount"}' -p myaccount ;

Removes a voter from a given existing chain. Requires chain owner or contract permission.

usage

cleos push action simplevote sendmsg '{"voter":"myaccount", "message":"some message"}' -p myaccount

Publishes a message to the block log. Requires voter permission.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published