🚧 This documentation is currently under development. Content may be incomplete or subject to change. 🚧
Skip to content

Managing Handle Access

Welcome to the guide on managing handle access with Nox. This section will help you get started with controlling access to encrypted data.

Overview

Handles are the on-chain representation of encrypted data. Managing access to handles is crucial for ensuring that only authorized parties can decrypt and use the data. With Nox, you can easily manage handle access through direct interactions with the Nox protocol contract.

Addresses can have different roles written in the handle ACL contract, which determine their permissions:

role \ permissionsdecryptuse as inputadd viewerallow adminmake public
none
viewer
admin

What You'll Learn

  • Manage viewers
    • Check if an address is a viewer for a handle
    • Add viewers to a handle
  • Manage admins
    • Check if an address is an admin for a handle
    • Add admins to a handle
  • Manage public decryption
    • Check if a handle is publicly decryptable
    • Enable public decryption for a handle

Next Steps