Validator247
  • 🛠️Validator247
  • 🔏Mainnet
    • 🔋MantraChain
    • 🔋Shentu
    • 🔋Nibiru
    • 🔋Dymension
    • 🔋Arch way
    • 🔋Pactus
    • 🔋SEDA
    • 🔋Entangle
    • 🔋SelfChain
    • 🔋Penumbra
    • 🔋ZetaChain
    • 🔋Elys Network
  • 🔐Testnet
    • 💠RPC Node 0G_Lab
    • 💠0G_storage-node-V3_Galileo
    • 💠XRPL EVM network
    • 💠Initia
    • 💠MantraChain-Dukong
    • 💠AlignedLayer
    • 💠Warden Protocol
    • 💠Airchains - varanasi-1
    • 💠Airchains
    • 💠Hedge
    • 💠Celestia
    • 💠Mantrachain - Hongbai
    • 💠0G_Lab
    • 💠Galactica
    • 💠Penumbra
    • 💠Side Protocol
    • 💠Avail
    • 💠Entangle
    • 💠Namada
    • 💠Autonity
    • 💠0G Newton - V2
    • 💠Empeiria
  • 💠Tanssi
  • 💠Fiamma Chain
  • 💠Story Protocol
  • 💠Nillion
  • 💠Prysm
  • 💠Octra-Labs
  • 💠Pipe Network
  • 🏁EigenLayer testnet
  • ❎Overview of the Initia Project
  • 💲Initia: Integrating L1 and L2 for a Future-Ready Blockchain Ecosystem
  • IBC
  • 🍉Cosmos Wasm Smart Contracts
  • 🐣Foundry install
  • Group 1
    • 🐣hetzner Pass
  • Page 1
Powered by GitBook
On this page

Prysm

Network layer blockchain providing foundational infrastructure, enhanced connectivity, and scalability.

Public Endpoints

RPC https://prysm-testnet-rpc.validator247.com/

API https://prysm-testnet-api.validator247.com/

# Update system
sudo apt update && sudo apt upgrade -y
sudo apt install curl git wget htop tmux build-essential jq make lz4 gcc unzip -y


# install go, if needed
cd $HOME
VER="1.22.6"
wget "https://golang.org/dl/go$VER.linux-amd64.tar.gz"
sudo rm -rf /usr/local/go
sudo tar -C /usr/local -xzf "go$VER.linux-amd64.tar.gz"
rm "go$VER.linux-amd64.tar.gz"
[ ! -f ~/.bash_profile ] && touch ~/.bash_profile
echo "export PATH=$PATH:/usr/local/go/bin:~/go/bin" >> ~/.bash_profile
source $HOME/.bash_profile
[ ! -d ~/go/bin ] && mkdir -p ~/go/bin


# download binary
cd $HOME
rm -rf prysm
git clone https://github.com/kleomedes/prysm prysm
cd prysm
git checkout v0.1.0-devnet
make install


# Download Genesis and Addrbook
wget https://raw.githubusercontent.com/Validator247/PRYSM-Network/main/addrbook.json
wget https://raw.githubusercontent.com/Validator247/PRYSM-Network/main/genesis.json


# Comma separated list of nodes to keep persistent connections to
persistent_peers = "ff15df83487e4aa8d2819452063f336269958d09@prysm-testnet-peer.itrocket.net:25657,"


# set peers
PEERS="01e40fe961c9522936a8bb7ede533198614abf9f@[2a0e:dc0:2:2f71::1]:14256,e1d4f82aa17c8cfae6e80117f39cf2e2a29eeb0b@37.27.112.131:10156,69509925a520c5c7c5f505ec4cedab95073388e5@136.243.13.36:29856,0b4b6be062055f913933597fe7d84c65286d444b@144.76.70.103:32656,66ea180127711b96e35683be6e6f1cffc2b04e0a@184.107.169.193:25656,9f4e4c1ddc440aa280641cc9961e642c6a983a2b@65.108.200.40:44656,170bf5fa23b18d19148ca9a52dbdde485ad59f7b@65.109.79.185:15656,844f4b8382f6abf86ad13fcd2d384214605b094e@144.76.155.11:26656,843659028b53298c961d36802d3d6525e6fd3124@65.21.207.47:10156,80aa7e3fd3b4ca555a9811c6431c9165c7fb70e6@68.183.231.101:29656"
sed -i -e "/^\[p2p\]/,/^\[/{s/^[[:space:]]*seeds *=.*/seeds = \"$SEEDS\"/}" \
       -e "/^\[p2p\]/,/^\[/{s/^[[:space:]]*persistent_peers *=.*/persistent_peers = \"$PEERS\"/}" $HOME/.prysm/config/config.toml



# config pruning
sed -i -e "s/^pruning *=.*/pruning = \"custom\"/" $HOME/.prysm/config/app.toml
sed -i -e "s/^pruning-keep-recent *=.*/pruning-keep-recent = \"100\"/" $HOME/.prysm/config/app.toml
sed -i -e "s/^pruning-interval *=.*/pruning-interval = \"50\"/" $HOME/.prysm/config/app.toml

# set minimum gas price, enable prometheus
sed -i 's|minimum-gas-prices =.*|minimum-gas-prices = "0.0uprysm"|g' $HOME/.prysm/config/app.toml
sed -i -e "s/prometheus = false/prometheus = true/" $HOME/.prysm/config/config.toml

# create service
sudo tee /etc/systemd/system/prysmd.service > /dev/null <<EOF
[Unit]
Description=Prysm node
After=network-online.target
[Service]
User=$USER
WorkingDirectory=$HOME/.prysm
ExecStart=$(which prysmd) start --home $HOME/.prysm
Restart=on-failure
RestartSec=5
LimitNOFILE=65535
[Install]
WantedBy=multi-user.target
EOF

# enable and start service
sudo systemctl daemon-reload
sudo systemctl enable prysmd
sudo systemctl restart prysmd
sudo journalctl -u prysmd -f -o cat


PreviousNillionNextOctra-Labs

Last updated 8 months ago

💠
Page cover image