Skip to content
AurelienFT edited this page Jun 3, 2022 · 7 revisions

THIS DOCUMENTATION IS NOT MAINTAINED ANYMORE. USE https://massa.readthedocs.io

Running a node

From binaries

Simply run the binaries you downloaded in the previous step: Open the massa-node folder and run the massa-node excutable Open the massa-client folder and run the massa-client excutable

From source code

On Ubuntu / MacOS

Start the node

On a first window:

cd massa/massa-node/

Launch the node, on Ubuntu:

RUST_BACKTRACE=full cargo run --release |& tee logs.txt

Or, on macOS:

RUST_BACKTRACE=full cargo run --release > logs.txt 2>&1

You should leave the window opened.

Start the client

On a second window:

cd massa/massa-client/

Then:

cargo run --release

Please wait until the directories are built before moving to the next step.

On Windows

Start the Node

  • Open Windows Power Shell or Command Prompt on a first window
    • Type: cd massa
    • Type: cd massa-node
    • Type: cargo run --release

You should leave the window opened.

Start the Client

  • Open Windows Power Shell or Command Prompt on a second window
    • Type: cd massa
    • Type: cd massa-client
    • Type: cargo run --release

Please wait until the directories are built before moving to the next step.


Note: You can use the hash-prefix feature as detailed here (optional)

Next step