Aggregates proposals/votes/voter staked weights from
eosio.forum
&auditor.bos
.
git clone https://github.com/boscore/referendum.git
cd referendum
git checkout feature/vote-tally
cd vote-tally
npm install
npm start
# 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"
vote
bosc forum vote [voter] [proposal_name] [vote_value]
proposal
bosc forum propose [proposer] [proposal_name] [title] [proposal_expiration_date]
eosio.forum
auditor.bos
eosio