How to setup RPC Node of solana?

Viewed 57

I want to setup a full node of solana not a validator or voter node jsut to get the data of blockchain on local machine how could I do it?

1 Answers

If you want a local RPC node, know that the specs required are very high, currently 12 cores, 256GB RAM, and 1TB of NVME SSD space. More info at https://docs.solana.com/running-validator/validator-reqs

If you want to run an RPC node, the only additional command line argument that you must provide is --no-voting, and you don't need the voting args, so for example, you'd run:

solana-keygen new -o identity.json
solana-validator \
  --rpc-port 8899 \
  --entrypoint entrypoint.devnet.solana.com:8001 \
  --limit-ledger-size \
  --log ~/solana-validator.log \
  --no-voting \
  --identity identity.json

Otherwise, you can follow all of the instructions at https://docs.solana.com/running-validator/validator-start

Related