Setup table credit
In Testnet, we only support 3 currencies; SGD, THB and USD
Name | Description | Required? | Validation |
assetCode | The name of your custom asset. | Yes |
|
peggedCurrency | The currency you want to pegged this asset to. | Yes |
|
peggedValue | The ratio of currency value vs 1 unit of custom asset. | Yes |
|
CLI
$ 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!
Last modified 2yr ago