Stack Exchange Network

Stack Exchange network consists of 174 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
Join us in building a kind, collaborative learning community via our updated Code of Conduct.

Questions relating to the official eosio code--for instance, this may include questions about particular functions or data structures, certain files or contracts, compilation or building problems, related libraries, scripts, binaries, or similar.

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 ...
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
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 ...
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?
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
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 ...
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
3
votes
1answer
47 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/...
0
votes
0answers
15 views

Action firing eosio_assert of another action

I'm not really familiar with leaks or overflows but I've been getting an intermittent bug in my smart contract on the Jungle testnet that is hard to pinpoint. An action, let's call it action A has ...
2
votes
1answer
45 views

Issue while compiling contract using eosiocpp

I am facing an issue while compiling the token contract. cd eos/contract/eosio.token eosiocpp -o eosio.token.wast eosio.token.cpp But it shows the following response, eosiocpp: command ...
3
votes
3answers
216 views

Can not find <eosiolib/eosio.hpp> when compiling with eosiocpp #2

I'm trying to compile any smart contract. Let's say the skeleton one. When running eosiocpp -o it can't find the header file for eosio. Not a duplicate of Can not find <eosiolib/eosio.hpp> when ...
3
votes
1answer
46 views

Retrieving from Log Storage vs. RAM

I'm quite new to EOS. As far as I know, some of the output from smart contracts are also stored in the Log Storage. At the same time, I can also choose to store those outputs in RAM. My questions ...
1
vote
1answer
31 views

Split Smart Contracts or not?

Is it computationally more heavy to put all functions into one smart contract, even though you only call one function at a time? Or is it better to split all functions into individual smart contracts?
3
votes
2answers
24 views

Commented owner/active parameters in the newaccount smart contract

In contracts/eosio.system/eosio.system.cpp, the following function has the owner and active authority parameters commented: void native::newaccount( account_name creator, ...
0
votes
1answer
31 views

Getting “ 404 - not found: /v1//wallet/create” while creating a wallet using http async request

I have build EOS locally on ubuntu 17.10 using autobuild script using (./eosio_build.sh). and then installed the executables using 1. $ cd build 2. $ sudo make install I've started keosd using the ...
1
vote
1answer
33 views

Is an account and a smart contract the same?

Essentially both have hash as an address and allows for execution of actions but are the actually the same thing?
0
votes
2answers
252 views

Require inline action be sent by contract, and not account

I have contractB trigger an inline action: /// @abi action void send() { action( permission_level{ _self, N(active) }, N(contractA), N(get), std::make_tuple( _self ) ...
2
votes
1answer
66 views

Sending transaction from a Windows application

I want to send a transaction to EOS blockchain from my windows application. What library do I have to put into the windows application? And what are the preparations? Thanks
1
vote
1answer
57 views

How to get current RAM price inside a contract in C++?

How can I programatically get the current(last) RAM price inside an EOS smart contract in C++? I need to handle the data inside the smart contract for an experiment.
2
votes
2answers
60 views

I can not find a definition for require_auth2, what does this do and how?

require_auth2 is used in action.hpp's require_auth. void require_auth(const permission_level& level) { require_auth2( level.actor, level.permission ); } require_auth2 is declared in action.h....