docker run -it \
--name leicoin-node \
-p 12200:12200/tcp \
-p 12280:12280/tcp \
-v /path/to/local/data:/data \
ghcr.io/leicoin-project/leicoin-node:latest \
run
- Go to the LeiCoin-Node GitHub Releases page.
- Download the latest release for your operating system.
- Extract the downloaded archive.
- Navigate to the extracted directory.
- Run the following command to start the node:
./leicoin-node run
- Download the Pterodactyl-Egg from Github
- Put The File On your Pterodactyl Panel and create a Server with it
- Start the created Server
The configuration file for LeiCoin-Node is located at ./config/config.json
. Below is an explanation of the sample configuration:
{
"api": {
"active": false,
"host": "0.0.0.0",
"port": 12280
},
"leicoin_net": {
"host": "0.0.0.0",
"port": 12200
},
"minter": {
"active": true,
"credentials": [
{
"privateKey": "",
"address": ""
}
]
},
"experimental": false
}
-
api
: Configuration for the API server.active
: Boolean to enable or disable the API server.host
: The host address for the API server.port
: The port on which the API server listens.
-
leicoin_net
: Configuration for the LeiCoin network.host
: The host address for the LeiCoin network.port
: The port on which the LeiCoin network listens.
-
minter
: Configuration for the minter.active
: Boolean to enable or disable the minter.credentials
: List of credentials for the minter.privateKey
: The private key for the minter.address
: The address associated with the private key.
-
experimental
: Boolean to enable or disable experimental features.
The peers configuration file for LeiCoin-Node is located at ./config/peers.json
. Below is an example of the peers configuration:
[
"example.com:12200",
"192.168.1.1:12200",
"[2001:0db8:85a3::1]:12200",
]