Interactive Demo

Try It Live

See PROOF Protocol in action. No signup required. Running on Polygon testnet.

⚠️ SIMULATION ONLY - Not Real Blockchain Transactions

This playground simulates SDK execution with fake transaction hashes for demonstration purposes only. No real blockchain transactions are created.

For production use with real Polygon mainnet transactions, visit our SDK documentation.

Demo Code

JavaScript
import { ProofClient, VisibilityLevel } from '@proof-protocol/sdk';

// Initialize client (testnet mode)
const proof = new ProofClient({
  privateKey: 'DEMO_KEY', // Demo only
  network: 'amoy' // Polygon testnet
});

// Wrap a sample API call
const response = await proof.record(
  fetch('https://api.coindesk.com/v1/bpi/currentprice.json'),
  {
    visibility: VisibilityLevel.PUBLIC,
    metadata: { demo: true }
  }
);

// View blockchain proof
console.log('Transaction:', response.proof.transactionHash);
console.log('IPFS URL:', response.proof.ipfsUrl);

Console Output

Live
Click "Run Demo" to see the magic happen...

Instant Recording

Sub-second blockchain confirmation

🔒

Immutable Proof

Cryptographically verified on Polygon

📦

IPFS Storage

Decentralized, permanent data storage

Ready to integrate into your application?