Drosera Installation
System Requirements
- CPU: 2 Cores
- Memory: 4GB RAM
- Disk: 20 GB
- You need faucet also.
Install
1. Install Dependencies
sudo apt-get update && sudo apt-get upgrade -ysudo apt install curl ufw iptables build-essential git wget lz4 jq make gcc nano automake autoconf tmux htop nvme-cli libgbm1 pkg-config libssl-dev libleveldb-dev tar clang bsdmainutils ncdu unzip libleveldb-dev -y2. Install Docker (skip if already installed)
1. Install Dependency
sudo apt install apt-transport-https ca-certificates curl software-properties-common -y2. Add GPG key Docker
curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/docker.gpg3. Add docker repo
echo "deb [arch=amd64] https://download.docker.com/linux/ubuntu $(lsb_release -cs) stable" | \
sudo tee /etc/apt/sources.list.d/docker.list > /dev/null4. Install Docker CE
sudo apt update
sudo apt install docker-ce docker-ce-cli containerd.io -y5. Check Docker Status
sudo systemctl status dockerTrap Setup
1. Install Drosera
curl -L https://app.drosera.io/install | bashsource /root/.bashrcdroseraup2. Install Foundry
curl -L https://foundry.paradigm.xyz | bashsource /root/.bashrcfoundryup3. Install Bun
curl -fsSL https://bun.sh/install | bashDeploy Contract & Trap
1. Create folder
mkdir my-drosera-trap && cd my-drosera-trap2. Github Config
Replace Github_Email & Github_Usernamee :
git config --global user.email "Github_Email"
git config --global user.name "Github_Username"3. Initialize Trap
forge init -t drosera-network/trap-foundry-template4. Compile Trap
curl -fsSL https://bun.sh/install | bash
bun installforge buildif you face an error like this: 
try to run again this script
curl -fsSL https://bun.sh/install | bash
bun installforge build5. Deploy Trap
Replace PrivKey with your Private Key!
DROSERA_PRIVATE_KEY=PrivKey drosera applyenter command, wait, write ofc and enter.
Dashboard Configuration
1. Connect your Drosera VM Wallet to https://app.drosera.io/
2. Clik on Traps Owned or search your Trap Address
3. Open your Trap on Dashboard and Click on Send Bloom Boost and deposit some Holesky ETH on it. Leave some for gas fee
4. Fetch Blocks
drosera dryrunOperator Setup
1. Setup Trap Config
cd my-drosera-trap
nano drosera.tomledit private_trap and whitelist like this:
private_trap = true
whitelist = ["EVM_Address"]2. Update Trap Configuration
Replace PrivKey with your Private Key!
DROSERA_PRIVATE_KEY=PrivKey drosera apply3. Download and Extract Operator CLI
curl -LO https://github.com/drosera-network/releases/releases/download/v1.16.2/drosera-operator-v1.16.2-x86_64-unknown-linux-gnu.tar.gztar -xvf drosera-operator-v1.16.2-x86_64-unknown-linux-gnu.tar.gz4. Check Version and move path to run it globally
./drosera-operator --versionsudo cp drosera-operator /usr/bindrosera-operator5. Install Docker Image
docker pull ghcr.io/drosera-network/drosera-operator:latest6. Register Operator
replace PrivKey with your Private Key
drosera-operator register --eth-rpc-url https://ethereum-holesky-rpc.publicnode.com --eth-private-key PrivKeySetup Systemd
1. Configure Systemd service file
replace Priv_Key and VPS_IP
sudo tee /etc/systemd/system/drosera.service > /dev/null <<EOF
[Unit]
Description=drosera node service
After=network-online.target
[Service]
User=$USER
Restart=always
RestartSec=15
LimitNOFILE=65535
ExecStart=$(which drosera-operator) node --db-file-path $HOME/.drosera.db --network-p2p-port 31313 --server-port 31314 \
--eth-rpc-url https://ethereum-holesky-rpc.publicnode.com \
--eth-backup-rpc-url https://1rpc.io/holesky \
--drosera-address 0xea08f7d533C2b9A62F40D5326214f39a8E3A32F8 \
--eth-private-key Priv_Key \
--listen-address 0.0.0.0 \
--network-external-p2p-address VPS_IP \
--disable-dnr-confirmation true
[Install]
WantedBy=multi-user.target
EOF2. Run Operator
sudo systemctl daemon-reload
sudo systemctl enable drosera
sudo systemctl start drosera3. Check Logs
journalctl -u drosera.service -f4. Opt In Trap
Done! Check Node Liveness on your Dashboard.
