Installs and runs a witnet protocol full node in the latest testnet in just a matter of seconds
500K+
witnet-rust is an open source implementation of the Witnet Decentralized Oracle Network protocol written in Rust. The source code for witnet-rust is available on the GitHub repository.
This docker image downloads and runs a witnet-rust node in the latest testnet in just a matter on seconds.
Starting a node is as easy as it gets:
docker run -d \
--volume ~/.witnet:/.witnet \
--name witnet_node \
--publish 21337:21337 \
witnet/witnet-rust
Then, you can run CLI commands on the running node with this simple one-liner. In this example, it will show many "nanowits" your node has mined so far:
docker exec witnet_node witnet node balance
Debug mode shows more info on what is happening under the hood. It is activated with the --debug flag in the right place:
docker run \
--volume ~/.witnet:/.witnet \
--name witnet_node \
--publish 21337:21337 \
witnet/witnet-rust --debug node server
Passing the RUST_LOG=witnet=debug environment flag does the same:
docker run \
--volume ~/.witnet:/.witnet \
--name witnet_node \
--publish 21337:21337 \
-e RUST_LOG=witnet=debug \
witnet/witnet-rust node server
Content type
Image
Digest
sha256:f6f6c6c79…
Size
91.2 MB
Last updated
4 months ago
docker pull witnet/witnet-rust