A modified version of the tutorial https://tutorials.cosmos.network/voter/. I have added a mechanism to return the paid coins if the creation of a poll was failed. Previously the coins would be consumed even if the creation of a poll failed.
voter is a blockchain application built using Cosmos SDK and Tendermint and generated with Starport.
starport serve
serve
command installs dependencies, initializes and runs the application.
Initialization parameters of your app are stored in config.yml
.
A list of user accounts created during genesis of your application.
Key | Required | Type | Description |
---|---|---|---|
name | Y | String | Local name of the key pair |
coins | Y | List of Strings | Initial coins with denominations (e.g. "100coin") |