ENG
Search
K
Comment on page

Understanding the Bridge

Custody of assets and monitoring of reserves

ALEX Bridge is custodial in that the tokens being bridged are held in contracts on Ethereum and Finance Smart Chain. Users can monitor the reserves real-time at

Ethereun mainnet

Binance Smart Chain

Latest circulating supply of sUSDT

You can check the latest circulating supply of sUSDT by calling get-total-supply function of the contract (please note the number is in 8-digit fixed notation, i.e. the last 8 digits represent the decimals).
Alternatively the same is also available at

Design overview

ALEX Bridge also is bi-directional or “two-way” bridge, meaning you can freely transfer assets between Stacks and Ethereum and vice versa.
Users interact with "Endpoints" on the source blockchain to lock assets to be bridged ("source asset"), and on the destination blockchain to receive the bridged asset ("destination asset").
Asset transfers from users to Endpoints are monitored by a group of "validators", who produce cryptographic proofs that say "X amount of source asset are sent by address A on the source blockchain for address B on the destination blockchain to receive Y amount of destination asset."
There is a minimum threshold of such proofs that must be provided and verified before the assets received into Endpoint can be sent to the relevant address.
Upon meeting such minimum threshold, a "relayer" calls into Endpoint with the proofs to trigger the transfer of the received destination assets to the relevant address.

Endpoints

Endpoints are the smart contracts that handle the asset transfers. They are owned by multisig contracts (Gnosis Safe on Ethereum and Executor DAO on Stacks) operated by ALEX LAB Foundation.
Users use Endpoints to trigger transfer of source assets. The destination assets are then sent by a relayer by producing cryptographic proofs.
That the assets are held by contracts owned by multisig contracts is important because this minimises the risk of a malicious actor stealing the private key and assets sent by users.
CoinFabrik audited the Endpoints.

Validators

Validators are responsible for producing cryptographic proofs, which must be verified by the Endpoints before transferring the destination assets to an address. Validators consist of ALEX LAB Foundation members and active community contributors.
Validators are important because this set-up minimises the risk of a malicious actor taking over the system (for example, a relayer).
CoinFabrik audited the codes relavant to Validator.

Relayers

Relayers are responsible for triggering the destination asset transfer upon gathering a minimum threshold of cryptographic proofs produced by the validators.
CoinFabrik audited the codes relavant to Relayer.