junep89
  • Member for 3 years, 1 month
  • Last seen more than 3 years ago
hello contract: not printing the name
Accepted answer
2 votes

You want to add --contracts-console to your node when launching so that it can print out the "print" in smart-contracts

View answer
Onboarding new eos users to a note taking dapp
Accepted answer
2 votes

This issue has always been a tricky one, I believe steemit stores all the data on the block(which is insane if you consider the EOS ram prices). It is especially annoying for the second point that you ...

View answer
eosiocpp -g generates empty abi file
2 votes

I'm assuming you are using one of the new CDTs In my case the following command worked eosio-abigen hello.cpp --contract=hello --output=hello.abi

View answer
How eosbetdice listen to new active bet and then push an resolvebet action?
1 votes

One way they could be doing this is through the mongodb plugin, and use a separate server or application to monitor the changes in the mongodb entry Also, the new action(new bet) can be created by ...

View answer
How can I create an EOS block producer?
1 votes

Jungle testnet has always been the best, and helpful to say the least. Plus it is a highly active community that tests frequently. I do suggest though that you try to build your own private-net, you ...

View answer
Blacklisting specific addresses on token::transfer
Accepted answer
1 votes

It would certainly work, but hard-coding the accounts as blacklist may not be the ideal way to do it. Since in order to change them, you would have to redeploy your code everytime you want to modify ...

View answer
eos smart contract constructor
Accepted answer
1 votes

I believe it is triggered when they are deployed using "set contract" on cleos. Since there are no gas fees in EOS, it might not be a bad idea to add an initiation action for safety. However, it ...

View answer
How is the the crash of a BP handled?
1 votes

As far as I know, there aren't any alert mechanisms that notify the BPs. In terms of block production, they skip the BP that crashed(with a moderate time delay). Given that there are more than 1/3 ...

View answer
EOSIO Tutorial : publishing contract error
1 votes

I'm assuming you have the private key for account addressbook in your wallet? Have you checked the abi file if it is not empty? the newer versions of CDT sometimes do that.

View answer
Please advise how can I create Multi-Host Private Blockchain Network
Accepted answer
0 votes

I actually recommend trying the local multi-node testnet as well. Its a good learning process in general, getting used to cleos and such For the boot sequence and genesis.json file. genesis.json for ...

View answer
I have got "cannot modify objects in table of another contract" when trying to modify a table in my transfer function
0 votes

Without the code, it is difficult to observe what was the reason for the exception. However, generally speaking, when you emplace or modify the data on the table, it all depends on the authority of ...

View answer
Failed to get existing code hash, continue without duplicate check... on set contract
0 votes

I don't think its a permission issue or @eosio.code issue(especially if the contract isn't published) Maybe you could try something like this in cleos? cleos --print-request --print-response set ...

View answer
unpack_action_data for transfer in newer CDT version
0 votes

struct st_transfer { name from; name to; asset quantity; string memo; }; I think the answer by Colin works just fine, but just in case you wanted to see how the other way works. ...

View answer