| order | 3 |
|---|
Dashmate is a part of the Dash Platform and provides a comprehensive solution for installing the entire platform. We highly recommend using Dashmate for a seamless and straightforward installation process.
For detailed instructions on how to set up a node using Dashmate, please refer to the official Dash documentation: Set Up a Node.
To download pre-built binaries, see the releases page.
Install official go into the standard location with standard PATH updates:
curl https://webinstall.dev/go | sh
source ~/.config/envman/PATH.envInstall git, cmake, and build-essential (apt) or build-base (apk) and other libs.
For Debian-based (eg. Ubuntu):
sudo apt update
sudo apt install -y git build-essential cmake libgmp-devFor Alpine Linux:
apk add --no-cache git build-base cmake gmp-dev gmp-staticGet the source code:
git clone https://github.com/dashpay/tenderdash.git
pushd ./tenderdash/
git submodule init
git submodule updateThe default master branch tracks the latest stable release.
Build:
to put the binary in $GOPATH/bin:
make installto put the binary in ./build:
make buildThe latest Tenderdash is now installed. You can verify the installation by running:
tendermint versionTo cross-compile for ARM platform, you need to install required compilers. On Ubuntu 20.04+:
sudo apt-get install gcc-10-arm-linux-gnueabi g++-10-arm-linux-gnueabiTo start the build process, execute:
GOOS=linux GOARCH=arm makeTo start a one-node blockchain with a simple in-process application:
tendermint init validator
tendermint start --proxy-app=kvstoreIf you already have Tenderdash installed, and you make updates, simply
make installTo upgrade, run:
git pull origin master
make installInstall LevelDB (minimum version is 1.7).
Install LevelDB with snappy (optionally). Below are commands for Ubuntu:
sudo apt-get update
sudo apt install build-essential
sudo apt-get install libsnappy-dev
wget https://github.com/google/leveldb/archive/v1.20.tar.gz && \
tar -zxvf v1.20.tar.gz && \
cd leveldb-1.20/ && \
make && \
sudo cp -r out-static/lib* out-shared/lib* /usr/local/lib/ && \
cd include/ && \
sudo cp -r leveldb /usr/local/include/ && \
sudo ldconfig && \
rm -f v1.20.tar.gzSet a database backend to cleveldb:
# config/config.toml
db_backend = "cleveldb"To install Tenderdash, run:
CGO_LDFLAGS="-lsnappy" make install TENDERMINT_BUILD_OPTIONS=cleveldbor run:
CGO_LDFLAGS="-lsnappy" make build TENDERMINT_BUILD_OPTIONS=cleveldbwhich puts the binary in ./build.