BlockDevsAsia released their IOST / IDE / dAapp deployment toolkit.
- http://iost.toolkit.blockdevs.asia/
13 June 2019
Took a quick look in the examples directory for the iost.js SDK and didn't see one. There is the vote.iost contract and it says "A universal voting contract used to create votes, collect votes, and vote on statistics. You can implement your own voting function based on this contract."
- https://developers.iost.io/docs/en/6-reference/SystemContract.html#voteiost
@octalmage it's very strange.
When I try to call iost.callABI('vote_producer.iost', "vote", ["nicksamqq", "huobipool", "1"]);
it returns producer is not exist as error
`"running action Action{Contract: vote_producer.iost, ActionName: vote, Data: ["nicksamqq","huobipool","1"]}
error: Uncaught exception: Error: producer not exists
at _default_name.js:484:48
_IOSTInstruction_counter.incr(61.9);throw new Error('producer not exists');
^
Stack tree:
Error: producer not exists"`