-
Notifications
You must be signed in to change notification settings - Fork 126
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add bindings section to readme * Reorganize a little bit * Remove extra blank lines
- Loading branch information
Showing
7 changed files
with
76 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# C# bindings | ||
|
||
This directory contains C# bindings for the C-KZG-4844 library. | ||
|
||
## Prerequisites | ||
|
||
These bindings require .NET 6.0 (not 7.0). This can be found here: | ||
* https://dotnet.microsoft.com/en-us/download/dotnet/6.0 | ||
|
||
## Build & test | ||
|
||
Everything is consolidated into one command: | ||
``` | ||
make | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
build/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
# Python bindings | ||
|
||
This directory contains Python bindings for the C-KZG-4844 library. | ||
|
||
## Prerequisites | ||
|
||
These bindings require `python3` and `py-ecc`. | ||
``` | ||
sudo apt install python3 python3-pip | ||
python3 -m pip install py-ecc | ||
``` | ||
|
||
## Build & test | ||
|
||
Everything is consolidated into one command: | ||
``` | ||
make | ||
``` | ||
|
||
You should expect to see these messages at the bottom: | ||
``` | ||
python3 tests.py | ||
tests passed | ||
python3 py_ecc_tests.py | ||
comparison to py_ecc passed | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters