# Parameters

## `ens_registry_address` (string)

ENS Registry contract address for the target blockchain network. This contract is used to resolve ENS domain ownership and handle the initial ownership lookup.

Common Addresses:

- Polygon: 0x16742E546bF92118F7dfdbEF5170E44C47ae254b

- Ethereum Mainnet: 0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e

- Ethereum Sepolia: 0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e

Default: "0x16742E546bF92118F7dfdbEF5170E44C47ae254b" (Polygon)

### Setting the `ens_registry_address` parameter

    ...
    modparam("auth_arnacon", "ens_registry_address", "0x16742E546bF92118F7dfdbEF5170E44C47ae254b")
    ...

## `rpc_url` (string)

RPC endpoint URL for blockchain network communication. Used for all ENS registry and contract calls via JSON-RPC eth_call method. The module automatically detects and interacts with Name Wrapper contracts when needed.

Common Endpoints:

- Polygon Mainnet: https://polygon-rpc.com

- Ethereum Mainnet: https://eth.drpc.org

- Ethereum Sepolia: https://ethereum-sepolia-rpc.publicnode.com

Default: "https://polygon-rpc.com"

### Setting the `rpc_url` parameter

    ...
    modparam("auth_arnacon", "rpc_url", "https://polygon-rpc.com")
    ...

## `signature_timeout` (integer)

Timeout in seconds for signature validation. Signatures older than this timeout will be rejected to prevent replay attacks. The timestamp is extracted from the X-Data header and compared against the current system time.

Recommended Values:

- 30s - Default, balanced security and usability

- 60s - More lenient for slower networks

- 15s - Stricter security for high-security environments

Default: 30

### Setting the `signature_timeout` parameter

    ...
    modparam("auth_arnacon", "signature_timeout", 30)
    ...

## `debug_mode` (integer)

Enable debug logging for authentication operations. When enabled, detailed information about ENS resolution, signature verification, and authentication steps will be logged. Warning: May log sensitive authentication data.

Values:

- 0 - Debug disabled

- 1 - Debug enabled

Default: 0

### Setting the `debug_mode` parameter

    ...
    modparam("auth_arnacon", "debug_mode", 1)
    ...