Justin Traglia
8aa78231f2
Check UInt8Array lengths ( #126 )
2023-02-14 15:11:10 -06:00
Justin Traglia
9076280cd2
Add compute_kzg_proof to nodejs bindings ( #92 )
2023-01-27 15:15:17 +00:00
Justin Traglia
03b90ef63f
Use Bytes48 for commitments/proofs ( #86 )
...
* Start to use bytes48 type
* Update java bindings
* Update variable names
* Update csharp bindings
* Update node.js bindings
* Update python bindings
* Fix mistake in python bindings
* Add new functions
* Fix nit in java bindings
* Update variable names in java bindings
* Compare to point at infinity
* Update bytes_to_bls_field doc
* Add todo
* Do key validation
* Remove bytes_to_g1
* Fix bug & add remark
* Fix memcmp mistake
* Fix nit in nodejs bindings
* Fix another nit
* Update nodejs parameter names
* Remove to_proof() and to_commitment()
* Fix bug
2023-01-26 14:53:30 +00:00
Justin Traglia
8907fbcfe2
Expose `compute_kzg_proof` ( #80 )
...
* Expose computeKzgProof
* Revert changes to bytes_to/from_bls_field
* Update comments
* Revert changes to bytes_from_bls_field
* Revert change to parameter name
* Add compute_kzg_proof to readme
* Refactor in support of asn's PR
* Clean up a little
* Fix param name doc
* Introduce Bytes32 type
* Update bindings
* Replaces bytes with b to match spec
2023-01-24 18:23:42 +00:00
Simonas Kalpokas
4c115844e2
Add newline in nodejs trusted setup transformation ( #78 )
2023-01-20 16:37:38 +00:00
dancoffman
4ccc48cbff
Expose verifyKzgProof
2022-12-13 11:21:43 -08:00
dancoffman
242ba0adf9
Add ability to parse JSON trusted setup to text format expected by C-KZG
2022-11-17 16:41:09 -08:00
dancoffman
84bd55b304
Be better at TypeScript
2022-11-04 13:29:52 -07:00
dancoffman
ac65930b15
Use BYTES_PER_FIELD_ELEMENT
2022-11-04 11:44:57 -07:00
dancoffman
3f66b35664
Fix type
2022-11-03 22:57:03 -07:00
dancoffman
bbc90b7da1
Use rollup to product distributable JS file
2022-11-03 22:30:54 -07:00
dancoffman
83bed363d2
Add return types
2022-11-03 21:54:59 -07:00
dancoffman
0a99015789
Attempt more consistency. Remove test for verifyKzgProof which is not used in 4844
2022-11-03 19:54:45 -07:00
dancoffman
32011119cd
Actually return the result of verify_kzg_proof
2022-11-03 16:54:52 -07:00
dancoffman
1514d5b826
computeAggregateKzgProof + verifyAggregateKzgProof test passes
2022-11-03 16:20:33 -07:00
dancoffman
b8151db670
Cleanup
2022-11-03 15:13:49 -07:00
dancoffman
672346f017
Closer to working
2022-11-03 14:39:20 -07:00
dancoffman
fcd7fbd9e7
Checkpoint
2022-11-03 12:57:59 -07:00
dancoffman
dbf2a1d905
Plausibly working BlobToKzgCommitment
2022-11-02 17:17:17 -07:00
dancoffman
da8d5dde42
Try to test VerifyKzgProof (does not work)
2022-11-02 15:50:04 -07:00
dancoffman
ac1762382a
TypeScript test
2022-11-02 13:45:29 -07:00