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
Copy file name to clipboardExpand all lines: docs/solana-indexing/sdk/typegen.md
+5-1Lines changed: 5 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,12 +14,16 @@ Solana typegen:
14
14
- exposes useful constants such as program IDs and instruction discriminators
15
15
- provides functions that simplify selecting data items based on accounts
16
16
17
-
Install with
17
+
Install it with
18
18
19
19
```bash
20
20
npm install @subsquid/solana-typegen
21
21
```
22
22
23
+
:::tip
24
+
Replace `npx squid-solana-typegen` with `npx @subsquid/solana-typegen` if you don't want to install the package.
25
+
:::
26
+
23
27
The `squid-solana-typegen` tool generates TypeScript facades for Solana instructions and logs. It takes JSON IDLs as inputs. The IDLs can be specified in three ways:
0 commit comments