The bios-boot-tutorial.py
script simulates the EOSIO bios boot sequence.
- Python 3.x
- CMake
- git
-
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 sources repository by following the compile eosio.contracts guidelines first part, the deploying steps from those guidelines should not be executed.
-
Make note of the full path of the directory where the contracts were compiled, if you followed the compile eosio.contracts guidelines it should be under the
build
folder, inbuild/contracts/
, we'll reference it from now on asEOSIO_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 --nodeos=nodeos --keosd=keosd --contracts-dir="EOSIO_CONTRACTS_DIRECTORY" -w -a
See EOSIO Documentation Wiki: Tutorial - Bios Boot for additional information.