OPTXOPTX DOCS
Authentication

ERC-8004 Agent Wallet

504010

Non-transferable soulbound identity bound to gaze biometrics — planned identity layer.

Status: Roadmap. The ERC-8004 soulbound agent wallet is a planned identity layer; no contract is deployed today. Treat code samples below as design intent. For current JettChat auth, see JETT Auth.

The OPTX Agent Wallet (planned) implements a non-transferable, soulbound identity bound to gaze biometrics. Unlike standard wallets, the ERC-8004 interface links computational proof to the holder's identity.

Wallet Integration

// Connect Phantom or OKX wallet
import { useWallet } from "@solana/wallet-adapter-react"
import { PublicKey } from "@solana/web3.js"

// Canonical addresses — see lib/platform-constants / on-chain-addresses
const OPTX_MINT_DEVNET = new PublicKey("DSyauRAZwUd2BrTk3P8k2yUxxvcx5X4BBg3Gh3VbeRG3")
const POA_DEPIN_MAINNET = new PublicKey("85sqs4upQiPrvk1NMuyfHVQoW1EGdgk8m2cQb7uMxXTF")

function OPTXWallet() {
  const { publicKey, signTransaction } = useWallet()

  // Example: call PoA DePIN after a verified gaze session (design intent)
  const mintOPTX = async () => {
    // Requires valid PoA / AARON attestation
    // Use jettoptx-poa-depin SDK — do not hardcode ghost mints
    void OPTX_MINT_DEVNET
    void POA_DEPIN_MAINNET
    void publicKey
    void signTransaction
  }
}

Agent Metadata

Each OPTX Agent Wallet (planned) carries metadata that includes PoA attestation URI, gaze attestation hash, and AGT baseline weights.

{
  "agent_wallet": {
    "type": "ERC-8004",
    "soulbound": true,
    "metadata": {
      "poa_profile_uri": "https://jettoptics.ai/poa/profile/...",
      "gaze_attestation_hash": "0x...",
      "agt_baseline": { "COG": "0-100", "EMO": "0-100", "ENV": "0-100" },
      "min_gaze_cs": "network_param",
      "entropy": "network_param",
      "difficulty": "network_param"
    }
  }
}