{
  "schema": "vargamesh.wallet-standard.v1",
  "standard": {
    "id": "VMESH-HD-1",
    "name": "VargaMesh HD Recovery Wallet Standard",
    "version": "1.0.0",
    "status": "frozen",
    "effective_date": "2026-09-28",
    "network": "VargaMesh Mainnet",
    "currency": "VMESH"
  },
  "cryptography": {
    "elliptic_curve": "secp256k1",
    "mnemonic_standard": "BIP39",
    "supported_mnemonic_lengths": [
      12,
      24
    ],
    "required_interoperability_wordlist": "English",
    "seed_derivation": "BIP39",
    "hd_key_derivation": "BIP32"
  },
  "bip39_profile": {
    "interoperability_profile": "VMESH-HD-1",
    "default_passphrase": "",
    "note": "VMESH-HD-1 interoperability uses the empty BIP39 passphrase. A client adding user-supplied BIP39 passphrases must expose that as an explicit advanced feature and must never silently reinterpret an existing VMESH-HD-1 wallet."
  },
  "mainnet": {
    "coin_type": 22093,
    "coin_type_status": "VargaMesh proposed SLIP-0044 value (not registered upstream as of 2026-09-28)",
    "slip44_officially_registered": false,
    "native_segwit": {
      "purpose": 84,
      "address_type": "SegWit v0 P2WPKH",
      "receive_path": "m/84'/22093'/0'/0/index",
      "change_path": "m/84'/22093'/0'/1/index",
      "default": true
    },
    "legacy_compatibility": {
      "purpose": 44,
      "receive_path": "m/44'/22093'/0'/0/index",
      "change_path": "m/44'/22093'/0'/1/index",
      "default": false
    },
    "address_parameters": {
      "bech32_hrp": "vm",
      "wif_version_decimal": 190,
      "wif_version_hex": "0xBE",
      "legacy_p2pkh_version_decimal": 70,
      "legacy_p2sh_version_decimal": 50,
      "decimals": 8
    },
    "extended_key_versions": {
      "public_hex": "0x024D771C",
      "private_hex": "0x024D7707",
      "bitcoin_xpub_xprv_serialization": false
    }
  },
  "testnet": {
    "coin_type": 1,
    "note": "VargaMesh Testnet uses the standard test-network HD coin type 1. AuxPoW chain ID 22094 is not an HD wallet coin type."
  },
  "discovery": {
    "account": 0,
    "external_chain": 0,
    "change_chain": 1,
    "gap_limit": null,
    "note": "VMESH-HD-1 freezes key derivation and address compatibility. Address discovery/gap-limit policy remains client-specific."
  },
  "portable_recovery": {
    "canonical_recovery_material": "BIP39 mnemonic",
    "encrypted_application_backup": "implementation-specific",
    "rule": "A client-specific encrypted backup must not replace the BIP39 Recovery Phrase as the portable VMESH-HD-1 recovery mechanism."
  },
  "interoperability_test_vector": {
    "warning": "PUBLIC TEST VECTOR - NEVER USE FOR REAL FUNDS",
    "mnemonic": "abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon abandon about",
    "bip39_passphrase": "",
    "path": "m/84'/22093'/0'/0/0",
    "expected_address": "vm1q7w4sewykzmq3x5jyazqhefz7jptmnzylx3cjv2"
  },
  "conformance": {
    "requirements": [
      "A conforming implementation must derive the published interoperability test vector exactly.",
      "New recovery wallets must use BIP84 Native SegWit as the default receive tree.",
      "The Mainnet receive path must be m/84'/22093'/0'/0/index.",
      "The Mainnet change path must be m/84'/22093'/0'/1/index.",
      "Implementations must not describe coin type 22093 as an officially registered SLIP-0044 value until accepted upstream.",
      "Implementations must not silently change the derivation path for existing Recovery Phrases.",
      "Private keys, mnemonics and BIP39 seeds must never be transmitted to public VargaMesh APIs."
    ]
  },
  "references": {
    "human_readable": "https://vargamesh.com/wallet-standard/",
    "machine_readable": "https://vargamesh.com/api/v1/wallet-standard",
    "core_source": "https://github.com/ati1993de/vargamesh-core",
    "desktop_source": "https://github.com/ati1993de/vargamesh-desktop"
  },
  "implementations": {
    "desktop": {
      "name": "VargaMesh Desktop",
      "version": "v0.4.0",
      "status": "implemented",
      "scope": "Full HD descriptor wallet with multiple receive/change addresses and recovery rescan."
    },
    "webwallet": {
      "name": "VargaMesh WebWallet",
      "version": "continuous",
      "status": "implemented",
      "scope": "VMESH-HD-1 Recovery Wallet with index 0 as the active HD address; full gap-limit scanning is not yet implemented."
    },
    "android": {
      "name": "VargaMesh Android",
      "version": "v0.3.0",
      "status": "implemented",
      "scope": "12/24-word BIP39 Recovery Wallet using the documented VMESH Native SegWit derivation; legacy WIF/backups remain supported."
    }
  }
}
