In this Guide, we contribute to Drosera testnet by:
- Installing the CLI
- Setting up a vulnerable contract
- Deploying a Trap on testnet
- Connecting an operator to the Trap
- 2 CPU Cores
- 4 GB RAM
- 20 GB Disk Space
- Get started with a low-budget
VPS
for as low as $5! Purchase here
Facet : Holesky Faucet)
- Create your own
Ethereum Holesky RPC
in Alchemy.
◾ Clone the Repository
git clone https://github.com/whalepiz/Drosera-Network/
cd Drosera-Network && chmod +x s.sh && ./s.sh
Before starting, you need to Faucet Ethereum Holesky into the wallet addresses of both Operator 1 and Operator 2. Visit the Holesky Faucet page to request test ETH for both wallets. Ensure that you have enough ETH in these wallets before proceeding with the setup.
- Private Key of Operator 1
- Public Address of Operator 1
- Private Key of Operator 2
- Public Address of Operator 2
- VPS Public IP (can be auto-detected or manually entered)
- Ethereum Holesky RPC URL (optional)
- GitHub Email
- GitHub Username
Make sure to enter all the above information correctly for the script to function properly.
-
Monitor Node Status: Once the script finishes, head over to the https://app.drosera.io/ to check for green blocks, which indicate that your node is live and functioning properly. You can also monitor the node’s activity through Docker logs:
cd ~/Drosera-Network docker logs drosera-node1
or
cd ~/Drosera-Network
docker logs drosera-node2
Make sure to check for green block logs on your dashboard. (Wait for at least 1 hour to ensure the data updates correctly.)
- Optional Command (Restart and Dryrun Node)::
cd ~/Drosera-Network docker compose down -v pkill -f drosera-operator cd ~ cd my-drosera-trap source /root/.bashrc drosera dryrun cd ~ cd Drosera-Network docker compose up -d
Edit .toml file:
cd my-drosera-trap
nano drosera.toml
Edit .env file:
cd Drosera-Network
nano .env
Edit docker-compose.yaml:
cd Drosera-Network
nano docker-compose.yaml