0
votes
0answers
4 views

empty actions - abi file

Any help why I'm getting empty actions? { "____comment": "This file was generated by eosio-abigen. DO NOT EDIT - 2018-08-22T01:21:53", "version": "eosio::abi/1.0", "types": [], "structs": [{ ...
0
votes
0answers
7 views

What are the functionality differences/similarities between BitShares and EOSIO?

EOSIO borrowed code from the BitShares codebase, but what was removed from BitShares/Graphene, what are the new modifications that are exclusive to the EOSIO architecture, and what architectural ...
1
vote
2answers
20 views

How to check version of EOS on local machine

I know after running the nodeos and keosd . I run the cleos --url http://localhost:8888 get info and I get the following json in my terminal window { "server_version": "bf28f8bb", "chain_id": "...
1
vote
0answers
11 views

How to generate packed_trx for push transaction?

Where can I find documents about this? Or does it have some descriptions instead of c++/js code?
1
vote
1answer
21 views

What Determines Transaction Per Second?

I do not understand what factors/hardwares are designed for TPS. How can we know the max_transaction_cpu_usage? Example: I have a VPS computer with 7 CO RAM: 1024MB CPU: 2 Core Transfer: 2TB Network:...
4
votes
1answer
21 views

Fewer than 21 producers for custom EOS blockchain?

Can one configure a custom EOS blockchain to require fewer than 21 producers, e.g. 3 or 10? And if so, how? I can't find anything in the various *config.hpp* source files like chain_config.hpp.
2
votes
2answers
27 views

Where is wallet rpc api documentation?

Reading through the nodeos RPC API docs on the eos.io website, there are many different API's documented: Chain, History, Net, Producer, DBSize. And the docs for many of the RPC calls in these tell me ...
0
votes
0answers
16 views

wallet_api_plugin isn't supported in nodeos anymore?

I am following along the tutorial here but get the following error message when I execute cleos wallet create --to-console: Error 3110002: Missing Wallet API Plugin Ensure that you have eosio::...
3
votes
0answers
17 views

How to use nodeos command when deploying via Docker?

I am able to run cleos from my command line after following basic setup instructions to launch a private testnet, including setting an alias: alias cleos='docker exec -it eosio /opt/eosio/bin/cleos -...
2
votes
1answer
22 views

How to become an EOS Block Producer Candidate?

I've seen some conflicting info regarding on how one can become a Block Producer Candidate so that people can vote for me in the block producer votings. Some suggest that anyone can vote anyone they ...
3
votes
1answer
17 views

Ethereum Remix equivalent for EOS?

Is there an equivalent online IDE for EOS to write the smart contracts? https://remix.ethereum.org/
0
votes
1answer
24 views

What is the ChainBase database used for?

EOSIO appears to make use of the Chainbase database for various functions in the codebase. What is this used for and how does it relate to the RAM concept in EOSIO? Is it simply the database used to ...
1
vote
0answers
21 views

What are the main differences betwen EOSIO multi_index and Boost multi_index?

Inspired by this comment, I was wondering what are the main differences between eosio::multi_index and boost:multi_index and why do they exist? The documentation notes that there are important ...
0
votes
1answer
17 views

Error 3160003: Invalid table iterator

Getting the Error 3160003: Invalid table iterator error while trying to execute: cleos push action voting.debug debug '[ 0 ]' -p user@active I have a simple voting contract (full code) where I'm ...
2
votes
1answer
41 views

Can I get the current RAM usage in contract?

I want to calculate the ram usage when I conduct an action in contract, if ram is over the limit, I will let the action fail automatically. How can I get the current ram usage in contract?
0
votes
1answer
42 views

How does the EOS account system work together with smart contracts?

It's my first step into eos and Trying to get some ideas. I really do hope you can help me. Question 1) As we all know, we can transfer some coins from one to another account by using account_names. ...
7
votes
1answer
38 views

How to increase RAM on Jungle testnet?

My contract requires 350KB of RAM on the blockchain but it seems that jungle testnet only provides around 200KB of RAM size. Can the RAM on testnet be increased somehow? The error I am getting while ...
3
votes
1answer
36 views

Can we access multiple accounts using Scatter at once?

I want to access all the identities present in my scatter wallet at once so that I can have all the accounts and the balance in them. But, I think, we can use only one identity at a time as we have ...
2
votes
1answer
32 views

Why did EOSio exclude all EOS ERC20-token holders who didn't register before 2st of June 2018?

They have made my ERC-20 EOS tokens non-transferable, so now the money I invested is lost. On my Trezor (MEW - MyEthereumWallet) Are there any official statements of the reasons to the malignant ...
1
vote
1answer
24 views

How to search extra information which is attatched to a transaction?

For example, in one smart contact, a transaction is made, which contains some extra information, let's say the buyer's name. Once the transaction is committed, it is saved into one block. As you know,...
1
vote
1answer
35 views

What is the practical process by which BPs change the RAM available on the mainnet?

What is the process that BPs follow to update the RAM size at regular intervals? From what I can tell, the update is made in the eosio_global_state singleton to update the max_ram_size parameter in ...
2
votes
1answer
31 views

Is “Smart Contract” supported by EOS ? Which Language?

What is the equivalent platform of Ethereum Smart Contract in EOS ? And by which programming languages we can develop a smart contract? Is there a specific language like Solidity in Ethereum? And is ...
5
votes
1answer
37 views

How does eosio support complex structure as the input of a contract's method?

AFAIK, the data type in Wasm only supports i32,i64,f32,f64, but when we use eosio contract, we can pass a string as a parameter. Anyone can tell me how eosio does that?
1
vote
1answer
17 views

get token stats

I found the following in the eosjs docs: eos.getCurrencyStats(code, symbol) ⇒ getCurrencyStatsResult I was able to receive all stats for eos.getCurrencyStats('EOS', 'eosio.token') as well as ...
1
vote
0answers
14 views

How to use the onerror event?

If a deferred transaction fails for whatever reason, it triggers an onerror event, which can be captured as follows: void apply_onerror(const onerror& error ) { print("What can I do with this?\...
2
votes
1answer
31 views

Addition overflow when doing delegatebw in contract

So I wanted to do delegatebw in my contract as a deferred transaction: eosio::transaction out; out.actions.emplace_back(eosio::permission_level{_self, N(active) }, N(eosio), N(delegatebw), std::...
4
votes
2answers
28 views

Can you create a deferred transaction with cleos?

I want to create a deferred transaction that can be executed using cleos, is this possible? If so, how?
1
vote
1answer
22 views

Error 3070003: Serialization Error Processing WASM

I was trying to deploy my smart contract to the local testnet and got this error. Error 3070003: Serialization Error Processing WASM I was using a command cleos set contract testing . hello.wast ...
0
votes
1answer
24 views

recover_key in contract

Is there a specific sample code of using recover_key()? I got an error with recover_key() in contract. string msg="charlie"; checksum256 m_hash; sha256( const_cast<char*>(msg.c_str()), msg....
0
votes
1answer
10 views

When accessing cleos in Docker, why are files and wallets deleted after exit?

On a mac. When accessing cleos in Docker, why are files and wallets deleted after the command "exit"?
0
votes
1answer
25 views

How do I find and edit Hello.cpp?

I'm on a Mac, and working through the Hello World contract. I managed to create the Hello.cpp file using the touch command in Terminal... but how do I find this file, and/or how do I edit it?
2
votes
1answer
34 views

sign & push transaction separately eosjs

Goal: be able to separately create, sign and broadcast a transaction: Global for both approaches: const privkey = '5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3'; Approach 1: ...
1
vote
3answers
36 views

Building EOS on Ubuntu Linux Subsystem

I am having some issues running eosio_build.sh on Ubuntu 16.04 which is running on Windows 10 through the linux subsystem. It installs all the dependencies but stalls when installing the boost ...
3
votes
2answers
26 views

Standards for handling private user-data in the persistence API?

When storing and accessing sensitive user-data, using the Multi-Index DB API, what considerations should be made to respect the user's privacy? For sake of example, let's say I want to create a dApp ...
1
vote
0answers
28 views

How to correctly use Docker to run eosio (including eosiocpp)?

I can get the basic quickstart working very easily but when I try to add smart contract I get a lot of conflicts. I have read an article here claiming - https://medium.com/@ekkis/eos-development-on-...
1
vote
1answer
17 views

What is the command in docker to pull eosiocpp?

What is the command in docker to pull eosiocpp? Or where can I find it online?
3
votes
2answers
135 views

Can we set the deferred transaction for the delay more than the maximum delay?

According to the genesis block file. The maximum delay for a deferred transaction is 3888000. "max_transaction_delay": 3888000, Can we have a way around to deferred a transaction more than this ...
3
votes
1answer
59 views

How does EOS prevent one contract from accessing another contract's tables without authorization?

I noticed that multi-index (which is under eosio namespace) uses the following to prevent access to another contract's tables: eosio_assert( _code == current_receiver(), "cannot create objects in ...
3
votes
2answers
36 views

Is a wallet needed for the EOSIO account?

I read in the docs - There is no inherent relationship between accounts and wallets. Accounts do not know about wallets, and vice versa. Correspondingly, there is no inherent relationship ...
3
votes
1answer
48 views

Can we set permission using eosjs?

Using cleos, we can set the permissions like this: cleos set account permission <your-account> active '{"threshold": 1,"keys": [{"key": "<your-key>","weight": 1}],"accounts": [{"...
1
vote
1answer
24 views

why would get_block return an 3010008 error (curl & nodeos)?

I have installed EOS using this - https://eosio-nodeos.readme.io/docs/docker-quickstart docker pull eosio/eos-dev And start the EOSIO node: docker run --rm --name eosio -d -p 8888:8888 -p 9876:9876 ...
2
votes
1answer
36 views

Signing transactions manually without eosjs-ecc

So because I'm doing things from c++, I don't have access to eosjs-ecc. Assuming that I have successfully packed the transactions (using fcbuffer, packed the action data using the ABI), which I've ...
1
vote
1answer
24 views

Where are my wallets created with cleos wallet create + eosio in docker?

Following learn-about-wallets-keys-and-accounts tutorial in eos website I created my default wallet running: cleos wallet create And according to the tutorial my wallet should be in ~/eosio-wallet, ...
5
votes
1answer
23 views

Is it possible for a smart contract to deploy another?

Is there a command for a smart contract to deploy another? As an example, is it possible to create a token factory, where users can select the name/total supply, and be given ownership of a new ...
2
votes
1answer
35 views

Stacking EOS on Block Producers Account

I was verifying the amount of EOS staked by BPs. After going through a number of them its seems they have not staked most of their EOS to the NET. https://eosflare.io/account/starteosiobp https://...
3
votes
1answer
45 views

What's the difference between “time” and “time_point_sec”?

Seems that they are both datatype for storing number of seconds that have elapsed since 1970. So what's the difference between them, when should I use which? Edit: An example of the "time" datatype I'...
0
votes
0answers
15 views

Compiling eos software to get dlls

how can i compile eos software on linux/windows to get dlls i need in order to create eos wrapper for compile, deploy etc from other programming language such as Java, C# etc? Cheers
4
votes
1answer
47 views

How to convert asset to string in a contract?

How to convert asset to string in a contract? asset my_asset = asset(10000, S(4, EOS)); string my_asset_string = ??? //How to convert my_asset to a string "1.0000 EOS"?
2
votes
1answer
31 views

What is Block ID (from cleos get info)?

I get this - cleos get block 490684 { "timestamp": "2018-08-11T13:36:20.000", "producer": "eosio", "confirmed": 0, "previous": "...
3
votes
1answer
41 views

What's the relationship between eosio-abigen and eosiocpp?

I am running stable version v1.1.2 After running eosio_build.sh, there are one eosio-abigen executable which locate at /build/programs/ and another one is eosiocpp which locate at /build/tools ...

15 30 50 per page