luxbe / rsnano-node

RsNano is a Rust port of nano-node

Home Page:https://rsnano.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Logo

Tests Discord

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.

About

RsNano is a Rust port of nano-node

https://rsnano.com

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C++ 60.5%Language:Rust 29.4%Language:C 6.5%Language:CMake 2.0%Language:Shell 1.1%Language:Python 0.2%Language:PowerShell 0.1%Language:Batchfile 0.0%Language:Dockerfile 0.0%Language:Objective-C++ 0.0%