EOS Nodeos & Cleos Setup

Welcome to the discussion thread about this lecture section. Here you can feel free to discuss the topic at hand and ask questions.

Hi,
Concerning the account creation process - I’m getting stuck!

When running the “cleos create account eosio …” command, ensuring that everything else is on order, I get the following:
Error 3090003: Provided keys, permissions, and delays do not satisfy declared authorizations
Ensure that you have the related private keys inside your wallet and your wallet is unlocked.
Error Details:
transaction declares authority ‘${auth}’, but does not have signatures for it.

Wallet is opened and unlocked. Key exists as it was generated using “cleos create key --to-console”.
Answers on the web does not seem to help, as their case have the ${auth} replaced by something else…

Do you have any idea?

System info : running on Ubuntu 19.04

That’s my bad. So sorry. I forgot to add an important step in the video. I have edited the lecture now and added that. What you need to do is to add the key for the eosio account. Which is a standard key that exists within EOS that everyone needs to have in their wallet in order to be able to do stuff on behalf of the “admin” account (eosio).

This is what you need to do. Run: cleos wallet import. It will query you for a key, enter the following key.

5KQwrPbwdL6PhXujxW37FSSQZ1JiwsST4cqQzDeyXtP79zkvFD3

Then you should be able to create an account

Tips for Windows users, has fillip says, no windows clients are ready, so VM or dual boot is an option.
BUT, if u dont have a IT background or computer knowledge skills, lets keep it simple.

  • FOR WINDOWS, better use a VM (Virtual-Machine), dual boot its more complicate to configure than a VM.
  • FOR VM can use: virtual box, VM Workstation.
  • Download ubuntu ISO file here.
  • Go to youtube and search videos on how to install ubuntu on a VM (depending on what software ur going to use), tons of video tutorials on how to install and get ubuntu running properly on a VM in windows.

Would be nice if you do some kind of simple instructions on this chapter in the academy website for tech newbies teacher!.

Little trick to deal with big line command to start Nodeos.

in ubuntu terminal, after properly apt-get update and upgrade.

Install nano if dont have it.

sudo apt-get install nano

Navigate to your contract folder.
Run command:

sudo nano nodeos_start

inside black interface of nano, copy/paste this:

nodeos -e -p eosio --plugin eosio::producer_plugin --plugin eosio::chain_api_plugin --plugin eosio::http_plugin --plugin eosio::history_plugin --plugin eosio::history_api_plugin --access-control-allow-origin='*' --contracts-console --http-validate-host=false >> nodeos.log 2>&1 & 
echo "Nodeos started, check status on 'tail -f nodeos.log'"
echo " "
echo "IMPORTANT: Remember to close proprely with command 'pkill nodeos'"

Ctrl+S to save on nano.
Ctrl+X to leave nano editor.

Run Command to make nodeos_start file executable:

sudo chmod +x nodeos_start

Start command by:

./nodeos_start

PD: you must be inside contracts folder to run the start file.

WHY THIS?: im not going to re run that big nodeos command everytime i need to boot it… now i just use my “nodeos_start” script file to made easy that boot process.
Hope it works for someone. (i know can be improved, fillip you can take what ever i post here if u like an idea or something).

Thanks for sharing! Good advice indeed :slight_smile: