@provablehq/wasm 0.6.9 → 0.6.10
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 +5 -6
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -12,12 +12,11 @@
|
|
|
12
12
|
|
|
13
13
|
Aleo JavaScript and WebAssembly bindings for building zero-knowledge web applications.
|
|
14
14
|
|
|
15
|
-
`Rust` compiles easily to `WebAssembly
|
|
15
|
+
`Rust` compiles easily to `WebAssembly`, but creating the glue code necessary to use compiled WebAssembly binaries
|
|
16
16
|
from other languages such as JavaScript is a challenging task. `wasm-bindgen` is a tool that simplifies this process by
|
|
17
17
|
auto-generating JavaScript bindings to Rust code that has been compiled into WebAssembly.
|
|
18
18
|
|
|
19
|
-
This crate uses `wasm-bindgen` to create JavaScript bindings to Aleo source code so that it can be used to create zero
|
|
20
|
-
knowledge proofs directly within `web browsers` and `NodeJS`.
|
|
19
|
+
This crate uses `wasm-bindgen` to create JavaScript bindings to Aleo source code so that it can be used to create zero-knowledge proofs directly within web browsers and `Node.js`.
|
|
21
20
|
|
|
22
21
|
Functionality exposed by this crate includes:
|
|
23
22
|
* Aleo account management objects
|
|
@@ -45,7 +44,7 @@ This will produce `.js` and `.wasm` files inside of the `dist` folder.
|
|
|
45
44
|
|
|
46
45
|
## Testing
|
|
47
46
|
|
|
48
|
-
Run tests in
|
|
47
|
+
Run tests in Node.js
|
|
49
48
|
```bash
|
|
50
49
|
wasm-pack test --node
|
|
51
50
|
```
|
|
@@ -57,7 +56,7 @@ wasm-pack test --[firefox/chrome/safari]
|
|
|
57
56
|
|
|
58
57
|
## Building Web Apps
|
|
59
58
|
|
|
60
|
-
Further documentation and tutorials as to how to use the modules built from this crate to build web apps
|
|
61
|
-
in the future. However
|
|
59
|
+
Further documentation and tutorials as to how to use the modules built from this crate to build web apps will be built
|
|
60
|
+
in the future. However, in the meantime, the [provable.tools](https://provable.tools) website is a good
|
|
62
61
|
example of how to use these modules to build a web app. Its source code can be found in the
|
|
63
62
|
[Aleo SDK](https://github.com/ProvableHQ/sdk) repo in the `website` folder.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@provablehq/wasm",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.10",
|
|
4
4
|
"description": "Wasm build for the SDK",
|
|
5
5
|
"collaborators": [
|
|
6
6
|
"The Aleo Team <hello@aleo.org>"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"keywords": [
|
|
27
27
|
"Aleo",
|
|
28
28
|
"Blockchain",
|
|
29
|
-
"Zero
|
|
29
|
+
"Zero-Knowledge",
|
|
30
30
|
"ZK"
|
|
31
31
|
],
|
|
32
32
|
"bugs": {
|