Labs Eng
March 27

Venn testnet firewall developer

Venn is a decentralized platform that helps protect smart contracts and Web3 applications. It provides developers with tools to add built-in security mechanisms.​

These mechanisms include the integration of special modifiers into smart contract functions that verify and filter incoming transactions. This allows blocking potentially malicious or undesirable actions, providing an additional layer of protection for decentralized applications.

Visualization provided by Venn docs: https://docs.venn.build/

Investors: ParaFi Capital, Collider Ventures​

Currently, there is an event Venn Testnet Season 2: Integrate Venn Firewall [Developer] on Galxe

Venn Testnet Season 2: Integrate Venn Firewall [Developer], you can participate and deploy a contract using their tools: https://app.galxe.com/quest/nj4xyZSwmKCysKVriKTCi6/GCg8NtpjAD

Official documentation: https://docs.venn.build/venn-network/getting-started/protocols-and-developers/installation

🟠 Tasks for participation:

  1. Subscribe to @VennBuild on X.​
  2. Join the Telegram channel vennbuilders.​
  3. Deploy and register a smart contract in the Venn Testnet.​
  4. Configure the SDK for DApp.​

🔹 Difficulty: Medium​

⚠️ If you encounter problems or errors, read them carefully and try to fix them yourself. If unsuccessful, write to the chat: https://t.me/stakeme_en

Use the same wallet for all steps. You will need some Holesky tokens (~0.1 ETH). It may require much less.

🛠️ Environment Preparation:

* ​I have already prepared a test contract; you just need to follow the instructions in the guide.

Install Docker and Docker Compose:​

Or for Ubuntu:

sudo apt install wget -y
wget -O get-docker.sh https://get.docker.com
sudo sh get-docker.sh
sudo apt install -y docker-compose-plugin
sudo usermod -aG docker $USER
rm get-docker.sh

Re-login to apply the changes.​

After installation, you can enter docker and docker compose in the terminal to ensure that Docker commands work.

📂 Project Installation and Setup:

Depending on the OS, the steps may vary slightly. If you don't understand what a command does, just google it and try to figure it out.​

Clone the venn-galxe-firewall repository; we will work in it:

git clone https://github.com/icodragon/venn-galxe-firewall

Set up environment variables:​

  • Open the .env.example file in a text editor (use nano or vim in Unix).​

The variables look like this:

# Network configuration
HOLESKY_RPC_URL=https://ethereum-holesky-rpc.publicnode.com:443
VENN_NODE_URL=https://signer2.testnet.venn.build/api/17000/sign
PRIVATE_KEY=

Insert your private key. If necessary, you can change the HOLESKY RPC and VENN NODE (working ones are already specified).​

Rename the .env.example file to .env:

mv .env.example .env

Now build the project:

docker compose build

Great! Now you can proceed to running the scripts.​

🚀 Deploying the Smart Contract

Run the deployment command:

bash venn-deploy.sh

Save the address of the deployed contract from the output:

✅ Сontract deployed to: ...

🔐 Registering the Smart Contract in Venn

Run the script, replacing <contract_address> with yours:

bash venn-register.sh <contract_address>

Wait for the script to complete. After finishing, copy the Policy address from the output:

ℹ️ Starting Venn Network integration
ℹ️  -> Network: holesky
ℹ️  -> Account: ...
ℹ️ [step] Deploying new Venn policy
ℹ️  -> Policy address: <0x..>        ///Copy this
ℹ️  -> Transaction hash: 0x...
‼️ An error may occur when running; try running the script again.​

🧩 Interacting with DApp:

It is important to interact with the same wallet that deployed the contract.​

Run:

bash venn-dapp.sh <policy_address>

Where <policy_address> is your saved Policy address.​

In the console, execute:

set test 1

Then press Enter.

If the transaction is successful (you receive a tx hash)—great! 🎉


ℹ️ Important: Galxe does not count tasks immediately; it may take a few days. To be sure, you can check your completed transactions in the block explorer. 🚀

About the Author

The author of this article is Dragon, a representative of the STAKEME team—a validator and developer of solutions for Web3 projects.

We are STAKEME, a team that helps blockchain projects grow and operate smoothly. We participate in network validation, support secure staking, and create Web3 tools that truly simplify life.

Among our projects:

  • ExploreMe – a convenient explorer to quickly find the necessary data.
  • FaucetMe – a faucet where you can easily obtain tokens for testing.

We collaborate with 30+ projects, including Story, Celestia, and Sei, and continue building the infrastructure of the future.

https://x.com/stakeme_pro