Skip to content

Commit 951f75f

Browse files
committed
Mentioning the installation-free way of running solana-typegen
modified: docs/solana-indexing/sdk/typegen.md
1 parent 64c151d commit 951f75f

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/solana-indexing/sdk/typegen.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,16 @@ Solana typegen:
1414
- exposes useful constants such as program IDs and instruction discriminators
1515
- provides functions that simplify selecting data items based on accounts
1616

17-
Install with
17+
Install it with
1818

1919
```bash
2020
npm install @subsquid/solana-typegen
2121
```
2222

23+
:::tip
24+
Replace `npx squid-solana-typegen` with `npx @subsquid/solana-typegen` if you don't want to install the package.
25+
:::
26+
2327
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:
2428

2529
1. as a plain JSON file(s):

0 commit comments

Comments
 (0)