Getting Started ⚡
Installing Droseraup
Droseraup is the Drosera CLI installer. It is a simple command line tool that allows you to install the Drosera CLI globally on your machine.
Open your terminal and run the following command:
curl -L https://app.drosera.io/install | bash
This will install Droseraup, then follow the instructions on-screen, which will make the droseraup
command available in your CLI.
Running droseraup
by itself will install the latest precompiled drosera
binary. See droseraup --h
for more options, like installing from a specific version.
Project Setup with Foundry
Prerequisites
Install Foundry
curl -L https://foundry.paradigm.xyz | bash
foundryup
Initialize Drosera project
Use the Drosera Trap Foundry Template repo to easily create a new Drosera project.
mkdir my-drosera-trap
cd my-drosera-trap
forge init -t drosera-network/trap-foundry-template