Velo-Protocol
  • Welcome to Velo-Protocol
  • 🏀 GETTING STARTED
  • Prerequisite
  • Architecture
  • 🏀 BASE CONCEPTS
    • DRS Mechanism
    • Setup stable credit
    • Mint stable credit
    • Redeem stable credit
    • Rebalancing the Reserve and Collateral Pool
  • 🏀 USING CLI
    • Using CLI
    • Setup table credit
    • Mint stable credit
    • Redeeming stable credit
    • Rebalancing the Reserve and Collateral Pool
  • 🏀 USING SDK
    • Using SDK
    • Setup stable credit
    • Mint stable credit
    • Redeeming stable credit
    • Rebalancing the Reserve and Collateral Pool
Powered by GitBook
On this page
  • Parameters
  • What's next?

Was this helpful?

  1. USING CLI

Redeeming stable credit

Parameters

Name

Description

Required?

Validation

assetCode

The asset code of price-stable credit that you want to redeem.

Yes

  • Already been setup

  • Correct format (1-7 alphanumeric characters)

issuer

The issuing account of the stable credit to be redeem.

Yes

  • Stellar account format

  • Issuing account of stable credit created in Velo system

amount

The amount of stable credit you which to exchange into VELO token.

Yes

  • Must be a positive number greater than 0 and has less than or equal to 7 decimal places

$ gvel credit redeem
Please input amount of stable credit: 1000
 Please input asset code of credit to be redeemed : vTHB
🔑 Please input passphrase: ****
💖 Redeeming vTHB
Redeem successfully. You got XX VELO.
🔗 txHash is ${txHash}

What's next?

You have now completed the flow of stable credit. Let's take a look at the price stablisation mechanism.

PreviousMint stable creditNextRebalancing the Reserve and Collateral Pool

Last updated 4 years ago

Was this helpful?

🏀