This library is no longer being maintained, please refer to the following EOSIO GraphQL and/or EOSIO MongoDB Queries.
The main goal with
EOS Votes Database
is to "listen" and store data into a well organized/structured MongoDB with an exposed GraphQL endpoint.
- Build listeners on
eosio
&eosio.forum
that dumps action data into MongoDB - Tracking for EOS token Staked Balance
- Define GraphQL Data schema
- Setup CLI for ease of use
- Resistant to spamming
- Leverage EOSIO MongoDB
Launch application using Docker Compose.
$ docker-compose up
https://www.mongodb.com/download-center#compass
For this example, we are using @thomasbcox's message as a Post UUID.
We can easily calculate that the post
has 422.1 EOS
of voting power towards 💪.
This Constitution and its subordinate documents shall not be amended except by a vote of the token holders with no less than 15% vote participation among tokens and no fewer than 10% more Yes than No votes, sustained for 30 continuous days within a 120 day period.