Skip to main content
A user deposit happens in three stages:
  1. A user must approve a Byzantine vault as a valid interaction target.
  2. A user must transform assets from fiat currency to stablecoins, known as on-ramping.
  3. A user must deposit these stablecoins into an Byzantine vault.

Approving a vault

Approving a vault is an additional security measure to ensure that the client’s wallet cannot interact with fraudulent smart contracts. The integrator must call two functions:
  1. Get approval transaction, which requests the transaction body to sign.
  2. Submit approval transaction, which submits the signed transaction.

On-ramping assets

On-ramping assets is done via Bridge, our on- and off-ramping partner.

Depositing into a Byzantine vault

Making the deposit is once again a two-step transaction.
  1. Get deposit transaction, which requests the transaction body to sign.
  2. Submit deposit transaction, which submits the signed transaction.
I