Checking...

🔬 SmartLedger API Demo

Interactive Testing Suite for All Endpoints
🔐 Web3Keys
🧩 SchemaForge
🤖 Human-Led AI
📋 NotaryHash
⛓️ BlockPublish
🎓 CredentialChain
🔗 Integrated
POST /api/web3keys/generate-keypair

🔑 Generate Key Pair

Expected Response:

{
  "success": true,
  "data": {
    "privateKey": "Kx...",
    "publicKey": "02...",
    "address": "1...",
    "mnemonic": "word1 word2 ...",
    "wif": "Kx...",
    "purpose": "demo"
  }
}

POST /api/web3keys/register

🔐 Register New User

Expected Response:

{
  "success": true,
  "data": {
    "userId": "uuid",
    "addresses": {
      "identity": "1...",
      "financial1": "1...",
      "financial2": "1..."
    },
    "publicKeys": {
      "identity": "03...",
      "financial1": "03...",
      "financial2": "02..."
    },
    "recoveryShares": [...],
    "created": "ISO date"
  },
  "message": "User registered successfully"
}

POST /api/web3keys/sign-direct

✍️ Sign Message

Expected Response:

{
  "success": true,
  "signature": "3044...",
  "publicKey": "03...",
  "message": "signed message"
}
POST /api/schemaforge/create

🧩 Auto-Generate Schema

Expected Response:

{
  "success": true,
  "schemaId": "uuid",
  "schema": {
    "type": "object",
    "properties": {...}
  }
}

POST /api/schemaforge/validate/:schemaId

✅ Validate Data

Expected Response:

{
  "valid": true,
  "errors": [],
  "data": {...}
}
POST /api/humanledai/session

🤖 Create AI Session

Expected Response:

{
  "success": true,
  "sessionId": "uuid",
  "userId": "demo-user-123",
  "projectName": "Content Project"
}

POST /api/humanledai/generate/:sessionId

✨ Generate AI Content

Expected Response:

{
  "success": true,
  "contentId": "uuid",
  "content": "Generated content...",
  "metadata": {...}
}

🎯 Revolutionary Technology

World's first verifiable AI content platform with blockchain provenance and human oversight!

POST /api/notaryhash/notarize

📋 Notarize Document

Expected Response:

{
  "success": true,
  "hash": "sha256...",
  "timestamp": "ISO date",
  "notaryId": "uuid"
}
POST /api/blockpublish/publish

⛓️ Publish to Blockchain

Expected Response:

{
  "success": true,
  "txid": "transaction-hash",
  "verificationUrl": "https://whatsonchain.com/tx/...",
  "cost": "0.00001 BSV"
}

🎯 Live BSV Mainnet Integration

Real blockchain transactions with public verification URLs!

View Sample Transaction →
POST /api/credentialchain/credentials/issue

📚 Available Programs

➕ Create New Program

Program Creation Response:

{
  "success": true,
  "programId": "uuid",
  "programName": "Advanced Web3 Development",
  "status": "active"
}

🎓 Issue Certificate

Expected Response:

{
  "success": true,
  "credentialId": "uuid",
  "blockchainTx": "tx-hash",
  "verificationUrl": "public-verification-link"
}
POST /api/integrated/publish-signed

🔗 Complete Signed Publishing

Expected Response:

{
  "success": true,
  "signature": "3044...",
  "txid": "blockchain-hash",
  "verificationUrl": "public-verification",
  "workflow": "complete"
}

🎯 End-to-End Verification

Complete pipeline: Cryptographic signing + Blockchain publishing + Public verification