Skip to content

Latest commit

 

History

History

bios-boot-tutorial

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Bios Boot Tutorial

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

Prerequisites:

  1. Python 3.x
  2. CMake
  3. git
  4. g++
  5. build-essentials
  6. pip3
  7. openssl
  8. curl
  9. jq
  10. psmisc

Steps:

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

  2. Install mandel.cdt version 1.8.1 binaries by following the steps outlined in below tutorial Install mandel.cdt binaries.

  3. 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
  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 CONTRACTS_DIRECTORY

  2. Launch the bios-boot-tutorial.py script. The command line to launch the script, make sure you replace CONTRACTS_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.