rsnano-node
rsnano-node copied to clipboard
RsNano is a Rust port of nano-node
What is RsNano?
RsNano is a Rust port of the original Nano node.
Links & Resources
Installation
Please mind that this project is still in its early stages and hasn't been thoroughly tested yet!
Option 1: Run the official docker image
docker run -d --name rsnano -p 54000:54000 -v ~/NanoBeta:/root/NanoBeta simpago/rsnano-beta:latest nano_node daemon --network=beta
Option 2: Build your own docker image
docker build -f docker/node/Dockerfile -t rsnano-node https://github.com/simpago/rsnano-node.git#develop
docker run -d --name rsnano -p 54000:54000 -v ~/NanoBeta:/root/NanoBeta rsnano-node:latest nano_node daemon --network=beta
Option 3: Build from source
Currently you can only build RsNano on Linux.
Install the cmake plugin Corrosion for building Rust projects with cmake:
git clone https://github.com/AndrewGaspar/corrosion.git
# Optionally, specify -DCMAKE_INSTALL_PREFIX=<target-install-path>. You can install Corrosion anyway
cmake -Scorrosion -Bbuild -DCMAKE_BUILD_TYPE=Release
cmake --build build --config Release
# This next step may require sudo or admin privileges if you're installing to a system location,
# which is the default.
cmake --install build --config Release
Build the nano-node. The official nano-node build instructions still apply for RsNano.
git clone --recurse-submodules https://github.com/simpago/rsnano-node.git
cd rsnano-node
mkdir build && cd build
cmake -G "Unix Makefiles" -DNANO_TEST=ON -DCMAKE_BUILD_TYPE=Debug ..
make nano_node
./nano_node --diagnostics
Contact us
We want to hear about any trouble, success, delight, or pain you experience when using RsNano. Let us know by filing an issue, or joining us on Discord.