Encointer-node is the implementation of the encointer.org blockchain. Use this together with the mobile phone app encointer mobile app
The cli client is based on substrate-api-client The Trusted Execution version for Testnet Cantillon is on branch sgx-master based on substraTEE project.
Install Rust:
curl https://sh.rustup.rs -sSf | sh
Install required tools:
./scripts/init.sh
Build the node:
cargo build --release
You can start a development chain with:
export RUST_LOG=INFO,parity_ws=WARN,sc_basic_authorship=warn,aura=warn,encointer=debug
./target/release/encointer-node-notee --dev --enable-offchain-indexing true
Offchain-indexing is needed for the custom rpc communities_getAll
. If you don't want it, omit the flag.
--rpc-methods unsafe
is needed for the bazaar's business and offering aggregation rpcs.
Additional CLI usage options are available and may be shown by running ./target/release/encointer-node-notee --help
.
Join our testnet as a full node with
./target/release/encointer-node-notee --chain gesellv2SpecRaw.json --name giveyournodeaname
We currently have limited support for the polkadot-js apps UI. Encointer comes with a cli application instead that supports all interactions with the chain
encointer-node/client> cargo build --release
encointer-node/client> ../target/release/encointer-client-notee transfer //Alice 5GziKpBELV7fuYNy7quQfWGgVARn8onchS86azuPQkFj9nEZ 1000000
encointer-node/client> ../target/release/encointer-client-notee list_participant_registry
encointer-node/client> ../target/release/encointer-client-notee list_meetup_registry
encointer-node/client> ../target/release/encointer-client-notee list_witnesses_registry
encointer-node/client> ../target/release/encointer-client-notee --help
The master of ceremony can play fast-forward for demo purposes (ceremonies only happen ~monthly. not good for demos)
encointer-node/client> ./encointer-client-notee next_phase
To run a full demo (you may need to fix ports in the scripts if you change them):
encointer-node/client> ./bootstrap_demo_community.sh
Assuming a local node is running with default ports:
pip3 install random_word pyproj geojson
# in first terminal, do this to accelerate phase progress
./phase.py --idle-blocks 3
# in second terminal, launch faucet service
./faucet.py
# in third terminal, populate your bot community
./bot-community.py init
./bot-community.py benchmark
There is no fully featured UI yet, but you can use polkadot-js apps. This allows you to explore chain state but it doesn't support all types of extrinsic parameters needed. Use our CLI client instead.
The PoC1 Android App doesn't work with this release anymore, but you can watch progress at encointer-app