Skip to content

Commit

Permalink
docs: add note about credit type to credit class tutorial (backport #…
Browse files Browse the repository at this point in the history
…2026) (#2028)

Co-authored-by: Kyle Lawlor-Bagcal <[email protected]>
  • Loading branch information
mergify[bot] and wgwz authored Aug 28, 2023
1 parent 33a70da commit d734e31
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions docs/tutorials/user/credit-class-project-batch-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,9 +315,9 @@ A credit class represents a collection of projects and issuers whereby the proje

For more information about credit classes, see [Ecocredit Concepts](../../modules/ecocredit/01_concepts.md).

### Allowlist and Fee
### Allowlist, Type, and Fee

Before we create a credit class, we need to check the [credit class creator allowlist](../../modules/ecocredit/01_concepts.md#credit-class-creator-allowlist) and that we have enough tokens for the credit class creation fee.
Before we create a credit class, we need to check the [credit class creator allowlist](../../modules/ecocredit/01_concepts.md#credit-class-creator-allowlist), the available [credit types](../../modules/ecocredit/01_concepts.md#credit-type), and that we have enough tokens for the credit class creation fee.

To check whether the credit class creator allowlist is enabled, run the following command:

Expand All @@ -331,13 +331,21 @@ To check allowed credit class creators (only if allowlist enabled), run the foll
regen q ecocredit allowed-class-creators
```

To check available credit types, run the following command:

```sh
regen q ecocredit credit-types
```

To check the credit class creation fee, run the following command:

```sh
regen q ecocredit class-fee
```

You should see that the allowlist is disabled and therefore any account can create a credit class. You should also see the token amount and denomination needed to create a credit class, which we add to the next command using the `--class-fee` flag.
If you are connected to Redwood Testnet, you should see that the allowlist is disabled and therefore any account can create a credit class. You should also see the list of available credit types, including the `credit-type-abbrev` for each credit type, and the token amount and denomination for the credit class creation fee, which we add to the next command using the `--class-fee` flag.

The values queried above are all managed through an on-chain governance process, meaning these values can be updated via governance proposals. For more information about submitting governance proposals to update these values, check out [Message-Based Governance Proposals](./message-based-governance-proposals.md).

### Create Credit Class

Expand Down

0 comments on commit d734e31

Please sign in to comment.