IBC Port
1 min read
Pronunciation
[I-B-C port]
Analogy
Like a dock terminal dedicated to a particular shipping company’s containers.
Definition
An endpoint on a blockchain module that binds to one or more IBC channels to send or receive packets for a specific application.
Key Points Intro
Ports demultiplex IBC traffic to application modules.
Key Points
Port ID: Human‑readable identifier (e.g., "transfer").
Binding: Modules register to ports during initialization.
Multiplexing: One port can have multiple channels.
Access control: Ports enforce send/receive permissions.
Example
The transfer application binds to port "transfer" to handle fungible token packets.
Technical Deep Dive
IBC keeper maintains `portBindings` map. `SendPacket` checks port is bound, then writes packet commitment. `OnRecvPacket` routes to module via port handler.
Security Warning
Unbound ports reject packets; ensure correct module registration.
Caveat
Port naming collisions can occur; use unique, well‑documented IDs.
IBC Port - Related Articles
No related articles for this term.