-
Notifications
You must be signed in to change notification settings - Fork 9
Run a POA node on Windows
Catalyst.Node works with .Net Core v3.0. You'll need to have the .Net SDK installed.
If you don't have .Net Core installed you can follow the instructions for your platform bellow.
Catalyst.Core uses our native Rust BulletProof library. In order to be able to build the solution, you will need to ensure that the Rust toolchain is correctly installed on you machine.
If you have not done so before, download and install the Microsoft Visual C++ Build Tools 2019 from https://visualstudio.microsoft.com/downloads/#build-tools-for-visual-studio-2019. Alternatively, if you are using Visual Studio, you should be able to modify your existing installation to add this feature.
Go to https://www.rust-lang.org/tools/install, then download and execute rustup-init.exe
Nightly mode must now be installed and enabled by:
rustup toolchain install nightly
and then:
rustup default nightly
If you're on Linux, you need to create a Self Signed Certificate the instructions for which are found here:
Create a Self Signed Certificate
Instructions to install MongoDB can be found here for each operating system.
To clone the repository it is assumed you have Git installed. If you do not, then follow the Git install instructions.
make sure that long paths are allowed in both windows and git
- for windows follow the instructions at https://docs.microsoft.com/en-us/windows/win32/fileio/naming-a-file#enable-long-paths-in-windows-10-version-1607-and-later
- for git : start a git terminal as administrator run the following command :
git config --system core.longpaths true
To clone the Catalyst repository use the command:
git clone https://github.com/catalyst-network/Catalyst.git
Then navigate into the repository:
cd Catalyst
Install the dependencies using the command:
git submodule update --init --recursive --force
Navigate to the src folder:
cd src
In the src folder build the solution:
dotnet build Catalyst.sln
To run the node change to:
cd Catalyst.Node.POA.CE
Then use the command
dotnet run
Once the above steps have been completed the node must be manually configured following:
Catalyst Network