TRAIN Docs home pagelight logodark logo
  • Dev Community
  • Github
  • Try TRAIN
  • Try TRAIN
Documentation
Specification
Bridge Deployment
Changelog
TRAIN Protocol
  • Introduction
  • Security
  • Using the Protocol
  • Contracts
Protocol Concepts
  • The Protocol
  • Atomic Swaps
  • Multi-hop transactions
  • Reward-Slash
  • Discovery
  • Auction
  • dApp
Research
  • Cross-Chain Trading
Protocol Concepts

The Protocol

Overview of the TRAIN protocol with all main components

The TRAIN protocol consists of four main components:

dApp/Integrator

The Bridge UI/dApp or integration in a wallet, connected to auctions and discovery contracts. This dApp sends a request to the auction, gets the quote and selected Solver, and executes the atomic swap.

The Discovery Contract

This contract is used as a registry for discovering Solvers and Networks in the protocol. Any new Solver and network should be added here.

The Auction

This is a standard Dutch auction used by Solvers to compete for user requests.

PreHTLC Contracts

These are the contracts responsible for ensuring secure asset exchange between the User and Solver on different chains.

ContractsOriginal HTLC
TRAIN Docs home pagelight logodark logo
xgithubtelegram

Protocol

HomeBridge AppDocs

Extra

Brand Assets
xgithubtelegram
Powered by Mintlify
Assistant
Responses are generated using AI and may contain mistakes.