Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: add note about credit type to credit class tutorial #2026

Merged
merged 4 commits into from
Aug 28, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions docs/tutorials/user/credit-class-project-batch-management.md
Original file line number Diff line number Diff line change
Expand Up @@ -349,6 +349,8 @@ To create a credit class, run the following command:
regen tx ecocredit create-class [issuers] [credit-type-abbrev] [metadata]
```

The `credit-type-abbrev` must be one of the allowed credit types for your chain.
By default, the only allowed credit type is `C`, so unless you've manually configured other credit types in your chains genesis file, you will need to use `C` here.
Copy link
Member

@ryanchristo ryanchristo Aug 22, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should add to the allowlist and class fee section rather than instructing users to use C. There are several credit types on redwood and soon to be more on mainnet. We can link to the docs and demonstrate how to look up the credit types as we do for the allowlist and class fee.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That makes sense, if you share some of the references I'd be glad to give it a go modifying the tutorial as you suggest. Won't be able to do that until next week, but happy to do it. I'm just in need of some references/further info to better understand what you'd like to do. But if you'd just prefer to do it, I'm fine with that too

For more information about the command, add `--help` or check out [the docs](../../commands/regen_tx_ecocredit_create-class.md).

Now that you created a credit class, you can look up the credit class by id:
Expand Down