Infernet
SDK
Reference
Registry

Registry

Git Source (opens in a new tab)

Allows registering Infernet contracts for inter-contract discovery

Requires deploy-time decleration of contract addresses

Immutable with no upgradeability; used only for discovery

State Variables

COORDINATOR

Coordinator address

address public immutable COORDINATOR;

INBOX

Inbox address

address public immutable INBOX;

READER

Reader address

address public immutable READER;

FEE

Fee registry address

address public immutable FEE;

WALLET_FACTORY

Wallet factory address

address public immutable WALLET_FACTORY;

Functions

constructor

Initializes new Registry

Requires pre-computing expected deployed addresses

constructor(address coordinator, address inbox, address reader, address fee, address walletFactory);

Parameters

NameTypeDescription
coordinatoraddressCoordinator address
inboxaddressInbox address
readeraddressReader address
feeaddressFee registry address
walletFactoryaddressWallet factory address