Skip to content
Cosmopediaby Unity Nodes
DiscussionsMiscellaneousVoting app in Cosmos SDKForum ↗

Voting app in Cosmos SDK

Miscellaneous5 posts748 viewsLast activity Nov 2020
AK
akureOP
Oct 2020

Hi
I am looking to develop a voting based decentralized oracle which is govern by some governance process. In this app, people or token holders should be able to vote on the exact price of the synthetic asset.

How to develop this kind of voting mechanism in cosmos sdk in golang?

When people vote for the price, where should the price be stored. And how do I track the maximum votes, minimum votes , voting prices and all other voting event related stattistics?

Please guide me?

EB
ebuchman
Nov 2020

Have you tried the Cosmos SDK tutorials? https://tutorials.cosmos.network/

There is even a voting app there :slight_smile:

ST
steffenboe
Nov 2020

hi, dont know if this is offtopic, but the guide of the voter app does not work for me. more concrete, i do not get a running frontend on localhost:8080 when executing starport type poll […]. A vue folder is also not created (but should be following the example guide?)

EB
ebuchman
Nov 2020

Not sure, you could try opening an issue on the starport repo: https://github.com/tendermint/starport or asking in the starport channel on discord: https://discord.gg/W8trcGV

AN
andynog
Nov 2020

I have asked the issue about vue some time ago and it seems was because of CosmJS support

github.com/tendermint/starport

Noticed that when using the sdk-version stargate it seems the frontend is not created. Ways to reproduce: Create a test app without specifying...

← Back to Discussions