Infrastructure of blockchain.Now we just support EOS.
Host | Type | Ipaddress | Port |
---|---|---|---|
eos0 | BIOS | 103.235.232.27 | 9876 |
eos1 | BP Host | 103.235.232.21 | 9700~9714 |
eos2 | BP Host | 103.235.232.43 | 9700~9714 |
You need configure the "datadir" and "configdir" in config.ini before execute below steps.
python setp2paddress.py
python main.py startbios
python main.py createsystemaccount
python main.py createwallet
python main.py importbiosprivatekey
You can check the output of nodeos like this:
python setp2paddress.py
python main.py startnode
python main.py createwallet
python main.py importbpprivatekey
For our example instance, we have a agent.sh
./agent.sh 15
It will generate the hostname in a random way. Also producer name is the container hostname.
The output like this:
Remeber: bios contract,token contract and system contract must been deplied into bios node
python main.py setbioscontract
You should copy "accounts.conf" to biosnode's "accounts.conf" for these following steps
python main.py createbpaccount
python main.py setprods
python main.py settokencontract
python main.py createtoken
python main.py issuetoken
# python main.py setsystemcontract
On BP host
./regproducer.sh
# ./createvoter.sh
# python createvoterbysystem.py
# python main.py createaccountbysystem
# python transfer.py
# python main.py currencytransfer
# python delegateandvoter.py
# python voter.py
Now, You can have a check that the bp as your voting. Sorry for the only voter in this example instance