Skip to main content

Name Resolving

The name resolving is done by sending requests to the Indexer API.

For example, John wants to send PIVX to richard.pivx:

  1. Call the API to resolve the name
  2. Get the address and along with it gets all required proofs for checking
  3. Verify proofs (optional). the Merkle proof confirms the address is in the registry
  4. Send PIVX to the resolved address

John never sees the 78-character shielded address. He just types richard.pivx.

Verifying the Response

The merkle_proof lets you independently verify the resolution without trusting the API. It contains 128 sibling hashes from the Sparse Merkle Tree. Hash the address up through the levels. If you arrive at smt_root, the resolution is correct.

See Merkle Proofs for details.