Skip to content

Latest commit

 

History

History
44 lines (30 loc) · 1.41 KB

File metadata and controls

44 lines (30 loc) · 1.41 KB

Bios Boot Tutorial

The bios-boot-tutorial.py script simulates the EOSIO bios boot sequence.

Prerequisites:

  1. Python 3.x
  2. CMake
  3. git

Steps:

  1. Install eosio binaries by following the steps outlined in below tutorial Install eosio binaries

  2. Install eosio.cdt binaries by following the steps outlined in below tutorial Install eosio.cdt binaries

  3. Compile eosio.contracts

$ cd ~
$ git clone https://github.com/EOSIO/eosio.contracts.git
$ cd ./eosio.contracts/
$ ./build.sh
$ pwd
  1. Make note of the directory where the contracts were compiled The last command in the previous step printed on the bash console the contracts' directory, make note of it, we'll reference it from now on as EOSIO_CONTRACTS_DIRECTORY

  2. Launch the bios-boot-tutorial.py script Minimal command line to launch the script below, make sure you replace EOSIO_CONTRACTS_DIRECTORY with actual directory

$ cd ~
$ git clone https://github.com/EOSIO/eos.git
$ cd ./eos/tutorials/bios-boot-tutorial/
$ python3 bios-boot-tutorial.py --cleos="cleos --wallet-url http://127.0.0.1:6666 " --nodeos=nodeos --keosd=keosd --contracts-dir="/EOSIO_CONTRACTS_DIRECTORY/" -a

See EOSIO Documentation Wiki: Tutorial - Bios Boot for additional information.