October 13
Unichain. Устанавливаем ноду
sudo apt update && sudo apt upgrade -y
sudo apt install docker.io
sudo curl -L "https://github.com/docker/compose/releases/download/v2.20.2/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose sudo chmod +x /usr/local/bin/docker-compose
Клонируем репозиторию Unichain
git clone https://github.com/Uniswap/unichain-node
Меняем директорию на unichain-node
cd unichain-node
Открываем нано конфиг .env.sepolia
nano .env.sepolia
OP_NODE_L1_ETH_RPC=https://ethereum-sepolia-rpc.publicnode.com OP_NODE_L1_BEACON=https://ethereum-sepolia-beacon-api.publicnode.com
Сохраняем содержимое Cntr + X, Y, Enter
docker-compose up -d
curl -d '{"id":1,"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["latest",false]}' \ -H "Content-Type: application/json" http://localhost:8545
Проверяем логи unichain-node-op-node-1
docker logs unichain-node-op-node-1
Проверяем логи unichain-node-execution-client-1
docker logs unichain-node-execution-client-1