Installing
We offer three alternatives to deploy your own RPC instance:
- Run the stellar-rpc docker image
- Install a Debian package.
- Install from source.
Docker Image
This is the preferred way to deploy your own RPC instance.
caution
Although we have a Quickstart Image, it's for local development and testing only. It is not suitable for production-grade deployments.
Pull the image at the version you'd like to run from the tags:
docker pull stellar/stellar-rpc
Debian package
apt-get update && apt-get install -y --no-install-recommends ca-certificates curl jq wget gnupg apt-utils gpg && \
curl -sSL https://apt.stellar.org/SDF.asc | gpg --dearmor >/etc/apt/trusted.gpg.d/SDF.gpg && \
echo "deb https://apt.stellar.org focal stable" >/etc/apt/sources.list.d/SDF.list && \
echo "deb https://apt.stellar.org focal testing" >/etc/apt/sources.list.d/SDF-testing.list && \
echo "deb https://apt.stellar.org focal unstable" >/etc/apt/sources.list.d/SDF-unstable.list && \
apt-get update && \
apt-get install -y stellar-core stellar-rpc && \
apt-get clean
Build From Source
Instructions for building Stellar RPC from source can be found here.
Next Step
After installation is complete, you are now ready to proceed to Configuring RPC!