Install TinyChain
Install the TinyChain host software
Client
Most users will only need to run the TinyChain Python client, not a TinyChain host. See the Python client introduction for instructions to install the client.
Host
Easy install
The quick and easy way to get TinyChain up and running to try it out is to use Docker:
You can check that your installation succeeded by loading http://127.0.0.1:8702/state/scalar/value/string?key="Hello, World!" in your browser.
Automatic install (Ubuntu)
An install script is provided for Ubuntu (only tested on Ubuntu 20.04):
Manual install
(optional) If you need CUDA support for GPU acceleration, first install CUDA 11 by following the instructions here: https://docs.nvidia.com/cuda/cuda-installation-guide-linux/index.html#ubuntu-installation. If you're not sure, skip this step.
Install cargo by following the instructions here: https://doc.rust-lang.org/cargo/getting-started/installation.html
Install TinyChain by running
cargo install tinychain
systemd configuration
To use TinyChain in production, you'll probably want to configure systemd so that TinyChain will automatically restart in the case of a crash or a host machine restart. You can find detailed instructions on how to configure a new service with systemd here. You can customize this example systemd config file for your use-case:
Last updated