- I recommend creating a seperate user account for this, only used for running a dev net.
- Must be on Ubuntu 18.04
- User will require sudo access for part of the install.
In the user's home directory clone the following four repositories, suggest using the Develop branch for each:
git clone https://github.com/fioprotocol/fio.devtools.git
git clone https://github.com/fioprotocol/fio.git
git clone https://github.com/fioprotocol/fio.cdt.git
git clone https://github.com/fioprotocol/fio.contracts.git
This can take a while, more cores and RAM help.
cd fio/scripts
./fio_build.sh
# the first time this will build the CDT, which can take a very long time....
./fio_install.sh
cd ~/fio.devtools
./start.sh 2.0
# from the prompts select 1 (Local Startup), then 2 (Update/Build Contracts)
This will launch 3 nodes, load contracts, setup a bunch of accounts, and register 3 producers:
./start.sh 2.0
# select 1 (Local Startup), then 1 (Local Blockchain)
see fio.devtools/scripts/launch/02_import_keys.sh
for keys
Be sure to checkout the develop branch on fio.devtools, fio, and fio.contracts repositories, might not work otherwise. Every once in a while, have to build contracts twice if it doesn't launch, pretty rare but if it happens be sure to use the Nuke All option in fio.devtools first.