Run a Mainnet Alpha Node
docker run -d --name scylla -p 9042:9042 scylladb/scylla
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh source ~/.cargo/env
sudo apt install -y clang build-essential libssl-dev protobuf-compiler pkg-config aria2
brew install clang protobuf pkg-config aria2
git clone https://github.com/solayer-labs/solayer-rpc cd solayer-rpc cargo build --release --features mainnet
cqlsh -f cassandra_tables.sql
./target/release/rpc-v2 -s mainnet-seed-1.solayer.org --cassandra-hosts 127.0.0.1:9042
curl -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1,"method":"getSlot","params":[]}' http://localhost:18899
solana catchup --our-localhost 18899 -u https://mainnet-alpha.solayer.org
Was this page helpful?