Testnet Node Launch
Last updated
cd ~
git clone https://github.com/patex-ecosystem/patex-network.git
cd patex-network
./ops-bedrock/patex-sepolia/rpc-node/node-up.shcurl --location --request POST 'http://localhost:19545' --header 'x-api-key: YOUR-API-KEY' --header 'Content-Type: application/json' --data-raw '{"jsonrpc": "2.0","method": "eth_blockNumber","params": [],"id": ""}'cd ~
git clone https://github.com/patex-ecosystem/patex-network.gitcd patex-network
make pt-nodecd ~
git clone https://github.com/patex-ecosystem/patex-chain.gitcd patex-chain
make gethcd ~/patex-chain
tar xvf ~/testnet.tarcd ~/patex-chain
openssl rand -hex 32 > jwt.txt
cp jwt.txt ~/patex-network/pt-nodecd ~/patex-network
wget https://sepolia.patex.io/rollup.json $PWD/rollup.json#! /usr/bin/bash
cd ~/patex-chain
./build/bin/geth \
--ws \
--ws.port=8546 \
--ws.addr=0.0.0.0 \
--ws.origins="*" \
--http \
--http.port=8545 \
--http.addr=0.0.0.0 \
--http.vhosts="*" \
--http.corsdomain="*" \
--authrpc.addr=localhost \
--authrpc.jwtsecret=./jwt.txt \
--authrpc.port=8551 \
--authrpc.vhosts="*" \
--verbosity=3 \
--rollup.disabletxpoolgossip=true \
--nodiscover \
--syncmode=full \
--maxpeers=0 \
--datadir ./datadir#! /usr/bin/bash
cd ~/patex-network/pt-node
./bin/pt-node \
--l2=http://localhost:8551 \
--l2.jwt-secret=./jwt.txt \
--rpc.addr=0.0.0.0 \
--rpc.port=8547 \
--rollup.config=./rollup.json \
--l1=<< URL TO L1 >>