You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Open a terminal and navigate to this project's root directory
32
37
33
38
```bash
34
39
cd PROJECT_LOCATION/openmina/frontend
35
40
```
41
+
36
42
Install the dependencies
43
+
37
44
```bash
38
45
npm install
39
46
```
@@ -43,3 +50,24 @@ npm install
43
50
```bash
44
51
npm start
45
52
```
53
+
54
+
# Using O1JS wrapper
55
+
56
+
as of now, o1js is not prepared to work with Angular, therefore we need to use the wrapper that is provided in the `src/assets/o1js` folder. This wrapper is a simple javascript webpack based application that will allow us to use the o1js library in our Angular application.
57
+
58
+
How to use it:
59
+
60
+
1. Open a terminal and navigate to the `src/assets/o1js` folder
61
+
2. Install the dependencies
62
+
63
+
```bash
64
+
npm install
65
+
```
66
+
67
+
3. Build the wrapper
68
+
69
+
```bash
70
+
npm run build-o1jswrapper
71
+
```
72
+
73
+
4. That's it. Now you can use your code from o1js-wrapper inside the Angular application by using `BenchmarksWalletsZkService => o1jsInterface`
0 commit comments