- "content": "{\n \"$schema\": \"https://ide.bitauth.com/authentication-template-v0.schema.json\",\n \"description\": \"A standard single-factor authentication template that uses Pay-to-Public-Key-Hash (P2PKH), the most common authentication scheme in use on the network.\\n\\nThis P2PKH template uses BCH Schnorr signatures, reducing the size of transactions. Because the template uses a Hierarchical Deterministic (HD) key, it also supports watch-only clients.\",\n \"name\": \"Single Signature (P2PKH)\",\n \"entities\": {\n \"owner\": {\n \"description\": \"The individual who can spend from this wallet.\",\n \"name\": \"Owner\",\n \"scripts\": [\"lock\", \"unlock\"],\n \"variables\": {\n \"key\": {\n \"description\": \"The private key that controls this wallet.\",\n \"name\": \"Key\",\n \"type\": \"HdKey\"\n }\n }\n }\n },\n \"scripts\": {\n \"unlock\": {\n \"name\": \"Unlock\",\n \"script\": \"<key.schnorr_signature.all_outputs>\\n<key.public_key>\",\n \"unlocks\": \"lock\"\n },\n \"lock\": {\n \"lockingType\": \"standard\",\n \"name\": \"P2PKH Lock\",\n \"script\": \"OP_DUP\\nOP_HASH160 <$(<key.public_key> OP_HASH160\\n)> OP_EQUALVERIFY\\nOP_CHECKSIG\"\n }\n },\n \"supported\": [\"BCH_2020_05\", \"BCH_2021_05\", \"BCH_2022_05\"],\n \"version\": 0\n}"
0 commit comments