The bios-boot-tutorial.py
script simulates the EOSIO bios boot sequence.
Prerequisites
:
- Python 3.x
- CMake
- git
Steps
:
-
Install eosio binaries by following the steps outlined in below tutorial Install eosio binaries
-
Install eosio.cdt binaries by following the steps outlined in below tutorial Install eosio.cdt binaries
-
Compile eosio.contracts
$ cd ~
$ git clone https://github.com/EOSIO/eosio.contracts.git
$ cd ./eosio.contracts/
$ ./build.sh
$ pwd
-
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
-
Launch the
bios-boot-tutorial.py
script Minimal command line to launch the script below, make sure you replaceEOSIO_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.