Playground
Last updated
Was this helpful?
Last updated
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.
Follow these steps to explore the Venn Playground:
Access the Venn Playground at https://explorer.venn.build/playground
Connect your wallet to start exploring Venn Playground. This will enable you to simulate transactions.
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:
Your dApp Contract: explore the current state of your dApp contract.
Venn Firewall Integration: use the CLI tool to integrate Venn Firewall into your smart contract.
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.
dApp Frontend SDK: Make sure your dApp frontend is protected also by adding Venn-SDK to your dApp.
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.'
Discover how Venn validates your transactions. Instructions:
• Go to the Venn Explorer at https://explorer.venn.build
• Search your wallet address in the search bar.
• Review the status and details of your transactions.
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.