Interactive CLI Playground

PACT Protocol Playground

Interactive demonstrations of our enterprise blockchain tools. Try commands, see real outputs, and explore the power of PACT Protocol.

View Documentation
QR VerificationEnterprise QR Tools
Security & AuditAI-Powered Analysis
DeFi & ComplianceRisk Management
AI DevelopmentSmart Automation
OrchestrationDeployment Hub
Token ManagementCompliance-Gated

Choose Your Tool

Select a PACT Protocol tool to explore its CLI commands and see live demonstrations.

Popular
QR-Verify CLI
Enterprise QR verification with zero-knowledge proofs
Enterprise
PACT DeFi
DeFi protocol compliance & risk management
Enterprise
PACTctl
Compliance-gated token issuance
Pro
PACT Audit
AI-powered smart contract security analysis
AI-Powered
PACT AI Wizard
AI-powered development assistant
New
Genesis Hub
AI-powered deployment orchestration
QR-Verify CLI Commands
Click a command to see it in action
PACT Protocol Terminal
$qr-verify generate --type dynamic --auth-method wallet --time-window 3600
🔐 Generating dynamic QR code... ✅ QR Code generated successfully! 📋 QR Code Details: Type: Dynamic Auth Method: Wallet Time Window: 3600 seconds QR ID: qr_dyn_1a2b3c4d5e6f 🔗 Verification URL: https://verify.pactprotocol.io/qr_dyn_1a2b3c4d5e6f 📱 QR Code saved to: ./qr_codes/qr_dyn_1a2b3c4d5e6f.png ⚡ Ready for verification!
$

Interactive Code Examples

Explore code snippets and examples for integrating PACT Protocol tools into your applications.

Smart Contract Integration
Example of integrating PACT compliance into your smart contract
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.19;

import "@pact-protocol/contracts/compliance/Compliance.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";

contract MyComplianceToken is ERC20, Compliance {
    constructor() ERC20("MyToken", "MTK") {
        _mint(msg.sender, 1000000 * 10**decimals());
    }
    
    function transfer(address to, uint256 amount) 
        public override returns (bool) {
        require(isCompliant(msg.sender), "Sender not compliant");
        require(isCompliant(to), "Recipient not compliant");
        return super.transfer(to, amount);
    }
}
API Integration
Example of using PACT Protocol APIs in your application
import { PACTClient } from '@pact-protocol/sdk';

const client = new PACTClient({
  apiKey: process.env.PACT_API_KEY,
  network: 'polygon'
});

// Generate QR code with compliance
const qrCode = await client.qrVerify.generate({
  type: 'dynamic',
  authMethod: 'wallet',
  timeWindow: 3600,
  complianceRules: ['kyc', 'sanctions']
});

// Check compliance status
const compliance = await client.compliance.check({
  address: '0x742d35Cc6669C91fCe4d0a1D7A54C8C5e4c5C5e4',
  rules: ['kyc', 'sanctions', 'geography']
});

console.log('QR Code:', qrCode.url);
console.log('Compliance:', compliance.status);

Ready to Build with PACT Protocol?

Get started with our enterprise blockchain tools and experience the power of compliant, scalable infrastructure.