LogoLogo
  • Venn Network
    • Introduction to Venn
    • Getting Started
      • Protocols & Developers
        • Installation
        • Testnet Guide
        • Venn CLI
        • Venn DApp SDK
        • How It Works
        • Roles
      • Node Operators
        • Installation
        • Configuration
        • Testnet Guide
      • Security Teams
        • Build Custom Detector
        • API Reference
        • Security Sandbox
      • Venn Safe Guard
        • Bypass Mechanism
      • Venn Wallet RPC
        • Custom RPC in MetaMask
    • Explorer
    • Playground
    • Use Cases
    • Roadmap
    • Consensus Model
    • Litepaper
    • FAQ
    • Community
    • Audit Reports
Powered by GitBook
On this page
  • How to Play
  • Open the Playground:
  • Step 1: Connect Your Wallet
  • Step 2: Integrate Venn to a demo dApp
  • Step 3: Simulate Different Transaction Type
  • Step 4: Check Transaction Details on Venn Explorer
  • Your Wallet and dApp information

Was this helpful?

  1. Venn Network

Playground

PreviousExplorerNextUse Cases

Last updated 3 months ago

Was this helpful?

Introduction to Venn Playground

Welcome to Venn Playground, a demo dApp on the Venn testnet that lets you explore and understand how Venn works while showcasing Venn integrations. By simulating transactions on the Holskey testnet, you can experience a range of transaction types and observe how they are validated and handled within the Venn ecosystem. Additionally, the Playground features integrations via our CLI and built-in code editor.

Tip: Getting a Holesky Faucet. To interact with the Venn playground, you'll need Holesky testnet tokens. You can quickly get them from one of the following Holesky faucets:


How to Play

Follow these steps to explore the Venn Playground:

Open the Playground:

Access the Venn Playground at

Step 1: Connect Your Wallet

Connect your wallet to start exploring Venn Playground. This will enable you to simulate transactions.

Step 2: Integrate Venn to a demo dApp

This step guides you through setting up the Venn integration. Follow the on-screen prompts to configure your environment, ensuring your dApp communicates with the Venn ecosystem for real-time transaction processing and validation.

The integration process is broken down into the following substeps:

  1. Your dApp Contract: explore the current state of your dApp contract.

  2. Venn Firewall Integration: use the CLI tool to integrate Venn Firewall into your smart contract.

  3. Venn Integration – From Venn Ready to Venn Enabled: Enable Venn’s security features for your smart contract and connect your dApp to the Venn network.

  4. dApp Frontend SDK: Make sure your dApp frontend is protected also by adding Venn-SDK to your dApp.

Step 3: Simulate Different Transaction Type

Simulate 3 diffrent typs of transacitons. This will allow you to see how Venn processes and validates different transaction scenarios.

Available Transaction Types:

1. Normal Transaction: Simulate a legitimate transaction that is successfully validated through Venn. This transaction will be processed without any issues, and you’ll see it as ‘Executed’ on the Venn Explorer.

2. Malicious Transaction: Simulate a malicious transaction that will not be validated. The Venn Explorer will show it was ‘Venn Rejected,’ and the operator voted ‘Not-Secure’ due to security risk.

3. Bypass Attempt: Simulate a transaction attempting to bypass Venn by sending it directly to the protocol. The firewall will block this attempt, and the Venn Explorer will indicate that the transaction was ‘Firewall Reverted.'

Step 4: Check Transaction Details on Venn Explorer

Discover how Venn validates your transactions. Instructions:

• Search your wallet address in the search bar.

• Review the status and details of your transactions.

Your Wallet and dApp information

On the right side of the interface, you can view your wallet and dApp details, including addresses and balances, at every step in the playground. If you prefer to focus on integration, you can collapse this panel to create additional space for your code.

• Go to the Venn Explorer at

https://explorer.venn.build
Google
QuickNode
https://explorer.venn.build/playground