Name Resolving
The name resolving is done by sending requests to the Indexer API.
For example, John wants to send ZEC to richard.zcash:
- Call the API to resolve the name
- Get the address and along with it gets all required proofs for checking
- Verify proofs (optional). the Merkle proof confirms the address is in the registry
- Send ZEC to the resolved address
John never sees the long ZCash address. He just types richard.zcash.
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.