File tree Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Expand file tree Collapse file tree 1 file changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Vixen is a framework for building real-time program data pipelines in Rust. This
1313
14143 . ** Initialize a JavaScript Project (for Codegen)**
1515
16- From within the parser directory (where the ` idl.json ` file is located) run:
16+ From within the parser directory (where the ` idl.json ` file is located), run:
1717
1818 ``` bash
1919 pnpm init
@@ -40,7 +40,7 @@ pnpm install \
4040
4141** 1. Create a Parser Generation Script**
4242
43- In the same directory create a new file called ` codama.cjs` :
43+ In the same directory, create a new file called ` codama.cjs` :
4444
4545` ` ` javascript
4646// codama.cjs
7474` ` ` bash
7575node codama.cjs
7676` ` `
77+
7778Your folder structure should look like this:
79+
7880` ` ` bash
7981example-parser/
8082├── proto/
@@ -98,14 +100,16 @@ example-parser/
98100` ` `
99101
100102** 3. Build and Verify**
101- Before building you project, ensure there is a const export of the program address in ` generated_sdk/programs.rs` :
103+ Before building your project, ensure there is a const export of the program address in ` generated_sdk/programs.rs` :
102104
103105` ` ` rust
104106pub const DCA_ID: Pubkey = pubkey! (" DCA265Vj8a9CEuX1eb1LWRnDT7uK6q1xMipnNyatn23M" );
107+ ` ` `
105108
106109` ` ` bash
107110cargo build
108111` ` `
112+
109113If successful, you now have a working parser for Solana account data using Yellowstone Vixen.
110114
111115# # 🎉 You’re Done!
You can’t perform that action at this time.
0 commit comments