Architecture

Ender Network Architecture

Ender’s architecture is designed to make multi-chain interactions straightforward. Below we break down the core concepts of how Ender works under the hood.

Underlying Network and Technology

The Ender Network itself runs on a dedicated blockchain for coordination and consensus of intents:

  • Layer-1 Coordination: Ender uses its own blockchain network to record intents, state data, and final outcomes. This ensures there’s a canonical, tamper-proof record of multi-chain transactions.

  • Consensus & Security: During testnet, a centralized service coordinates intents. In the future, Ender will transition to a decentralized network (planned to use a Tendermint-based consensus via Cosmos SDK or similar frameworks). This means a set of independent validator nodes will secure the intent execution process, just like miners/validators secure transactions on a traditional blockchain.

  • Scalability: Because Ender deals with potentially high volumes of cross-chain actions, the design emphasizes efficiency. Batching of operations, off-chain computation for planning, and parallel execution are strategies Ender employs to scale intent handling.

Shared Network State Graph

Every blockchain maintains its own state (smart contract data, user balances, etc.), and these states are normally siloed per chain. Ender introduces a Shared Network State Graph that aggregates essential on-chain information from many chains into a single knowledge graph.

  • Unified Contract Registry: Each smart contract across integrated blockchains is represented in Ender’s global graph. For example, if the lending protocol Aave exists on Ethereum and Polygon, Ender’s state graph will have an entry for Aave with references to both chain instances.

  • Action Metadata: For each contract, Ender stores metadata about what it can do – function signatures, input/output formats, and how to validate its state. This abstraction means Ender “understands” actions like lend, borrow, swap, transfer, approve, across different contracts and chains.

  • Cross-Chain Relationships: The graph links related contracts and actions. If a new DeFi protocol or NFT marketplace emerges on any chain, it can be added to this graph, and immediately the network becomes aware of its capabilities.

Ender’s network state is like a living map of the decentralized world. It’s all-seeing and aware: any on-chain data or action that’s been integrated is available for use in intents. This drastically reduces the need for custom adapters in your code because Ender has them ready.


Intents: Declarative Multi-Chain Actions

An Intent is a declarative request that describes what outcome you want without specifying the exact steps to achieve it. It’s the core concept that unlocks multi-chain composability:

  • Expressiveness: An intent can be simple (“send 1 ETH to Bob on Polygon”) or complex (“take my yield from protocol X on Chain A, swap to token Y on Chain B, then provide liquidity on Chain C”).

  • Multi-Step, Multi-Chain: A single intent might involve multiple smart contract actions across different networks. Ender will coordinate all these steps for you.

  • Abstraction of Complexity: You don’t need to figure out which bridge to use or what sequence of swaps yields the best result; the network participants will handle it.

When an intent is submitted to Ender, it enters the network’s pipeline (more on participants below). Various specialized nodes collaborate to plan and execute the intent. From the developer’s perspective, you simply receive a result or a transaction that fulfills your request.

How Intents Get Executed:

The intent goes into Ender’s engine → A solution (execution plan) is formulated → The plan is validated and executed on relevant blockchains → Results are confirmed and returned. If multiple solutions are possible, Ender will choose an optimal one (based on factors like gas cost, liquidity, time).

Last updated