damianodamiano
  • Member for 3 years, 5 months
  • Last seen more than 1 year ago
  • Italia
How to solve fatal error: 'eosiolib/types.hpp' file not found #include <eosiolib/types.hpp>?
Accepted answer
2 votes

With eosiocpp everything works fine because types.hpp is defined in the directory ...\eos\contracts\eosiolib. In eosio.cdt in ...\eosio.cdt\libraries\eosiolib there is only types.h and not types.hpp ...

View answer
Can I use uint256_t in EOS smart contracts?
1 votes

According to the documentation, you can use the uint256_t type, for instance, as secondary index of a multi index table. Here you can find an example (is commented).

View answer
Example Smart Contract for Staking and Unstaking your own Token
Accepted answer
1 votes

You can find the contract used by eos for this purpose in the github repository. In this file you can find, for instance, the 72 hours delay defined as static constexpr time refund_delay = 3*24*3600;...

View answer
Preferred way to find a transaction's block
Accepted answer
1 votes

There is mongo_db_plugin now, as replacement for history plugin

View answer
How many keys can one have with an account? Active, Owner, and Claim?
Accepted answer
1 votes

Theoretically you can create as many key as you want and as many permission as you want. A single key pair can be related to multiple permission. Moreover you can specify a permission name and link ...

View answer
Accessing current transaction ID within a smart contract
Accepted answer
5 votes

There are two issue on github: this which refers to this. According to these two links, you cannot access directly the transaction id, but the id is a calculated value, so you can compute it in your ...

View answer
Is it possible to use a type other than uint64_t for a table primary key?
Accepted answer
5 votes

According to the official documentation you can find here: They are multi index tables because they support using multiple indexes on the data, the primary index type must be uint64_t and must be ...

View answer
Where to find wallet password after running "cleos create wallet --file"
0 votes

In order to create a wallet password using --file you have also to provide the output filename which will contain the password... Like this: cleos wallet create --name testwallet --file mytest.txt. ...

View answer
What is the most noob-friendly && up to date tutorial for testing smart contracts
0 votes

The official giude says that you should install eos from docker. Another way to install it (the way i use), is to clone the repository from github with the flag --recursive and then build it using ...

View answer
Can I delete ~/.local/share/eosio/nodeos/data folder?
Accepted answer
1 votes

The content of the folder is tipically composed by two folders, blocks and state. If you delete both of these folders, you will lose your test blockchain you have run on your local pc. Yes you can ...

View answer
Where does the most active EOS community reside? IRC? Telegram? Slack?
0 votes

There are a lot of telegram channel about eos and future development. For instance: https://t.me/eosrex for eos REX https://t.me/eoscanada eos Canada https://t.me/eoslynx eos Lynx https://t.me/...

View answer
Do you need to pay any type of fees to send tokens?
Accepted answer
1 votes

To send the tokens back, the receiver account must have some EOS. This because he needs to stake some of them in order to be able to send a transaction (to call an action) to send the tokens back to ...

View answer
What plugins do I need enabled to run a Fullnode?
1 votes

It depends if you want to run also a producing node and if you want that your node can accept requests. So: plugin = eosio::producer_plugin # if you want a producing node plugin = eosio::...

View answer
What is cleos? Is it the main eos wallet like how bitcoin core is to bitcoin?
0 votes

Let's see the definitions of the two softwares. From eos developers guide: cleos is a command line tool that interfaces with the REST API exposed by nodeos. From wikipedia (the best description i ...

View answer
Why do EOS accounts have to be 12 characters?
0 votes

According to this, the 12 char limit is chosed to have better performances (i don't know how, for instance, using a 24 char name can inpact on performances...). To check the accounts already created ...

View answer
Confused about active and owner type accounts. What's a good example for a lay person to understand?
0 votes

When you create an account, for instance using cleos, you need to provide two keys: active and owner. The syntax is the following: cleos create account [OPTIONS] creator name OwnerKey [ActiveKey] ...

View answer
Compiled modified cleos
Accepted answer
1 votes

I've opened an issue on github and a developer answered me with this: Just run make or make -j8 in your build directory. CMake generates Makefiles which do dependency checking. If you have modified ...

View answer
How does EOS integrate WASM?
Accepted answer
1 votes

Smart contract in EOS are developed in C++, then compiled into wasm code using eosiocpp (or eosio-cpp) and uploaded to the blockchain using cleos set contract. Why wasm? Read this post, basically for ...

View answer
What gambling type dapps have been created for EOS?
1 votes

You can see a complete list of eos dApp on DappRadar. There are several categories including gambling.

View answer
How big is the EOS blockchain? Does it grow much faster compared to others due to the short blocktimes?
Accepted answer
1 votes

You can download a snapshot of the blockchain form here, untar it and check the size.

View answer
How to check version of EOS on local machine
4 votes

Both of previous answers are valid. Another alternative, a little bit more tricky, is this one: in you output you have, as first row "server_version": "bf28f8bb". This is the hash of the commit of ...

View answer