The bios-boot-tutorial.py
script simulates the bios boot sequence.
Prerequisites
:
- Python 3.x
- CMake
- git
- g++
- build-essentials
- pip3
- openssl
- curl
- jq
- psmisc
Steps
:
-
Install mandel binaries by following the steps outlined in below tutorial Install mandel binaries.
-
Install mandel.cdt version 1.8.1 binaries by following the steps outlined in below tutorial Install mandel.cdt binaries.
-
Compile
mandel-contracts
version 3.0.x
$ cd ~
$ git clone https://github.com/eosnetworkfoundation/mandel-contracts mandel.contracts-3.0.x
$ cd ./mandel.contracts-3.0.x/
$ git checkout release/3.0.x
$ ./build.sh
$ cd ./build/contracts/
$ 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
CONTRACTS_DIRECTORY
-
Launch the
bios-boot-tutorial.py
script. The command line to launch the script, make sure you replaceCONTRACTS_DIRECTORY
with the actual directory path.
$ cd ~
$ git clone https://github.com/eosnetworkfoundation/mandel
$ cd ./mandel/tutorials/bios-boot-tutorial/
$ python3 bios-boot-tutorial.py --cleos=cleos --nodeos=nodeos --keosd=keosd --contracts-dir="CONTRACTS_DIRECTORY" -w -a
See Developer Portal: Bios Boot Sequence for additional information.