Linkra Gateway — Simple Docs
Linkra Gateway is a cross-chain interoperability layer designed to connect fragmented blockchain ecosystems. It supports verifiable message passing and flexible execution with a modular architecture.
Quickstart
This is a conceptual quickstart. Linkra can be integrated through a single “gateway interface” that abstracts chain specifics via adapters and verification modules.
/// Conceptual pseudocode
gateway.sendMessage({
fromChain: "chainA",
toChain: "chainB",
payload: { action: "CALL", data: "..." },
execution: { mode: "atomic", gasLimit: 250000 }
})
gateway.onDelivered((receipt) => {
console.log("Delivered:", receipt.status)
})
Architecture
Linkra is a layered stack. Each layer can be upgraded without forcing dApps to rewrite integrations.
/// Example module wiring (conceptual)
gateway.useAdapter("chainA", adapterA)
gateway.useAdapter("chainB", adapterB)
gateway.useVerifier(verifierModule)
gateway.useRouter(routerModule)
gateway.useExecutor(executionModule)
Messages
A cross-chain message moves through normalization, verification, routing, and execution. Receipts can be used to confirm delivery and final execution status.
message = {
id: "0x…",
src: { chain: "A", sender: "…" },
dst: { chain: "B", target: "…" },
payload: { type: "TRANSFER|CALL", data: "…" },
proof: { type: "sig|light-client|zk", data: "…" }
}
The gateway aims to keep the user experience simple: request → verifiable delivery → execution receipt.
Relayers
Relayers transport cross-chain messages and can be incentivized by fees. A decentralized relayer set improves liveness and reliability, while verifiers keep trust assumptions minimal.
Fees
The fee framework is flexible: it can route protocol revenue, compensate relayers, and support application-specific fee logic.
fees = {
base: "network fee",
relayerReward: "delivery incentive",
protocolShare: "optional revenue",
custom: "app-specific rules"
}
Security
Linkra prioritizes minimal trust assumptions. Verification modules should be designed so relayers cannot forge execution without valid proofs. Future upgrades can include ZK verification for stronger guarantees.
FAQ
Is this a bridge? Linkra is a gateway layer that can support multiple bridge designs through modular adapters and verifiers.
Can I upgrade verification later? Yes. The design is built for future verifier upgrades, including ZK modules.
Does it support custom rules? Yes. Routing and execution can be extended with application-specific constraints.
