Hardware | Minimum Requirement |
---|---|
CPU | 6 Cores |
RAM | 8 GB |
Disk | 100 GB SSD |
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/docker-archive-keyring.gpg] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/docker.list > /dev/null
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io
docker version
VER=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep tag_name | cut -d '"' -f 4)
curl -L "https://github.com/docker/compose/releases/download/"$VER"/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
chmod +x /usr/local/bin/docker-compose
docker-compose --version
sudo groupadd docker
sudo usermod -aG docker $USER
git clone https://github.com/Uniswap/unichain-node
cd unichain-node
nano .env.sepolia
-
CTRL X Y Enter to save the file
-
Get Endpoints
docker compose up -d
- Once you shoot up the container you might get daemon error if your ports are occupied, you just need to change the ports in yaml file (Watch Video on Youtube to understand better)
sudo lsof -i :PORT_NUM
cat $HOME/unichain-node/geth-data/geth/nodekey
curl -d '{"id":1,"jsonrpc":"2.0","method":"eth_getBlockByNumber","params":["latest",false]}' -H "Content-Type: application/json" http://localhost:8545
docker compose down
git stash
git pull
- After this you need to edit .env.sepolia and docker file again
- Done !! Feel free to ask queries in telegram channel
- Telegram - https://t.me/colonyairdrops
- Youtube - https://www.youtube.com/@ColonyAirdrops