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: Update readme.md #407

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

spoo-bar
Copy link

@spoo-bar spoo-bar commented Oct 1, 2024

  • Including details about the new assets and modules and
  • Removing token factory specific details
  • Moving some stuff around to organize the flow better

Copy link

coderabbitai bot commented Oct 1, 2024

Walkthrough

The readme.md file has been significantly restructured and updated to improve clarity and usability. Key sections have been renamed and reorganized, including the introduction to Noble as a Cosmos application-specific blockchain. Content from various sections has been consolidated, with the removal of outdated information and the addition of new subsections for developers. The document now features a clear table of contents, updated integration instructions, and a refined governance structure, focusing on the protocol's operation and asset implementation.

Changes

File Change Summary
readme.md Restructured with updated sections and content: Overview to Contents, Noble App-Chain Design to Noble Chain Design, Tokenfactory to Assets on Noble, Security Guarantees to Protocol Features, and Connecting to Noble to Noble on the Interchain. Expanded developer instructions and clarified governance details. Removed outdated sections on partnerships and external contributions.

Poem

In the garden of code, where changes bloom,
Noble's new path dispels the gloom.
With clear guides for all who dare,
Developers find joy in the air.
A hop, a skip, to knowledge we race,
In this vibrant, structured, digital space! 🐇✨


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

❤️ Share
🪧 Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>, please review it.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (Invoked using PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

@spoo-bar spoo-bar marked this pull request as ready for review October 8, 2024 13:51
@spoo-bar spoo-bar requested a review from a team as a code owner October 8, 2024 13:52
Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🧹 Outside diff range and nitpick comments (7)
readme.md (7)

4-6: Excellent introduction enhancement!

The expanded introduction provides a clear and informative overview of Noble's purpose, vision, and technical foundation. The addition of links to relevant assets enhances the usefulness of the documentation.

For consistency, consider adding hyperlinks to "Cosmos-SDK" and "application-specific blockchain" in the last sentence, similar to how you've linked other terms.

🧰 Tools
🪛 LanguageTool

[style] ~4-~4: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...onerium's EURe](https://monerium.com/). Noble’s vision is to be the world’s premier i...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~4-~4: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...onnect to other blockchains seamlessly. Noble leverages the Cosmos-SDK – a flexible t...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


18-22: Improved focus on key chain design aspects

The renamed and condensed "Noble Chain Design" section provides a clearer overview of the consensus mechanism and economic security model. This streamlining aligns well with the PR objectives.

Consider adding a brief mention of the Owner, Minter, and Blacklist roles that were removed, or provide a link to more detailed documentation about these roles if available. This would help maintain the completeness of the information while keeping the main content concise.


24-32: Excellent presentation of assets on Noble

The renamed "Assets on Noble" section with the added table provides a clear and concise overview of the assets implemented on Noble. This aligns well with the PR objective of adding details about new assets and modules.

For consistency, consider adding hyperlinks to the issuer names in the table, similar to how you've linked the module names.


35-45: Great addition of protocol features overview

The new "Protocol features" section with its table of modules and their features provides valuable information about Noble's capabilities. This addition aligns well with the PR objective of enhancing documentation about the project's offerings.

For consistency, consider adding hyperlinks to the module names in the "Module name" column, similar to how you've linked some of them already.

🧰 Tools
🪛 LanguageTool

[misspelling] ~42-~42: This word is normally spelled with a hyphen.
Context: ...llows a custom account type on Noble to auto forward any tokens it receives to an address on...

(EN_COMPOUNDS_AUTO_FORWARD)


Line range hint 55-89: Improved clarity in governance documentation

The reformatted Noble Upgrades & Governance section provides clearer information about the Noble Maintenance Multisig (NMM) and its governance structure. This improvement aligns well with the PR objective of enhancing content organization.

Consider the following minor formatting improvements for consistency:

  1. Use bold text for the main subsection titles (e.g., Upgrade Authority, Parameter Changes, etc.) to improve readability.
  2. Ensure consistent capitalization in bullet points (e.g., "Noble (the organization): Canada" vs "Iqlusion: USA").
  3. Consider using a numbered list for the proposed geographies to match the format used in other parts of the document.
🧰 Tools
🪛 Markdownlint

95-95: null
Bare URL used

(MD034, no-bare-urls)


96-96: null
Bare URL used

(MD034, no-bare-urls)


97-97: null
Bare URL used

(MD034, no-bare-urls)


99-99: null
Fenced code blocks should have a language specified

(MD040, fenced-code-language)


109-109: null
Fenced code blocks should have a language specified

(MD040, fenced-code-language)


89-121: Valuable addition of developer instructions and contribution guidance

The new sections for developers, including setup instructions and local running guidelines, provide valuable information for those looking to work with Noble. The update to the Contributing section clearly states the project's stance on external contributions.

Consider the following improvements for the developer instructions:

  1. Use code blocks with language specifiers for the installation commands to improve readability and enable syntax highlighting. For example:

    git clone https://github.com/noble-assets/noble
    cd noble
    make install
  2. Consider adding a brief explanation of what the play.sh script does before instructing users to run it.

  3. For consistency, consider using bullet points for the software requirements instead of a numbered list, as bullet points are used more frequently throughout the document.

  4. In the "For Node Operators & Validators" section, correct the typo "testent" to "testnet".

🧰 Tools
🪛 Markdownlint

95-95: null
Bare URL used

(MD034, no-bare-urls)


96-96: null
Bare URL used

(MD034, no-bare-urls)


97-97: null
Bare URL used

(MD034, no-bare-urls)


99-99: null
Fenced code blocks should have a language specified

(MD040, fenced-code-language)


109-109: null
Fenced code blocks should have a language specified

(MD040, fenced-code-language)


Line range hint 1-121: Excellent overall restructuring and content enhancement

The significant restructuring and reformatting of the readme.md file have greatly improved its organization, readability, and informativeness. These changes align well with the PR objectives of enhancing documentation and improving content organization.

To further improve consistency throughout the document:

  1. Ensure all external references (e.g., Cosmos-SDK, application-specific blockchain) are consistently hyperlinked.
  2. Standardize the use of bullet points vs. numbered lists for similar types of content.
  3. Ensure consistent capitalization in headings and list items.
  4. Consider adding a brief introduction or purpose statement at the beginning of each main section to provide context.

These minor adjustments will further enhance the document's professional appearance and usability.

🧰 Tools
🪛 LanguageTool

[style] ~4-~4: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...onerium's EURe](https://monerium.com/). Noble’s vision is to be the world’s premier i...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~4-~4: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...onnect to other blockchains seamlessly. Noble leverages the Cosmos-SDK – a flexible t...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[misspelling] ~42-~42: This word is normally spelled with a hyphen.
Context: ...llows a custom account type on Noble to auto forward any tokens it receives to an address on...

(EN_COMPOUNDS_AUTO_FORWARD)


[style] ~49-~49: As a shorter alternative for ‘able to’, consider using “can”.
Context: ... ## Noble on the Interchain App-chains are able to permissionlessly connect to Noble [via ...

(BE_ABLE_TO)

🪛 Markdownlint

51-51: Expected: h3; Actual: h4
Heading levels should only increment by one level at a time

(MD001, heading-increment)

📜 Review details

Configuration used: CodeRabbit UI
Review profile: CHILL

📥 Commits

Files that changed from the base of the PR and between 56f08ad and d73f496.

📒 Files selected for processing (1)
  • readme.md (2 hunks)
🧰 Additional context used
🪛 LanguageTool
readme.md

[style] ~4-~4: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...onerium's EURe](https://monerium.com/). Noble’s vision is to be the world’s premier i...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[style] ~4-~4: Three successive sentences begin with the same word. Consider rewording the sentence or use a thesaurus to find a synonym.
Context: ...onnect to other blockchains seamlessly. Noble leverages the Cosmos-SDK – a flexible t...

(ENGLISH_WORD_REPEAT_BEGINNING_RULE)


[misspelling] ~42-~42: This word is normally spelled with a hyphen.
Context: ...llows a custom account type on Noble to auto forward any tokens it receives to an address on...

(EN_COMPOUNDS_AUTO_FORWARD)


[style] ~49-~49: As a shorter alternative for ‘able to’, consider using “can”.
Context: ... ## Noble on the Interchain App-chains are able to permissionlessly connect to Noble [via ...

(BE_ABLE_TO)

🪛 Markdownlint
readme.md

51-51: Expected: h3; Actual: h4
Heading levels should only increment by one level at a time

(MD001, heading-increment)


95-95: null
Bare URL used

(MD034, no-bare-urls)


96-96: null
Bare URL used

(MD034, no-bare-urls)


97-97: null
Bare URL used

(MD034, no-bare-urls)


99-99: null
Fenced code blocks should have a language specified

(MD040, fenced-code-language)


109-109: null
Fenced code blocks should have a language specified

(MD040, fenced-code-language)

🔇 Additional comments (1)
readme.md (1)

8-16: Great addition of a table of contents!

The new table of contents significantly improves the document's navigability and provides a clear overview of its structure. This enhancement aligns well with the PR objective of improving content organization.

Comment on lines +47 to +53
## Noble on the Interchain

App-chains are able to permissionlessly connect to Noble [via IBC](https://medium.com/the-interchain-foundation/eli5-what-is-ibc-def44d7b5b4c), a universal interoperability protocol that allows two different blockchains to communicate with one another, garaunteeing reliable, ordered, and authenticated communication.

How to integrate with Noble?
#### How to integrate with Noble?

To establish a connection to Noble (or any 2 IBC compatible chains), developers will be required to set up a relayer on an existing path. This [tutorial](https://github.com/cosmos/relayer/blob/main/docs/create-path-across-chain.md) gives an overview of how to create a channel, client, and connection and to start relaying IBC packets.
To establish a connection to Noble (or any 2 IBC compatible chains), anybody can set up a relayer on an existing path. This [tutorial](https://github.com/cosmos/relayer/blob/main/docs/create-path-across-chain.md) gives an overview of how to create a channel, client, and connection and to start relaying IBC packets.
Copy link

Choose a reason for hiding this comment

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

⚠️ Potential issue

Improved interoperability documentation

The renamed "Noble on the Interchain" section provides clearer information about Noble's interoperability and integration instructions. This improvement aligns well with the PR objective of enhancing documentation.

There's an inconsistency in the heading level for "How to integrate with Noble?". It's currently an h4 (####) when it should be an h3 (###) to maintain the correct hierarchy.

Please update the heading as follows:

-#### How to integrate with Noble? 
+### How to integrate with Noble?
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
## Noble on the Interchain
App-chains are able to permissionlessly connect to Noble [via IBC](https://medium.com/the-interchain-foundation/eli5-what-is-ibc-def44d7b5b4c), a universal interoperability protocol that allows two different blockchains to communicate with one another, garaunteeing reliable, ordered, and authenticated communication.
How to integrate with Noble?
#### How to integrate with Noble?
To establish a connection to Noble (or any 2 IBC compatible chains), developers will be required to set up a relayer on an existing path. This [tutorial](https://github.com/cosmos/relayer/blob/main/docs/create-path-across-chain.md) gives an overview of how to create a channel, client, and connection and to start relaying IBC packets.
To establish a connection to Noble (or any 2 IBC compatible chains), anybody can set up a relayer on an existing path. This [tutorial](https://github.com/cosmos/relayer/blob/main/docs/create-path-across-chain.md) gives an overview of how to create a channel, client, and connection and to start relaying IBC packets.
## Noble on the Interchain
App-chains are able to permissionlessly connect to Noble [via IBC](https://medium.com/the-interchain-foundation/eli5-what-is-ibc-def44d7b5b4c), a universal interoperability protocol that allows two different blockchains to communicate with one another, garaunteeing reliable, ordered, and authenticated communication.
### How to integrate with Noble?
To establish a connection to Noble (or any 2 IBC compatible chains), anybody can set up a relayer on an existing path. This [tutorial](https://github.com/cosmos/relayer/blob/main/docs/create-path-across-chain.md) gives an overview of how to create a channel, client, and connection and to start relaying IBC packets.
🧰 Tools
🪛 LanguageTool

[style] ~49-~49: As a shorter alternative for ‘able to’, consider using “can”.
Context: ... ## Noble on the Interchain App-chains are able to permissionlessly connect to Noble [via ...

(BE_ABLE_TO)

🪛 Markdownlint

51-51: Expected: h3; Actual: h4
Heading levels should only increment by one level at a time

(MD001, heading-increment)

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