└── README.md /README.md: -------------------------------------------------------------------------------- 1 | ## Colavent Node - Ultimate Guide 2 | 3 | ![image](https://github.com/user-attachments/assets/8ad78028-d32c-4137-a772-accd754923d5) 4 | 5 | 6 | ## Requirements 7 | 8 | - You must need to buy a VPS for running Covelant Node 9 | - You can buy from : Contabo 10 | - You should buy VPS which is fulfilling all these requirements : 11 | ```bash 12 | Operating System : Ubuntu 22.04 13 | CPU : Minimum of 4 cores 14 | RAM : 4 GB 15 | Storage : SSD or NVMe with at least 50GB of space 16 | ``` 17 | ## Prerequisites 18 | Before you start, ensure you have docker compose installed. 19 | ```bash 20 | # Install Docker 21 | curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg 22 | 23 | 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 24 | 25 | sudo apt-get update 26 | sudo apt-get install docker-ce docker-ce-cli containerd.io 27 | docker version 28 | 29 | # Install Docker-Compose 30 | VER=$(curl -s https://api.github.com/repos/docker/compose/releases/latest | grep tag_name | cut -d '"' -f 4) 31 | 32 | curl -L "https://github.com/docker/compose/releases/download/"$VER"/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose 33 | 34 | chmod +x /usr/local/bin/docker-compose 35 | docker-compose --version 36 | 37 | # Docker Permission to user 38 | sudo groupadd docker 39 | sudo usermod -aG docker $USER 40 | ``` 41 | 42 | ## Deployment 43 | - Step1: 44 | ```bash 45 | wget https://go.dev/dl/go1.22.3.linux-amd64.tar.gz 46 | sudo tar -C /usr/local -xzf go1.22.3.linux-amd64.tar.gz 47 | ``` 48 | 49 | - Step2: 50 | ```bash 51 | echo "" >> ~/.bashrc 52 | echo 'export GOPATH=$HOME/go' >> ~/.bashrc 53 | echo 'export GOROOT=/usr/local/go' >> ~/.bashrc 54 | echo 'export GOBIN=$GOPATH/bin' >> ~/.bashrc 55 | echo 'export PATH=$PATH:/usr/local/go/bin:$GOBIN' >> ~/.bashrc 56 | source ~/.bashrc 57 | ``` 58 | 59 | - Step3: Install Kubo 60 | ```bash 61 | wget https://dist.ipfs.tech/kubo/v0.30.0/kubo_v0.30.0_linux-amd64.tar.gz 62 | tar -xvzf kubo_v0.30.0_linux-amd64.tar.gz 63 | ``` 64 | 65 | - Step4: 66 | ```bash 67 | cd kubo 68 | sudo bash install.sh 69 | cd 70 | ``` 71 | 72 | - Step5: Git Covalent Repo 73 | ```bash 74 | git clone https://github.com/covalenthq/ewm-das 75 | cd ewm-das 76 | ``` 77 | 78 | - Step6: Docker Build 79 | ```bash 80 | docker build -t covalent/light-client -f Dockerfile.lc . 81 | ``` 82 | 83 | - Step7: Increase Buffer Size 84 | ```bash 85 | sudo sysctl -w net.core.rmem_max=8388608 86 | sudo sysctl -w net.core.wmem_max=8388608 87 | ``` 88 | 89 | - Step8: Increase Buffer Size 90 | - Input BURNER `Metamask Private Key` inside Qoutes (do not remove "") 91 | 92 | ```bash 93 | docker run -d --restart always --name light-client -e PRIVATE_KEY="YOUR_HEX_PRIVATE_KEY" covalent/light-client 94 | ``` 95 | 96 | - Check logs 97 | ```bash 98 | docker logs -f light-client 99 | ``` 100 | 101 | #### Submit Info and Wait 1 to 2 days ✅ 102 | https://docs.google.com/forms/d/e/1FAIpQLSdjxT5NwXX7lBfb_Pdx5T3oWehnaOl__Mg9XnXCr0u-jRPY5w/viewform?usp=send_form 103 | Join Covalent Discord: https://discord.gg/JgvxnhnS 104 | 105 | 106 | - Join my community https://discord.gg/UPSfxycf 107 | --------------------------------------------------------------------------------