@puzzlehq/aleo-wasm-web 0.6.17 → 0.7.0
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 +8 -6
- package/{aleo_wasm.js → dist/mainnet/aleo_wasm.js} +1209 -1151
- package/dist/mainnet/aleo_wasm.js.map +1 -0
- package/dist/mainnet/aleo_wasm.wasm +0 -0
- package/dist/mainnet/index.d.ts +28 -0
- package/dist/mainnet/index.js +4892 -0
- package/dist/mainnet/index.js.map +1 -0
- package/dist/mainnet/worker.d.ts +1 -0
- package/dist/mainnet/worker.js +4887 -0
- package/dist/mainnet/worker.js.map +1 -0
- package/dist/testnet/aleo_wasm.js +4854 -0
- package/dist/testnet/aleo_wasm.js.map +1 -0
- package/dist/testnet/aleo_wasm.wasm +0 -0
- package/dist/testnet/index.d.ts +28 -0
- package/dist/testnet/index.js +4892 -0
- package/dist/testnet/index.js.map +1 -0
- package/dist/testnet/worker.d.ts +1 -0
- package/dist/testnet/worker.js +4887 -0
- package/dist/testnet/worker.js.map +1 -0
- package/package.json +41 -22
- package/aleo_wasm.d.ts +0 -2015
- package/aleo_wasm_bg.wasm +0 -0
- package/snippets/aleo-wasm-917a63011190b7ca/inline0.js +0 -41
package/README.md
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
[](https://crates.io/crates/aleo-wasm)
|
|
2
|
+
[](https://provable.com)
|
|
3
|
+
[](./LICENSE.md)
|
|
2
4
|
|
|
3
5
|
- Update the package version in `Cargo.toml` to one patch version above the current one
|
|
4
6
|
- Run `./build-puzzle.sh`
|
|
@@ -14,9 +16,9 @@ To build and publish WASM pacakges for nodejs and web:
|
|
|
14
16
|
|
|
15
17
|
Aleo JavaScript and WebAssembly bindings for building zero-knowledge web applications.
|
|
16
18
|
|
|
17
|
-
`Rust` compiles easily to `WebAssembly`, but creating the glue code necessary to use compiled WebAssembly binaries
|
|
18
|
-
from other languages such as JavaScript is a challenging task. `wasm-bindgen` is a tool that simplifies this process by
|
|
19
|
-
auto-generating JavaScript bindings to Rust code that has been compiled into WebAssembly.
|
|
19
|
+
`Rust` compiles easily to `WebAssembly`, but creating the glue code necessary to use compiled WebAssembly binaries
|
|
20
|
+
from other languages such as JavaScript is a challenging task. `wasm-bindgen` is a tool that simplifies this process by
|
|
21
|
+
auto-generating JavaScript bindings to Rust code that has been compiled into WebAssembly.
|
|
20
22
|
|
|
21
23
|
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`.
|
|
22
24
|
|
|
@@ -58,7 +60,7 @@ wasm-pack test --[firefox/chrome/safari]
|
|
|
58
60
|
|
|
59
61
|
## Building Web Apps
|
|
60
62
|
|
|
61
|
-
Further documentation and tutorials as to how to use the modules built from this crate to build web apps will be built
|
|
63
|
+
Further documentation and tutorials as to how to use the modules built from this crate to build web apps will be built
|
|
62
64
|
in the future. However, in the meantime, the [provable.tools](https://provable.tools) website is a good
|
|
63
|
-
example of how to use these modules to build a web app. Its source code can be found in the
|
|
65
|
+
example of how to use these modules to build a web app. Its source code can be found in the
|
|
64
66
|
[Aleo SDK](https://github.com/ProvableHQ/sdk) repo in the `website` folder.
|