Skip to content

Glossary

The terms this book uses, in alphabetical order. Each entry is one or two sentences and links to the page that explains it. Every term has its own anchor, so you can link to one: glossary.md#bridgeaa.

0-9

2-phase and 3-phase protocol

The 2-phase protocol is request on the source chain, then execution on the destination chain. The 3-phase protocol (BRIDGE_PROTOCOL_PHASES=3) adds an acknowledgement back on the source chain. See Relayers and cross-chain calls and Three phases.

A

AA acknowledgement

An acknowledgement sent by a second BridgeAA on the source chain (BRIDGE_ACK_SIGNER=aa) instead of by the relayer's own key. See EOA or AA acknowledgement.

ABCI

Application BlockChain Interface: the interface between a CometBFT process and the application it drives. Each virtual committee node has its own ABCI application in the Rust process. See The ABCI application.

Account abstraction

A feature of IOTA that lets an object be a transaction sender, with a Move function as its authenticator instead of a key. BridgeAA is such an account. See Account abstraction and BridgeAA.

Acknowledgement

The third phase: after the destination call succeeds, the handler calls bridge_source::acknowledge (or acknowledge_pure) on the source chain, which emits RequestAcknowledged. It is a claim by the relayer, not a proof. See Three phases.

ACL

Access control list. In BridgeAA, a map from (source_chain_id, source_sender) to the public key and scheme that vouches for that sender. See The ACL and Managing the ACL.

Agent

One concurrent task of loadtest with its own sender address and HTTP client. See Agents, requests and the interval.

Arrival type

How loadtest spaces the requests of one agent: default, staircase or poisson. See Arrival types.

Authenticator

The Move function (bridge_authenticator) that decides whether a transaction sent from a BridgeAA is valid. See The four checks and The authenticator, step by step.

B

Batch

A group of events the handler submits as one destination transaction, up to BATCH_SIZE. It multiplies the gas budget one coin must cover. See Batching and gas.

BCS

Binary Canonical Serialization: the byte format Move uses for values. Pure arguments and intents are BCS-encoded. See Programmable transaction blocks and Building PTBs from JSON.

BFT

Byzantine fault tolerant: consensus that lets honest nodes agree even when some nodes behave arbitrarily. See BFT in one page.

Bridge mode

EVENT_HANDLER_MODE=bridge. The handler builds the destination call from the event, and the BridgeAA is the sender. This is Track C. See Static mode and bridge mode.

BridgeAA

The destination account: a shared object with no private key, whose authenticator checks signed intents against an ACL. Defined in bridge_abstract_account. See Account abstraction and BridgeAA.

Byzantine node

A node that can behave arbitrarily: crash, lie, send different answers to different peers. The committee tolerates up to f of them. See Agreement: the consensus committee and Byzantine presets.

C

Chain id

A label the bridge makes up for a chain, not a network identifier. It must agree in the account, the ACL entry and the SourceConfig. See Testnet and Devnet in this repository.

Checkpoint

A group of finalised transactions on the chain. The backend response and both CSVs record the checkpoint height. See Checkpoints.

CometBFT

The BFT consensus engine (v0.38) each virtual committee node runs as a process. See The consensus committee inside.

Commit quorum

More than two thirds of the committee's voting power. A block commits only then. See BFT in one page.

Committee

The optional group of virtual relayer nodes that agree on an event before it is executed (CONSENSUS_ENABLED=true). See Agreement: the consensus committee and Adding the consensus committee.

CrossChainIntent

The signed description of one Move call: source chain and sender, target chain, package, module, function, arguments and type arguments. The relayer signs it and the authenticator verifies it. See The intent.

CrossChainRequest

The event bridge_source::request emits on the source chain, carrying the fields of an intent plus a request_id. See The path of a request and Move API and abort codes.

Cursor

The position of the listener in the source chain's event stream, saved in data/cursor.json. It moves only after a whole page of events has been forwarded. See The cursor.

D

Dead slot

A gas coin below LOADTEST_GAS_BUDGET_BRIDGE. See Sizing the gas pool.

Delivery key

CONSENSUS_DELIVERY_KEY: the shared secret (at least 32 characters) under which the committee signs deliveries with HMAC-SHA256 and the handler verifies them. See Adding the consensus committee.

Delivery threshold

⌊(n−1)/3⌋ + 1, that is f + 1 (capped at the number of live nodes, and at least 1): the number of commit reports after which the committee hands an event to the executor. See BFT in one page.

Destination chain

The chain on which the requested call runs. In the sample configuration it is Devnet. See Testnet and Devnet in this repository.

Digest

The identifier of a transaction. The handler logs the digest of each batch, and bridge_results.csv records it. See Verifying and measuring.

E

EOA acknowledgement

An acknowledgement sent as an ordinary transaction from the relayer's key (BRIDGE_ACK_SIGNER=eoa, the default). EOA means externally owned account. See EOA or AA acknowledgement.

Event

A typed record a Move module emits and the chain stores with the transaction. The bridge uses events as its message bus. See Events.

Executor

The component that carries out a committed event on the destination chain: the event handler. The committee delivers to it (CONSENSUS_EXECUTOR_URL). See From commit to delivery.

F

f

The number of faulty or Byzantine nodes a committee of n nodes tolerates: f ≤ ⌊(n − 1) / 3⌋. See BFT in one page and the calculator.

Finality

The point at which the network has settled a submitted transaction. The handler error timed-out before finality could be reached (code 14) is usually a sender missing from the ACL. See Errors and Troubleshooting.

G

Gas budget

The ceiling you set on a transaction. It is a per-transaction reservation that one coin must cover; the cost actually charged is at most the budget. See Gas.

Gas coin

An owned object that pays for a transaction. It serves one transaction at a time. See Gas.

Gas pool

The set of gas coins the handler claims at startup (EVENT_HANDLER_GAS_COINS) and hands out one per transaction. A coin that cannot cover the budget is retired. See Gas pool sizing and The gas pool.

H

Handler

The event_handler binary: it receives events, builds, signs and submits the destination transaction, and writes bridge_results.csv. See The event handler.

Hybrid mode

A deploy.sh mode that starts backend, loadtest, event_listener and event_handler together (plus the committee when enabled). The other modes are bridge and benchmark. See Deploying the stack.

I

Immutable object

An object that is frozen: readable by anyone, changeable by no one. SourceConfig is one. See Objects.

Intent

Short for CrossChainIntent.

K

Keystore

The iota.keystore JSON file that holds the signing keys the backend, loadtest and the handler use (EVENT_HANDLER_KEYSTORE_PATH in the handler, src/bin/event_handler.rs). The repository ships one with test keys only. See Keystore.

L

Legacy abstract_account path

The deprecated older path: ENABLE_AA, /api/SendAAPTB, aa_init, the AA_* variables and an abstract_account package whose Move source is not in this repository. Replaced by BridgeAA. See Legacy: the abstract_account path.

Listener

The event_listener binary: it polls the source chain for events and posts each to the handler, or to the committee when it is on. See The event listener.

M

Move call

One command of a PTB: a package, module and function, with type arguments and arguments. See Programmable transaction blocks.

O

Object

The unit of state on IOTA: an ID and a type. It is owned, shared or immutable. See Objects.

P

PTB

Programmable transaction block: one transaction made of an ordered list of commands. In this framework the commands are Move calls. See Programmable transaction blocks and Writing a payload.

Pure argument

An argument that is plain BCS bytes in the transaction, not an object and not the result of another command. Bridged calls must be all-pure. See Why only pure arguments are matched.

Q

Quorum

The number of nodes that must agree for a block to commit. In the committee, more than two thirds of the voting power. See Commit quorum.

R

Relayer

An off-chain program that watches one chain and submits a transaction on another. Here it is the listener and the handler. See Relayers and cross-chain calls.

Replay protection

What stops an event being executed twice. It is off-chain: the listener's bounded set of forwarded ids (EVENT_LISTENER_DEDUPE_CAPACITY, default 10,000). See Replay protection is off-chain.

Request id

The request_id field of a CrossChainRequest. It correlates requests and is not part of the intent. See The intent.

Retired coin

A gas coin the pool has flagged as unable to cover a full batch budget. It is skipped for the rest of the run. See Lifecycle of a coin.

S

Shared object

An object anyone can use. Every transaction that uses it goes through consensus. The BridgeAA is one. See Objects.

Source chain

The chain on which a request is emitted and the listener watches. In the sample configuration it is Testnet. See Testnet and Devnet in this repository.

SourceConfig

The frozen object created by bridge_source::create_config; every request call takes it. See One-time bridge setup and Objects.

Static mode

EVENT_HANDLER_MODE=static. The handler treats each event as a trigger and runs one fixed call signed by the relayer's key. This is Track B. See How static mode works.

V

Virtual node

One member of the committee: a CometBFT process with its own ABCI application, all in one container. See The consensus committee inside.