Velo-Protocol
Search…
Setup table credit

Parameters

In Testnet, we only support 3 currencies; SGD, THB and USD
Name
Description
Required?
Validation
assetCode
The name of your custom asset.
Yes
    Unique for trusted partner.
    Correct format (1-7 alphanumeric characters).
peggedCurrency
The currency you want to pegged this asset to.
Yes
    Must be in [SGD, THB, USD].
peggedValue
The ratio of currency value vs 1 unit of custom asset.
Yes
    Must be a positive number greater than 0 and has less than or equal to 7 decimal places.
CLI
1
$ gvel credit setup
2
Please input asset code: vTHB
3
Please input pegged value: 1
4
Please input pegged currency: THB
5
πŸ”‘ Please input passphrase: ****
6
πŸ’– Setting up stable credit
7
// Where GB... is the default account
8
Stable credit vTHB set up for account GB... successfully.
9
πŸ”— txHash is ${txHash}
Copied!

What's next?

Now that you have set up your stable credit, go to Mint stable credit to mint it into existence!
Last modified 1yr ago
Copy link