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
First, start [forge](https://book.getfoundry.sh/getting-started/installation). If you don't already have it installed, make sure you restart your shell.
6
11
7
-
```shell
12
+
```terminal
8
13
foundryup
9
14
```
10
15
11
16
Next, build the smart contracts.
12
17
13
-
```
18
+
```terminal
14
19
yarn build
15
20
```
16
21
17
22
Afterwards, enter the bindings directory:
18
23
19
-
```
24
+
```terminal
20
25
cd bindings
21
26
```
22
27
23
28
And run the following commands to generate the types and bindings:
24
29
25
-
```
30
+
```terminal
26
31
yarn bindings
27
32
yarn tsc
28
33
```
29
34
30
35
With the bindings generated, you may publish to npm using the following command:
31
36
32
-
```
37
+
```terminal
33
38
npm publish
34
39
```
35
40
36
41
You must have the relevant access permissions to publish this crate.
37
42
You can check these by seeing whether `tap-contracts-bindings` is listed as `read-write` under
0 commit comments