Arcana Smart Contract Types
Estimated time to read: 2 minutes
Arcana Auth uses different smart contracts to ensure user data privacy and access control. Some contracts are deployed by default, while others activate when apps register. The protocol uses an upgradable proxy contract pattern.
Proxy Contract Patterns
Multiple upgradable proxy contract patterns are available, including diamond proxy, transparent proxy, beacon proxy, and UUPS proxy.
Arcana Auth uses the following proxy contract patterns:
- UUPS proxy
- Beacon proxy
Arcana Contract Types
The smart contracts in Arcana Auth fall into two categories:
-
Core System Contracts: These singleton contracts implement the core Arcana Auth protocol.. Not all of them store data (program state).
-
dApp Contracts: Deployed per app after registration with Arcana Developer Dashboard. Only registered apps can integrate with the Arcana Auth SDK..