Skip to main content
Your users interact with Railnet through the Conduit you deployed. The Conduit provides a simplified deposit and withdrawal interface — the same experience regardless of whether the underlying strategy uses sync protocols (Aave), async protocols (Ethena), or a mix of both.

Deposit through a Conduit

Users deposit base assets (e.g., USDC) and receive Conduit shares representing their proportional ownership.
1

Approve the Conduit

2

Create the deposit

For sync underlying strategies, the deposit settles in the same transaction — the user receives shares immediately.For async underlying strategies, the query enters PROCESSING. A keeper will call process() automatically when the operation is ready to settle.

Withdraw through a Conduit

Users return Conduit shares and receive base assets.
1

Approve Conduit shares

2

Create the withdrawal

Same behavior as deposits: sync strategies settle immediately, async strategies are settled automatically by keepers.

Automated settlement

For async operations, keepers call process() on your Conduit’s active queries when the underlying protocol is ready to settle. This means:
  • Your platform doesn’t need to build async monitoring infrastructure
  • Users never need to return to manually claim after cooldown periods
  • The experience is the same for sync and async strategies from the user’s perspective

Keeper setup

How keeper automation works and how to configure it.

Preview operations

Use estimate() to preview deposits and withdrawals including fees before executing:
estimate() includes fees and slippage. For pure share-to-asset conversion without fees, use convert() instead.