ChatCrawlersearch across public Telegram Open the app
I

IOST Developer Channel Chat

13 June 2019
2019-06-13×
13 June 2019
I
Included the Endless Games, Liebi Pool, and Shooter contracts to dig into.
I
Фотография
click to show
I
As a developer that seems like a liability!
I
as I showed above screenshot
const newIOST = new IOST.IOST({ gasRatio: 1, gasLimit: 2000000, delay: 0, expiration: 90, defaultLimit: 'unlimited', });
I
Your ABI has to allow unlimited too.
When I try to vote in iostabc with iWallet extension, they require active permission like below.
Фотография
click to show
I
it showed vote_producer.iost smart contract, not vote.iost
You can vote for many things. The producer contract is specifically for voting in block producers!
If that makes sense.
I
If you look at the API for both contracts I think it will make more sense.
I don’t think people are using vote.iost yet. I did see a hackathon where users created a DAO using IOST, and they probably used vote.iost for this.
I
I’m just assuming though!
I haven’t built my own interface yet no, just wanted to prove that it was possible.
Right now I’m just telling users to vote using TokenPocket or IOSTABC.
I
Just thinking, it would make sense to give users more money if they put it towards our node.
I
@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"`
I
The message is like above
I
Because you don’t have any producers locally.
I
Is there no way to call vote action without locally run producer?
I
Vote for BlockArcade to test, I won’t mind.
I
const iost = IWalletJS.newIOST(IOST) maybe I need to init iost with mainnet node?
Calendar: June 2019
MoTuWeThFrSaSu12345678910111712161372141615161718192021222324252627282930
Archive by month
Open in Telegram Каталог площадок Искать в ChatCrawler

A snapshot of an open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog