- 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. This approval is a one-time requirement per vault, typically performed when a user interacts with a specific vault for the first time. Once approved, the user does not need to repeat this step for subsequent deposits into the same vault. The integrator must call two functions:- Get approval transaction, which requests the transaction body to sign.
- Submit approval transaction, which submits the signed transaction.
- OTP
- Passkey

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.
- OTP
- Passkey

Withdrawing from a Byzantine vault
Withdrawing funds from a Byzantine vault is a streamlined process that does not require vault approval. Withdrawals are available at any time, allowing users to access their funds whenever needed. The withdrawal process follows the same two-step transaction pattern as deposits:- Get withdrawal transaction, which requests the transaction body to sign.
- Submit withdrawal transaction, which submits the signed transaction.
- OTP
- Passkey


