Skip to content

Commit

Permalink
Fix typos (#533)
Browse files Browse the repository at this point in the history
  • Loading branch information
enoldev authored Sep 13, 2024
1 parent a999753 commit 3ec25c9
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ Quickly scaffold your first project inside the [Substreams Development Environme

Consult the relevant ecosystem guide to get started using real-time and historical indexed data:

- Solana
- EVM
- Injective
- [Solana](./solana.md)
- [EVM](./evm.md)
- [Injective](./injective.md)

## Navigatin the Devcontainer
## Navigating the Devcontainer

When entering the devcontainer, you can either insert your own `substreams.yaml` file and run `substreams build` to generate the associated Protobuf files, or choose from two auto-generated code-paths:

Expand Down
8 changes: 5 additions & 3 deletions docs/new/how-to-guides/your-first-application/solana.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,12 @@ Check out the [Getting Started Guide](./intro-your-first-application.md) for mo
- `sol-minimal`: Creates a simple Substreams that extracts raw data from the block.
- `sol-transactions`: Creates a Substreams that extracts Solana transactions filtered by one or more Program IDs and Account IDs.

## Solana Foundational Modules
{% hint style="info" %}
**Note**: The block model in your your generated project will not include Solana voting transactions. Excluding voting transactions reduces the costs and size of processing a Solana full-block by 75%. You can still access voting transactions by consuming a Solana full-block.
{% endhint %}

The `sol-transactions` path of the codegen, which filters the transactions, relies on the [Solana Foundational Modules](https://github.com/streamingfast/substreams-foundational-modules/tree/develop/solana-common). A Foundational Module extracts the most relevant data from blockchain, so that you don't have to code it yourself.
**Solana Foundational Modules**

Specifically, the `sol-transactions` path uses the [filtered_transactions_without_votes](https://github.com/streamingfast/substreams-foundational-modules/blob/develop/solana-common/substreams-v0.2.0.yaml#L49) module, which accepts a regex (regular expression) as input to filter the transactions.
The `sol-transactions` codegen path uses [Solana Foundational Modules](https://substreams.dev/streamingfast/solana-common/v0.3.0) to simplify filtering. These modules are designed to extract critical blockchain data, sparing you the need to write custom code. Specifically, the [filtered_transactions_without_votes](https://github.com/streamingfast/substreams-foundational-modules/blob/develop/solana-common/substreams-v0.2.0.yaml#L49) module extracts key data and accepts a regular expression to filter transactions, saving you from writing custom code.

<figure><img src="../../../.gitbook/assets/intro/solana-logo.png" width="100%" /></figure>
4 changes: 3 additions & 1 deletion docs/new/references/command-line-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,9 @@ When you run a `gui` session, a file called `replay.log` gets written with the c

You can reload the data without hitting the server again using `--replay`. The data is immediately reloaded in the GUI, ready for more inspection.

### `pack` **(DEPRECATED: use `build` instead)
### `pack` **(DEPRECATED)**

**(DEPRECATED: use `build` instead)**

The `pack` command builds a shippable, importable package from a `substreams.yaml` manifest file.

Expand Down

0 comments on commit 3ec25c9

Please sign in to comment.