Unanswered Questions

531 questions with no upvoted or accepted answers
3 votes
0 answers
89 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
155 views

modules.format.encodeName() replacement in 20.0.0?

In eosjs@16.0.9 I have a Eos.modules.format.encodeName() Is there something like that in eosjs@20.0.0 or what can I use to replace it?
3 votes
1 answer
271 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
259 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
536 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
177 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
169 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
188 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
353 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
47 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
1 answer
52 views

Multinode data with eosjs

I need to prepare eosio dashboard for that I need multi nodes information. I am using eosjs nodejs library to get genesis node chain information. Can I get which other nodes are connected with genesis ...
2 votes
0 answers
25 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
376 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
697 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
94 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
36