Setup table credit
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
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.
$ gvel credit setup
Please input asset code: vTHB
Please input pegged value: 1
Please input pegged currency: THB
🔑 Please input passphrase: ****
💖 Setting up stable credit
// Where GB... is the default account
Stable credit vTHB set up for account GB... successfully.
🔗 txHash is ${txHash}
Now that you have set up your stable credit, go to Mint stable credit to mint it into existence!