Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Unanswered Questions

427 questions with no upvoted or accepted answers
5
votes
1answer
297 views

Is it secure to use keosd in an aws to let dapp/app server sign transaction?

I would like to know if it is secure to run keosd on an aws locally as a hot-wallet, to let the server of a dapp send a transaction which should be signed to the aws. The server of the dapp would get ...
4
votes
1answer
60 views

How can you make sure you know what the contract does when you send an action?

Say you want to send an action to a smart contract, and you know the WASM of the contract. You somehow obtained the original source code which was in C++, you compiled it to WASM, and you got the same ...
4
votes
1answer
189 views

eosio.contract cannot compile with error code 1 of eosio.wasmsdk by Clion

We are compile the eosio.contract v1.2.0 using Clion by following that: Dependencies: eosio v1.1.2 eosio.wasmsdk v1.1.0 Cannot get compiler information: Compiler exited with error code 1: /usr/...
4
votes
0answers
37 views

Creating a base contract with (virtual?) base methods that can be overriden

is there a possibility to create a base contract with methods that can be overridden in contracts that inherits from it? Cheers
4
votes
1answer
489 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 ...
3
votes
1answer
25 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
50 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
47 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 ...
3
votes
1answer
167 views

How do I create a Multi-Index DB secondary index from a String?

I'm developing a Smart Contract for EOSIO. I have a Multi-Index table with a uint64_t primary key. I'd like to add a secondary index to the table. Ideally the data I'd be indexing on would be a std::...
3
votes
1answer
66 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
2answers
111 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
67 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
87 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
105 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
244 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 ...

15 30 50 per page