| Crates.io | snap-coin-node |
| lib.rs | snap-coin-node |
| version | 9.0.1 |
| created_at | 2025-12-08 15:49:14.904555+00 |
| updated_at | 2026-01-25 13:51:24.291905+00 |
| description | A simple CLI for hosting a Snap Coin node |
| homepage | |
| repository | |
| max_upload_size | |
| id | 1973890 |
| size | 82,293 |
To install Snap Coin Node, run:
cargo install snap-coin-node
Make sure you have cargo, and rust installed.
By default the node is hosted on port 8998, and the Snap Coin API server is hosted on 3003. This can be changed with command line arguments, mentioned below.
snap-coin-node <args>
Available arguments:
--peers [peers]
Specified seed nodes, from which this node wil find other nodes to connect too and strengthen its network.
--no-api
Disable Snap Coin API.
--headless
Disable terminal ui, doesn't even print to TTY. Only to info.log.
--no-ibd
Disable initial block download.
--node-path [path]
Specify path where the node will store its state.
--create-genesis
Create a new genesis block and add it to the blockchain.
--api-port [port]
Specify port on which the api is to be hosted.
--node-port [port]
Specify port on which the node is to be hosted.
--debug
Enable async debugging. You can access this by using the tokio-console command (you might need to install it via cargo install tokio-console)
--reserved-ips [ips]
Specified ip addresses, which are to be flagged as the nodes addresses.
--full-memory
Start RandomX in full memory mode (faster hash verification, 2gb of memory allocated to RandomX)
--no-auto-peer
Do not start auto peer discovery