Run Secure RPC
Key Details
Language and Build Requirements: The Secure RPC is written in Rust and must be built using
cargo build --releasein the root directory.Environment Variables:
Create an
env.shfile atsecure-rpc/scripts/execute/env.shbased on the contents ofenv_example.sh.Ensure the ports defined in
env.share available.
Initialization Scripts:
Secure RPC is initialized and run using scripts located in the repository:
secure-rpc/scripts/execute/01_init_secure_rpc.shsecure-rpc/scripts/execute/02_run_secure_rpc.sh
Steps
Clone the repository
git clone https://github.com/radiusxyz/secure-rpc/Build the binary
cd secure-rpc cargo build --releaseSet up environment variables in
./scripts/execute/env.sh.Initialize the service:
./scripts/execute/01_init_secure_rpc.shStart the service:
./scripts/execute/02_run_secure_rpc.sh
Environment Variables
Last updated