TESTNET ONLINE: PECORINO PECORINO

signet-constants

What’s in this crate?

  • Chain IDs - Signet mainnet and testnet chain identifiers
  • Contract Addresses - Core contract deployments across all supported chains
  • System Parameters - Block times, slot durations, and other protocol constants
  • Token Addresses - Native USD and other system token addresses
  • Fee Constants - Base fees, priority fee calculations, and gas parameters

The constants crate provides a single source of truth for values used across the Signet ecosystem. Instead of hardcoding addresses and parameters throughout your application, import them from here.

Key Constants

Native Asset: Signet uses USD as its native asset (18 decimals), not ETH. This is reflected in all fee calculations and value transfers.

Slot Duration: 12 seconds per slot, inherited from Ethereum’s beacon chain timing.

Supported Chains: Constants for Ethereum mainnet, Base, Arbitrum, and other supported L1s and L2s.

Usage Example

1use signet_constants::{SIGNET_CHAIN_ID, ZENITH_ADDRESS, SLOT_DURATION};
2
3// Check if we're on Signet
4if chain_id == SIGNET_CHAIN_ID {
5    // Interact with Zenith at the canonical address
6    let zenith = Zenith::at(ZENITH_ADDRESS);
7}

This crate is primarily used internally by other SDK packages but can be useful for applications that need direct access to system constants.