AMMO-AUTH: Item Authentication

  • 1 members
  • 1 followers
  • 70 views
  • More
lesson 2:
What Goes On Chain

Each AMMO-AUTH message is a data (OP_RETURN) output startin' with 414d4d4f ("AMMO"), a version byte and a type: 01 REGISTER, 02 TRANSFER, 03 REVOKE. The sendin' address is the maker or owner.

# REGISTER (v1): chip key hash (40 hex) + metadata hash (64 hex)
ammocoin-cli sendopreturn "<maker_A_address>" "414d4d4f0101<chip_pubkey_hash><metadata_hash>"
# TRANSFER: new owner key hash = the 40 hex inside 76a914...88ac
ammocoin-cli validateaddress "<new_owner_A_address>"
ammocoin-cli sendopreturn "<owner_A_address>" "414d4d4f0102<chip_pubkey_hash><new_owner_hash>"

Wait fer 6 or more confirmations before trustin' a REGISTER.

Safety: Never share yer private keys, seed phrase or wallet file with anybody. GLiBz never asks fer 'em, and neither does the QuarterMaster.