@ethproofs/airbender-wasm-stark-verifier 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -8
- package/package.json +1 -1
- package/pkg/README.md +3 -8
package/README.md
CHANGED
|
@@ -4,7 +4,7 @@ WebAssembly bindings for the Airbender verifier.
|
|
|
4
4
|
|
|
5
5
|
## Overview
|
|
6
6
|
|
|
7
|
-
This module builds the `
|
|
7
|
+
This module builds the `verify_proof` function from `ethproofs_verifier` into WebAssembly, enabling STARK proof verification to run directly in both web browsers and Node.js environments.
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
@@ -26,7 +26,7 @@ await init(); // Initialize WASM (if needed)
|
|
|
26
26
|
main(); // Initialize panic hook
|
|
27
27
|
|
|
28
28
|
// Verify a proof
|
|
29
|
-
const isValid = verify_stark(proofBytes
|
|
29
|
+
const isValid = verify_stark(proofBytes);
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
### Node.js Usage
|
|
@@ -40,7 +40,7 @@ const {
|
|
|
40
40
|
// The Node.js version initializes automatically
|
|
41
41
|
|
|
42
42
|
main(); // Initialize panic hook
|
|
43
|
-
const result = verify_stark(proofBytes
|
|
43
|
+
const result = verify_stark(proofBytes);
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
## Testing
|
|
@@ -51,11 +51,6 @@ const result = verify_stark(proofBytes, vkBytes);
|
|
|
51
51
|
npm install
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
### Prerequisites
|
|
55
|
-
|
|
56
|
-
- [sp1](https://docs.succinct.xyz/docs/sp1/getting-started/install)
|
|
57
|
-
- [wasm-pack](https://github.com/drager/wasm-pack)
|
|
58
|
-
|
|
59
54
|
### Building
|
|
60
55
|
|
|
61
56
|
```bash
|
package/package.json
CHANGED
package/pkg/README.md
CHANGED
|
@@ -4,7 +4,7 @@ WebAssembly bindings for the Airbender verifier.
|
|
|
4
4
|
|
|
5
5
|
## Overview
|
|
6
6
|
|
|
7
|
-
This module builds the `
|
|
7
|
+
This module builds the `verify_proof` function from `ethproofs_verifier` into WebAssembly, enabling STARK proof verification to run directly in both web browsers and Node.js environments.
|
|
8
8
|
|
|
9
9
|
## Usage
|
|
10
10
|
|
|
@@ -26,7 +26,7 @@ await init(); // Initialize WASM (if needed)
|
|
|
26
26
|
main(); // Initialize panic hook
|
|
27
27
|
|
|
28
28
|
// Verify a proof
|
|
29
|
-
const isValid = verify_stark(proofBytes
|
|
29
|
+
const isValid = verify_stark(proofBytes);
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
### Node.js Usage
|
|
@@ -40,7 +40,7 @@ const {
|
|
|
40
40
|
// The Node.js version initializes automatically
|
|
41
41
|
|
|
42
42
|
main(); // Initialize panic hook
|
|
43
|
-
const result = verify_stark(proofBytes
|
|
43
|
+
const result = verify_stark(proofBytes);
|
|
44
44
|
```
|
|
45
45
|
|
|
46
46
|
## Testing
|
|
@@ -51,11 +51,6 @@ const result = verify_stark(proofBytes, vkBytes);
|
|
|
51
51
|
npm install
|
|
52
52
|
```
|
|
53
53
|
|
|
54
|
-
### Prerequisites
|
|
55
|
-
|
|
56
|
-
- [sp1](https://docs.succinct.xyz/docs/sp1/getting-started/install)
|
|
57
|
-
- [wasm-pack](https://github.com/drager/wasm-pack)
|
|
58
|
-
|
|
59
54
|
### Building
|
|
60
55
|
|
|
61
56
|
```bash
|