Run a node without docker

This requires running 4 processes simultaneously but is far more efficient for your system as it doesn't require the docker engine.

Login to Linux or Unix

Clone the repo

git clone https://github.com/Decentralized-Pictures/T4L3NT.git

Update your system refs

sudo apt-get update

Install some deps (copy all of the below as once cmd)

sudo apt-get install -y build-essential autoconf git m4 unzip rsync curl libev-dev libgmp-dev pkg-config libhidapi-dev libffi-dev zlib1g-dev wget libcap2

Then instal rust

wget https://sh.rustup.rs/rustup-init.sh && chmod +x rustup-init.sh && ./rustup-init.sh --profile minimal --default-toolchain 1.44.0 -y

Install opam

wget https://raw.githubusercontent.com/ocaml/opam/master/shell/install.sh && chmod +x install.sh && ./install.sh --download-only --version 2.0.9

Then do

export PATH="${HOME}/.cargo/bin:${PATH}"

If x86 machine do

mv opam-2.0.9-x86_64-linux /usr/local/bin/opam

If arm64 do

mv opam-2.0.9-arm64-linux /usr/local/bin/opam

Edit the permissions to execute

sudo chmod 0755 /usr/local/bin/opam

Initialize Opam

opam init --bare --disable-sandboxing

Make and build

make build-deps

Then

eval $(opam env) && make

start screen or tmux session for easier use

Start the node

./tlnt-node run --rpc-addr 127.0.0.1

Rolling node (less disk space required) use flag --history-mode rolling

Like this:

./tlnt-node run --rpc-addr 127.0.0.1 --history-mode rolling

Start the baker

./tlnt-baker-012-Psithaca run with local node ~/.tlnt-node producer

Start the endorser

./tlnt-endorser-012-Psithaca run producer

Start the accuser

./tlnt-accuser-012-Psithaca run

Done

Wait.

do

sudo apt-get install figlet

then

figlet 'i heart dcp =)'

Last updated