Uniswap OP L2 - UniChain Node Setup
-
Uniswap raised $189M
-
Unichain is a DeFi-native Ethereum L2, built to be the home for liquidity across chains.
-
Unichain, a faster, cheaper L2 designed to be the home for DeFi and the home for multichain liquidity.
Site : Unichain | X : UnicahinX | Docs : Unichain docs
Join TG : Crypto Console Telegram
Follow X : Crypto Console Twitter
Subscribe : Crypto Console Youtube
💻 Contabo VPS Deals 🚀 Buy with Credit Card/Paypal/Crypto Credit card :
Get powerful VPS solutions with these direct links:
VPS | Direct Link | Specs |
---|---|---|
VPS 1 | Contabo VPS 1 | 4 vCPU Cores, 4 GB RAM, 100 GB NVMe or 400 GB SSD, 1 Snapshot, 32 TB Traffic, Unlimited Incoming |
VPS 2 | Contabo VPS 2 | 6 vCPU Cores, 16 GB RAM, 200 GB NVMe or 400 GB SSD, 2 Snapshots, 32 TB Traffic, Unlimited Incoming |
VPS 3 | Contabo VPS 3 | 8 vCPU Cores, 24 GB RAM, 300 GB NVMe or 1.2 TB SSD, 2 Snapshots, 32 TB Traffic, Unlimited Incoming |
VPS 4 | Contabo VPS 4 | 12 vCPU Cores, 48 GB RAM, 400 GB NVMe or 1.6 TB SSD, 3 Snapshots, 32 TB Traffic, Unlimited Incoming |
💡 Get started with the perfect VPS for your needs! 🚀
Hardware | Minimum Requirement |
---|---|
CPU | 6 Cores |
RAM | 8 GB |
Disk | 100 GB SSD |
Bridge Eth from sepolia to Unichain. Use both bridges
Superbridge : https://superbridge.app/unichain-sepolia
Bird Bridge : https://testnet.brid.gg/unichain-sepolia?amount=&originChainId=11155111&token=ETH
Bridge back some amount
Watch the video
sudo apt update && sudo apt upgrade
sudo apt-get install ca-certificates curl
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
Watch Video For reference
Get L1 RPC : Drpc.org
Get Public beacon endpoints : https://ethereum-sepolia.publicnode.com/
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
Follow Crypto Console: https://x.com/cryptoconsol 🫰
curl -L https://foundry.paradigm.xyz | bash
source /root/.bashrc
foundryup
forge --version
nano foundry.toml
Paste :
[rpc_endpoints]
unichain = "https://sepolia.unichain.org"
CTRL+X, then Y and ENTER
git clone https://github.com/OpenZeppelin/openzeppelin-contracts.git "openzeppelin"
git clone https://github.com/stealeruv/Unichain-Node.git "ccuniscripts"
forge create ccuniscripts/helloworld.sol:HelloWorld --rpc-url unichain --private-key {YourPrivateKey}
Explorer : https://sepolia.uniscan.xyz/
forge create ccuniscripts/erc20.sol:Console --constructor-args <youraddress> --rpc-url unichain --private-key {YourPrivateKey}
cast send <ContractAddress> "transfer(address,uint256)" <receiveraddress> 100000000000000000000 --rpc-url unichain --private-key <yourprivkey>
Follow Crypto Console: https://x.com/cryptoconsol 🫰