Skip to main contentA user deposit happens in three stages:
- A user must approve a Byzantine vault as a valid interaction target.
- A user must transform assets from fiat currency to stablecoins, known as on-ramping.
- 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:
- Get approval transaction, which requests the transaction body to sign.
- 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.
- Get deposit transaction, which requests the transaction body to sign.
- Submit deposit transaction, which submits the signed transaction.