Unanswered Questions

460 questions with no upvoted or accepted answers
5
votes
2answers
548 views

How to set up chain of permission levels for a user?

This is a great answer that describes the ways you can handle user permission levels for inline actions. According to that answer: This can be done a few ways (ordered from most risky for the user ...
4
votes
1answer
57 views

Different actions count returned in every request

I launched private EOS network with bios boot tutorial. Then I pushed some transactions to the network. Now I want to retrieve all actions for an account useraaaaaaah. But every time I make a request ...
4
votes
1answer
82 views

How to verify signature from $ cleos get block BLOCKNUM

How to verify the signature of data returned from $ cleos get block BLOCKNUM to insure that the data returned came from the blockchain and not 'spoofed' by a man-in-the-middle? cleos get block 132 {"...
3
votes
1answer
31 views

What are the advantages and disadvantages of using multiple smartcontracts?

I have noticed many EOS contract programmers choose to have a token contract and a seperate smart contract for other things to do with those tokens. What are the advantages and disadvantages to this ...
3
votes
1answer
62 views

Require authorization with conditions require_auth(name1 OR name2)

Is there any possibility to implement conditional require_auth(<condition>) or what is a good practice to make contract accept invocations from a set of predetermined accounts? Is there any ...
3
votes
1answer
114 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
4answers
140 views

Is LevelDB used in EOS?

I know Ethereum uses leveldb. When I checked into EOS I could not find that much out. I thought when I tested I did see leveldb. Can someone confirm how the immutable data is stored? EDIT I think ...
3
votes
1answer
76 views

Is is possible to defer a non abi action using a abi action?

I know we can defer a action in EOS, I invoke a non-abi action from an abi action like this: eosio::transaction txn{}; txn.actions.emplace_back( eosio::permission_level(owner, N(active)), N(...
3
votes
1answer
101 views

I can only find 10 block producers with valid SSL. Is that correct?

I want users to have option to select block producers from a list in my DAPP. But I can only find 10 block producers that has SSLendpoint. I first get block producers from EOS https://api.eosuk.io:...
3
votes
1answer
117 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
1answer
360 views

Is it possible to call “updateauth” to change account keys from within a smart contract?

I am trying to write a smart contract that changes the keys of an account (not itself). The transaction will be of course be authorized by the account for which the keys are changing. I feel like it ...
3
votes
1answer
142 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
1answer
135 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
2answers
719 views

generate eos keys from Mnemonic/Seed

I use this way to generate eos keys: const hdkey = require('hdkey') const wif = require('wif') const ecc = require('eosjs-ecc') const bip39 = require('bip39') const mnemonic = 'real flame win provide ...
2
votes
1answer
39 views

How to optimize RAM usage for airdrop

I want to conduct airdrop for all eos holders. Taking into consideration that the airdrop for one account will use around 0,2 KiB I have to shell out around 250K KiB of RAM without CPU and Net which ...

15 30 50 per page