You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tuweni.apache.org by hu...@apache.org on 2021/05/04 10:08:00 UTC

[incubator-tuweni-website] 25/25: Add a bit of information about the tuweni app

This is an automated email from the ASF dual-hosted git repository.

humbedooh pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-tuweni-website.git

commit 27d2c06264735882cc5d03f394ba13d191aed0e8
Author: Antoine Toulme <an...@lunar-ocean.com>
AuthorDate: Tue Jan 5 23:09:35 2021 -0800

    Add a bit of information about the tuweni app
---
 tutorials/apps/tuweni.md | 56 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 56 insertions(+)

diff --git a/tutorials/apps/tuweni.md b/tutorials/apps/tuweni.md
new file mode 100644
index 0000000..5e6e6ee
--- /dev/null
+++ b/tutorials/apps/tuweni.md
@@ -0,0 +1,56 @@
+---
+layout: tutorial
+title: Tuweni Application
+description: Tuweni Application
+group: nav-right
+previous: index.md
+categories: [applications]
+---
+
+The `tuweni` application is an Ethereum client that can run multiple chains and multiple discovery mechanisms.
+
+`tuweni` can sync multiple chains at once. It also has a web UI.
+
+NOTE: everything at this point is at best a prototype. This may change at any time.
+
+Usage:
+
+{%highlight bash %}
+Apache Tuweni client loading
+Usage: <main class> [-h] [-c=<configPath>] [-w=<web>]
+  -c, --config=<configPath>
+                    Configuration file.
+  -h, --help        Prints usage prompt
+  -w, --web=<web>   Web console host:port
+{%endhighlight%}
+
+Most of the action happens in the configuration file, written with TOML.
+
+Example with one chain:
+
+{%highlight toml %}
+[storage.default]
+path="data"
+genesis="default"
+[genesis.default]
+path=default.json
+{%endhighlight%}
+
+The `default.json` file is your usual genesis configuration file.
+
+Example with two chains:
+
+Example with one chain:
+
+{%highlight toml %}
+[storage.foo]
+path="data"
+genesis="foo"
+[genesis.foo]
+path=default.json
+[storage.bar]
+path="data"
+genesis="bar"
+[genesis.bar]
+path=other.json
+{%endhighlight%}

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@tuweni.apache.org
For additional commands, e-mail: commits-help@tuweni.apache.org