-
Notifications
You must be signed in to change notification settings - Fork 109
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
Make Structure of README's more Consistent and Fix Dead Link #507
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,6 +11,14 @@ high-level languages, providing convenient wrappers around C functions. These | |
bindings are intended to be used by Ethereum clients, to avoid re-implementation | ||
of crucial cryptographic functions. | ||
|
||
For all bindings, you first need to make sure that the `blst` submodule is correctly pulled after clone. | ||
To do so, you may need to run: | ||
|
||
``` | ||
git submodule update --init | ||
``` | ||
|
||
|
||
| Language | Link | | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I believe a single blank line between paragraphs/sections is most common in this repo. |
||
|----------|--------------------------------------| | ||
| C# | [README](bindings/csharp/README.md) | | ||
|
@@ -88,8 +96,8 @@ C-KZG-4844 is not expected to be used outside the bindings. | |
The source code of C-KZG-4844 was audited by [Sigma | ||
Prime](https://sigmaprime.io/) in June 2023. You can find the [audit | ||
report](doc/audit/Sigma_Prime_Ethereum_Foundation_KZG_Implementations_Security_Assessment.pdf) | ||
in the `doc/audit/` directory. Notably, the audit was for commit `fd24cf8` and | ||
code introduced for EIP-7594 *has not been audited yet*. | ||
in the `doc/audit/` directory. Notably, the audit was for commit `fd24cf8` and | ||
code introduced for EIP-7594 *has not been audited yet*. | ||
|
||
### Why C? | ||
|
||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
# Nim bindings | ||
# Nim Bindings for the C-KZG Library | ||
|
||
This directory contains Nim bindings for the c-kzg-4844 library. | ||
This directory contains Nim bindings for the C-KZG-4844 library. | ||
|
||
## Requirements | ||
## Prerequisites | ||
|
||
These bindings support Nim compiler version 1.2, 1.4, 1.6, and devel. | ||
|
||
|
@@ -12,6 +12,14 @@ You also need to install dependencies: | |
nimble install stew | ||
``` | ||
|
||
## Installation | ||
Install via nimble: | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Add blank line between these. |
||
``` | ||
nimble install https://github.com/ethereum/c-kzg-4844 | ||
``` | ||
|
||
|
||
## Tests | ||
|
||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Delete second blank line. |
||
Currently, reference tests only support Nim compiler version 1.4, and 1.6 because of yaml library limitations. | ||
|
@@ -36,12 +44,6 @@ Or from c-kzg-4844 root folder: | |
nimble test | ||
``` | ||
|
||
## How to use these bindings in your project | ||
|
||
Install via nimble: | ||
|
||
``` | ||
nimble install https://github.com/ethereum/c-kzg-4844 | ||
``` | ||
## Usage | ||
|
||
Then import `kzg4844/kzg` or `kzg4844/kzg_abi` into your project. | ||
After installation, import `kzg4844/kzg` or `kzg4844/kzg_abi` into your project. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hmm we should try to fix the Makefiles so this isn't necessary. We can do something like this:
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will remove this comment and we can open another PR for fixing the Makefiles. :)