Velo-Protocol
Searchβ¦
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
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
CLI
1
$ gvel credit redeem
2
Please input amount of stable credit: 1000
3
Please input asset code of credit to be redeemed : vTHB
4
π Please input passphrase: ****
5
π Redeeming vTHB
6
Redeem successfully. You got XX VELO.
7
π txHash is ${txHash}
Copied!
What's next?
You have now completed the flow of stable credit. Let's take a look at the price stablisation mechanism.
USING CLI - Previous
Mint stable credit
Next - USING CLI
Rebalancing the Reserve and Collateral Pool
Last modified
1yr ago
Copy link
Contents
Parameters
What's next?