Hot answers tagged

9 votes
Accepted

Nodeos failing to launch?

The account history plugin has changed the name to history_api_plugin - use this one instead of what you currently have
Leo Ribeiro's user avatar
  • 3,023
8 votes
Accepted

How can I find out the API endpoint for a block producer

You can find the api endpoint for any BP by querying their bp.json file. The bp.json file has information about the BP publishing it, and among other things it has a key called api_endpoint which is ...
Vlad's user avatar
  • 885
7 votes

Why does eos produce continuous blocks?

Blocks always need to be produced due to there always being the potential for an action to be sent to the chain. If blocks are not produced, that action would then have additional latency added to it ...
Nat's user avatar
  • 3,425
6 votes

How to configure block producer to have front-end and back-end cluster nodes

Please feel free to edit this question for any fix or enhancement. Your contribution is valuable especially that EOS and its resources are frequently updated and this answer will need to be ...
Muhammad Altabba's user avatar
6 votes

What is the typical RAM size of smart contract?

For some examples, you can check the sizes of the wasm files in EOSIO contracts (sizes are approximate): $ ls -l eos/build/contracts/* | grep wasm | awk 'BEGIN {print "SIZE \t NAME"} {sum+= $5; n++; ...
confused00's user avatar
  • 5,554
6 votes

how to create private network same as mainnet?

There is an article in the documentation detailing how you can setup and run a network with multiple producers, voting, and resource consumption. Excerpt: In this tutorial, we will start a number ...
confused00's user avatar
  • 5,554
5 votes
Accepted

What's the difference between bnet-endpoint and p2p-listen-endpoint in v1.0.0 config.ini?

Both net_plugin and bnet_plugin are responsible of to the Peer-to-Peer network. The P2P network is the network that is between the Block Producers. However, net_plugin is the old plugin for the P2P ...
Muhammad Altabba's user avatar
5 votes

Error 3070003: Serialization Error Processing WASM

I solved it. The problem was that I was using .wast and you can no longer use .wast you have to use .wasm
JustinZ's user avatar
  • 295
5 votes
Accepted

Where can I download a copy of Mainnet Blocks?

From a paid standby block producer: https://eosnode.tools/blocks The eosnode.tools is now discontinued. Try https://snapshots.eosnation.io/.
jgiszczak's user avatar
5 votes
Accepted

Returning values from actions

Can you call the below to activate ACTION_RETURN_VALUE cleos push action eosio activate '["c3a6138c5061cf291310887c0b5c71fcaffeab90d5deb50d3b9e687cead45071"]' It looks like you called ...
Deck's user avatar
  • 131
4 votes
Accepted

What is the standard EOS.IO development environment (IDE, OS, etc)?

You can try CLion which is not free, but I found it very useful. You can use any other C++ IDE like Code::Blocks. The important part is that EOSIO is using CMake to build the project (it's like Maven ...
Danail's user avatar
  • 536
4 votes
Accepted

How to stop nodeos from generating a message every block

You can run nodeos in the background. (add '&' at the end of command line) $ nodeos & And if you don't want to see messages from nodeos, then use following command. $ nohup nodeos > /dev/...
DongJin Seo's user avatar
4 votes
Accepted

How do I configure the Chain ID of a new EOS Chain?

chain_id is a hash of the fields in genesis.json. Change any field to get a different id.
Todd Fleming's user avatar
  • 2,005
4 votes
Accepted

How do I cleanly shut down NodeOS?

pkill nodeos or just kill <PID> where pid is nodeos's pid. basically do not do: kill -9 <PID>
Vlad's user avatar
  • 885
4 votes

How to get all the actions of one account?

I don't know if they are doing that, but what you could do is create a program that reads all blocks from start_block var: Read block start_block Check if this block has transactions If yes, save the ...
Leo Ribeiro's user avatar
  • 3,023
4 votes
Accepted

What is a fork database?

From the code: /** * @class fork_database * @brief manages light-weight state for all potential unconfirmed forks * * As new blocks are received, they are pushed into the fork ...
confused00's user avatar
  • 5,554
4 votes

Is there any IDE for eos smart contract?

Yes there is IDE for eosio you can try to this IDE https://www.eosstudio.io/
Mr.Y's user avatar
  • 957
4 votes

Where to find v1.8 compatible snapshots?

You can use these 2 sites. I personally used the eossweden one http://snapshots.eossweden.org/ https://snapshots.eosnation.io/
silvercondor's user avatar
3 votes
Accepted

how to list the schedule for active BPs?

This can be done in 2 steps: 1. Find the latest block This can be done using the get_info() end-point. Example: $ curl http://publicapi-mainnet.eosauthority.com/v1/chain/get_info and save ...
confused00's user avatar
  • 5,554
3 votes
Accepted

How can I sync my nodeos with a Mainnet or Testnet?

Each network has a genesis.json file. Start nodeos with that file and with --p2p-peer-address set to 1 or more nodes on that network.
Todd Fleming's user avatar
  • 2,005
3 votes
Accepted

Address already in use when launching nodeos

The issue is that the port required by nodeos, port 8888 by default, is already being used by another running process. It's likely that you're running a keosd process, from starting a previous ...
Tyler J Kuhn's user avatar
3 votes

Get balance by address

Query your account name by publick key cleos -u https://mainnet.meet.one get accounts *publick_key* Query your balance by account name cleos -u https://mainnet.meet.one get currency balance eosio....
wuyahuang's user avatar
3 votes

Get balance by address

To get transaction history, you need to hit a node that has that filter installed (otherwise you'll get back an empty array). Here's a working curl request (replace accountnamehere with a real account ...
Ira Herman's user avatar
3 votes

How to deploy a contract to testnet?

Here's an example of how to deploy to a testnet (assuming you've already set up the wallet and accounts). In this example we'll deploy the hello contract to the helloworld54 account on the CryptoKylin ...
Miguel Mota's user avatar
3 votes

Can EOS be run with one node?

Yes, one BP is enough. $ nodeos --producer-name eosio --enable-stale-production should be enough to start producing blocks on a chain with one node.
confused00's user avatar
  • 5,554
3 votes
Accepted

nodeos command not found

I found the solution thanks to https://github.com/EOSIO/eos/issues/4771 answer Binaries are installed to /usr/local/eosio/bin in the 1.1 release. You'll need to add that path to your PATH environment ...
wandos's user avatar
  • 221
3 votes
Accepted

EOSFactory Testnet Error

This looks like a consequence of the incompatibility between EOSIO v.1.1.x and EOSFactory v1.1. EOSFactory v1.1 is compatible only with EOSIO v1.0.8 and v1.0.9, not higher (the assumptions made in the ...
Jakub - TOKENIKA's user avatar
3 votes
Accepted

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

Putting @confused00 's comment and mine together: Question 1: All accounts are unique in one EOS.IO chain (like the mainnet). That is why there are also things like name bidding. This is quite well ...
tmm's user avatar
  • 2,114
3 votes

Fewer than 21 producers for custom EOS blockchain?

You need to use the launcher program. Look for the parameter named: --pnodes This is the parameter that determines the number of block producing nodes in your eosio compatible blockchain. You ...
Ami Heines's user avatar
  • 1,686
3 votes
Accepted

What is the best way of storing data on EOS blockchain?

A good way would be to use the demux-js library. It listens for specified actions and allows updating logic for whatever kind of database you like. This is a RAM free option which essentially allows ...
Nat's user avatar
  • 3,425

Only top scored, non community-wiki answers of a minimum length are eligible