Installation
If you're using the CROSS blockchain network, use the following instructions to run the node. The default RPC port for geth
is 8545
, and the default P2P port is 30303
. The --datadir
flag specifies the folder where the chaindata
will be stored.
Building from Source
To build the geth
client for the CROSS blockchain from source, follow these steps:
Prerequisites
- Git
- Go (version 1.22 or later recommended)
Build Process
-
Clone the source code:
git clone https://github.com/to-nexus/go-cross.git cd go-cross
-
(Optional) Checkout a specific stable version:
git checkout v1.x.x # Replace with the desired version
-
Build the
geth
binary:make geth
-
(Optional) Build all related tools:
make all
Once the build completes, the binaries will be available in the build/bin
directory. You can verify the version with:
./build/bin/geth version
Updated 26 days ago