5. BOS Referendum - Vote Tally
Aggregates proposals/votes/voter staked weights from
eosio.forum&auditor.bos.
Install
git clone https://github.com/boscore/referendum.git
cd referendum
git checkout feature/vote-tally
cd vote-tally
npm installQuick Start
npm startENV Variables
# Configuration
CHAIN="bos"
NODEOS_ENDPOINT="https://bos.eosn.io"
CONTRACT_FORUM="eosio.forum"
CONTRACT_TOKEN="eosio.token"
TOKEN_SYMBOL="BOS"
# AWS Config
AWS_BUCKET="bos.referendum"
AWS_ACCESS_KEY_ID="<ACCESS KEY>"
AWS_SECRET_ACCESS_KEY="<SECRET KEY>"
AWS_REGION="us-east-1"Using eosc forum
eosc forumvote
bosc forum vote [voter] [proposal_name] [vote_value]proposal
bosc forum propose [proposer] [proposal_name] [title] [proposal_expiration_date]S3 Bucket URL template
referendum (tally) Aggregated Data
eosio.forum
auditor.bos
eosio
auditor.bos TABLES
auditor.bos TABLESeosio.forum TABLES
eosio.forum TABLESeosio TABLES
Previous4. BOS Development Incentive programNext6. auditor.bos - a contract that elect the auditors for boswps.io
Last updated
Was this helpful?