Author

Topic: Building chainweb-node from source code on ubuntu 18.04 (Read 67 times)

sr. member
Activity: 333
Merit: 250
Kadena was founded on the idea that blockchain could revolutionize how the world interacts and transacts. More info on https://kadena.io/
Kadena is a fast, secure, and scalable blockchain using the Chainweb consensus protocol. Chainweb is a braided, parallelized Proof Of Work consensus mechanism that improves throughput and scalability in executing transactions on the blockchain while maintaining the security and integrity found in Bitcoin.
Now let's build chainweb-node on ubuntu.
Prepare build system:
Code:
sudo apt-get update
sudo apt-get install git
sudo apt-get install haskell-stack
sudo apt-get install screen
required dependencies
Code:
sudo apt-get install -y librocksdb-dev zlib1g-dev libtinfo-dev libsqlite3-dev libz3-dev 

Download and unpack chainweb-node from git
Code:
git clone https://github.com/kadena-io/chainweb-node
Building with Stack
Code:
haskell-stack
stack build
screen –dms anyname stack exec -- chainweb-node
Additional notes:
1. stack version
Code:
stack upgrade
cp /root/.local/bin/stack /usr/bin
stack –-version
make sure stack >= 1.9
2. hashes-0.1.0.1 version
nano stack.yaml
Code:
- hashes-0.1.0.1
Jump to: