Random Number Generator (RNG)
Other Documentation
Configuration of bos-auto

Configuration of bos-auto

Warning: At this point it's crucial to set the default witness node to your own server (ideally running inlocalhost, see below config.yaml) using peerplays set node ws://ip:port. If this step is skipped the setup will not work, or at best will work with very high latency.

Setup Your python-peerplays Wallet

1
# you will be asked to provide a new wallet passphrase. Later in the
2
# tutorial you will be asked to store that password in a file
3
# (config.yaml)
4
peerplays createwallet
5
6
# to add the key we need to make the node known (preferably on localhost)
7
peerplays set node ws://localhost:8090
8
9
peerplays addkey
10
# You will be prompted to enter your active private key for the witness
Copied!

Funding the Account

Since your Witness account is going to create and approve proposals automatically, you need to ensure that the Witness account is funded with PPY.

Modify Configuration

We now need to configure bos-auto:
1
wget https://raw.githubusercontent.com/peerplays-network/bos-auto/master/config-example.yaml
2
mv config-example.yaml config.yaml
3
# modify config.yaml
Copied!
The variables are described below:
The following options need to be set:
node: ws://localhost:8090. If not running a local installation then change this to any Testnet (Beatrice) API node.
network: beatrice. Only change if you're not using this Testnet.
Important: Make sure you set a Redis password during the Redis installation.
1
# Please see bos_auto/config-defaults.yaml for description
2
3
node: ws://localhost:8090
4
5
network: beatrice
6
7
redis_password: <your redis password>
8
9
passphrase: <your python peerplays wallet password>
10
11
BOOKIE_PROPOSER: <your witness account name>
12
13
BOOKIE_APPROVER: <your witness account name>
Copied!
Export as PDF
Copy link