Skip to content

Commit 7b6f2ab

Browse files
committed
add instructions to build webwallet demo
1 parent 5f9af93 commit 7b6f2ab

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,32 @@ just build-web
3636

3737
After building the resulting lib can be found in `packages/webz-core`.
3838

39+
### Building the example web-wallet
40+
41+
#### Prerequisites
42+
43+
[Install pnpm](https://pnpm.io/installation)
44+
45+
### Building
46+
47+
Install dependencies with
48+
49+
```shell
50+
pnpm i
51+
```
52+
53+
Build WebZjs with
54+
55+
```shell
56+
just build
57+
```
58+
59+
Start a dev server with the page
60+
61+
```shell
62+
pnpm start:dev
63+
```
64+
3965
## Development
4066

4167
The [`.cargo/config.toml`](./.cargo/config.toml) file sets the build target to `wasm32-unknown-unknown` so the regular cargo commands (e.g. `check`, `build`) will run against this target.
@@ -48,6 +74,8 @@ Tests are run in a headless browser environment and can be run with
4874
just test-web
4975
```
5076

77+
78+
5179
## Security Warnings
5280

5381
These libraries are currently under development, have received no reviews or audit, and come with no guarantees whatsoever.

0 commit comments

Comments
 (0)