diff --git a/client/README.md b/client/README.md index f6751b0e..6559917c 100644 --- a/client/README.md +++ b/client/README.md @@ -17,4 +17,4 @@ Includes > encointer-client 127.0.0.1:9979 sign_claim 5EqvwjCA8mH6x9gWbSmcQhxDkYHJcUfwjaHHn9q1hBrKLL65 7af690ced4cd1e84a857d047b4fc93f3b4801f9a94c9a4d568a01bc435f5bae903000000000000000000000003000000 ``` -Find a full ceremony cycle demo [here](./demo_poc1.sh) +Find a full ceremony cycle demo [here](./bootstrap_demo_community.py) diff --git a/client/bootstrap_demo_community.py b/client/bootstrap_demo_community.py old mode 100644 new mode 100755 index d8259c97..413c74d0 --- a/client/bootstrap_demo_community.py +++ b/client/bootstrap_demo_community.py @@ -1,4 +1,15 @@ #!/usr/bin/env python3 +""" +Demonstrate the bootstrapping of an Encointer community on a *dev* chain. + +start node with + ../target/release/encointer-node-notee --dev --tmp --ws-port 9945 --enable-offchain-indexing true + +then run this script + ./bootstrap_demo_community.py --port 9945 + +""" + import argparse import json diff --git a/client/bot-community.py b/client/bot-community.py index dbd093c0..76348b5d 100755 --- a/client/bot-community.py +++ b/client/bot-community.py @@ -1,4 +1,22 @@ #!/usr/bin/env python3 +""" +Bootstrap and grow Encointer BOT communities on a *dev* chain or testnet + +you may need to install a few packages first + pip3 install --upgrade pip + pip3 install randomwords geojson pyproj + +then start a node with + ../target/release/encointer-node-notee --dev --tmp --ws-port 9945 --enable-offchain-indexing true + +and init and grow a community + ./bot-community.py --port 9945 init + ./bot-community.py --port 9945 benchmark + +on testnet Gesell, run this script once per ceremony phase (after calling `init` first) + ./bot-community.py --port 9945 run + +""" import argparse import geojson diff --git a/scripts/init.sh b/scripts/init.sh index f976f723..8b6cae18 100755 --- a/scripts/init.sh +++ b/scripts/init.sh @@ -9,4 +9,5 @@ if [ -z $CI_PROJECT_NAME ] ; then rustup update stable fi +rustup target add wasm32-unknown-unknown --toolchain stable rustup target add wasm32-unknown-unknown --toolchain nightly