Unanswered Questions

509 questions with no upvoted or accepted answers
3 votes
0 answers
183 views

Random Number Generator without wasting RAM

I want to implement RNG on EOS the mainnet. My reference is the WAX ORNG smart contract It is based on the signidice which is an Ethereum implementation. That algorithm is based on an external oracle ...
3 votes
2 answers
177 views

modules.format.encodeName() replacement in 20.0.0?

In [email protected] I have a Eos.modules.format.encodeName() Is there something like that in [email protected] or what can I use to replace it?
3 votes
1 answer
314 views

Deploy Contract from browser using eosjs

so I would like to deploy an EOS contract using eosjs. I encountered several problems (especially with converting the .abi and .wasm files). All the examples either use node (so fs is available) or an ...
3 votes
1 answer
273 views

What is the reason for appearance of "misaligned reference"?

I have written a big contract with a lot of template functions and can find a place, which causes 2018-11-19T08:14:11.454 thread-0 binaryen.hpp:608 translate_one ] misaligned ...
3 votes
1 answer
605 views

how to convert a hex string to checksum256

I'm having a hard time figuring out how to convert a hex string into a checksum256/capi_checksum256 (or vice versa), any help?
3 votes
1 answer
115 views

eosio.token vs copy of eosio.token

We've created a copy of eosio.token to issue our own in-game token. Going forward we might want to add our token to the crypto exchanges. Question: Given that this token was created by our own copy ...
3 votes
1 answer
191 views

EOSJS how to query the top voters

I can get some unsorted voters by using await eos.getTableRows({ json: true, code: 'eosio', scope: 'eosio', table: 'voters', // tableKey, // lowerBound, // upperBound, ...
3 votes
1 answer
182 views

Execute get_supply function within contract

I want to execute get_supply from currency.hpp. Here is the definition: asset get_supply( symbol_name symbol )const { accounts t( _contract, symbol ); return t.get(symbol).balance; ...
3 votes
1 answer
213 views

How to confirm if a transaction is confirmed for a wallet app?

Our wallet client wants to check if a transaction issued by some an account is confirmed or not. I know history_api_plugin provides API for query actions related to the account. But if the filter for ...
3 votes
4 answers
395 views

How to enable claimrewards for eosio?

I have a test net. There are 5 producers. When I try claim rewards. It report sam@sam-machine:~/Public/oasis-eos/oasis$ cleos --wallet-url "http://127.0.0.1:8905" system claimrewards producer1111 -p ...
2 votes
0 answers
75 views

How do I calculate my used and total RAM balances?

I need help calculating how much RAM I've used and how much RAM I have (total) I've read these questions and their answers: How can I see where I'm using my EOS RAM? Where is my RAM currently ...
2 votes
0 answers
39 views

What is purpose of eos flag --enable-stale-production?

I am trying to setup a private eos network but when i unset flag --enable-stale-flags node does not start producing blocks what is exactly the purpose of this flag In which cases this flag should be ...
2 votes
1 answer
491 views

could not insert object, most likely a uniqueness constraint was violated

I started a non producing nodeos using latest snapshot to listen the eosio blockchain but i am getting an error. can any body help me? Error: error 2020-02-24T10:59:50.853 nodeos ...
2 votes
1 answer
762 views

Error 3080004: Transaction exceeded the current CPU usage limit imposed on the transaction

I have an account with very little staked CPU/NET but I need to do some transfers of another token and I currently can't do anything: $ cleos -u https://api.eosnewyork.io:443 get account auewijsdh312 ...
2 votes
1 answer
153 views

Execution order of actions

I want to implement "continious minting" which means first I should call issue, and only then transfer. My contract has a functionality of eosio.token . I call create to create my token with ...

15 30 50 per page
1
2 3 4 5
34