# AccountRegistry (/docs/risex/contracts/contract-abi/account-registry)

# AccountRegistry

Use this ABI when you interact with the contract that registers accounts and resolves `userId` values for protocol users.

## ABI

The canonical ABI for this contract is published as JSON:

**[AccountRegistry.json](/risex/abis/AccountRegistry.json)**

You can open the link in a browser, save the file into your repository, or fetch it from your deployment pipeline. The same file is included when you use **Download all ABIs (ZIP)** on the [Contract ABIs overview](/docs/risex/contracts/contract-abi).

## Integration notes

* **viem / wagmi:** Import the JSON (or load it at runtime) and pass it as `abi` to `getContract`, `readContract`, `writeContract`, or equivalent helpers.
* **ethers:** Pass the parsed ABI array to `new Contract(address, abi, runner)`.
* **Addresses:** Use [Deployments](/docs/risex/contracts/deployments) to resolve the live address for each environment.

## See also

* [Contract ABIs overview](/docs/risex/contracts/contract-abi)
* [Deployments](/docs/risex/contracts/deployments)
