Skip to content

Improve README quick start and fix documentation issues#2

Open
sameerchore wants to merge 1 commit into
mainfrom
revert-1-codex/improve-documentation
Open

Improve README quick start and fix documentation issues#2
sameerchore wants to merge 1 commit into
mainfrom
revert-1-codex/improve-documentation

Conversation

@sameerchore
Copy link
Copy Markdown
Owner

Motivation

  • Improve onboarding in the top-level README by adding a concise quick start and clearer module selection guidance.
  • Fix remaining package/path typos and wording issues so examples and service references align with the actual org.hiero code structure.

Description

  • Added a Quick start section at the top of README.md:
    • hiero-enterprise-spring for Spring Boot
    • hiero-enterprise-microprofile for MicroProfile/Quarkus
    • link to docs/ for full documentation
  • Updated Spring usage snippet to use the correct import:
    • import org.hiero.spring.EnableHiero;
  • Improved wording in usage and sample sections for readability (for example, async usage sentence and REST endpoint phrasing).
  • Corrected managed-services and low-level client package references:
    • org.hiero.base.verification.ContractVerificationClient
    • org.hiero.base.mirrornode.*
    • org.hiero.base.protocol.ProtocolLayerClient
  • Fixed additional wording/typos in build/test guidance (for example, “The easiest way…”).

Testing

  • No automated tests were run because this is a documentation-only update.
  • Verified the latest commit only changes README.md.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 6935e16b87

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread README.md

```java
import org.hiero.spring.EnableHiero;
import com.open.elements.spring.hiero.EnableHiero;
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Restore the valid EnableHiero import in the Spring example

The usage snippet now imports com.open.elements.spring.hiero.EnableHiero, but that package does not exist in this repository (EnableHiero is defined under org.hiero.spring). Anyone copying this sample will hit an unresolved import and fail to bootstrap the Spring integration, so the README should keep the org.hiero.spring.EnableHiero import path.

Useful? React with 👍 / 👎.

Comment thread README.md
Comment on lines +138 to +140
- `org.hiero.base.verifcation.ContractVerificationClient`: to verify smart contracts
- `base.org.hiero.mirrornode.AccountRepository`: to query accounts
- `base.org.hiero.mirrornode.NetworkRepository`: to query network information
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Revert managed-service package names to existing namespaces

This section now lists non-existent FQCNs (org.hiero.base.verifcation... and base.org.hiero...), which are typos/inversions of the real package layout used by the codebase (org.hiero.base.verification, org.hiero.base.mirrornode, org.hiero.base.protocol). As written, developers cannot import the documented services, so these names should be corrected to the actual namespaces.

Useful? React with 👍 / 👎.

Comment thread README.md
The sample application is a simple Spring Boot application that reads has a REST endpoint at `localhost:8080/` and shows the hbar balance of the account `0.0.100` on the Hedera testnet.
To use the application, you need to have created a Hedera testnet account at the [Hedera portal](https://portal.hedera.com/).
The account information can be added to the `application.properties` file in the `hiero-enterprise-spring-sample` module:
The account information can be added to the `application.properties` file in the `hedera-spring-sample` module:
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Point Spring sample instructions to the real module name

The README now tells users to edit properties in hedera-spring-sample, but this repo’s sample module is hiero-enterprise-spring-sample. Following the current text sends users to a non-existent path and blocks quick-start setup, so the module reference should match the actual directory.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant