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/v2/examples/index.mdx
+42-55Lines changed: 42 additions & 55 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,76 +28,63 @@ for the feature flags, or use a Docker image that bundles them.
28
28
29
29
## Companion files & setup
30
30
31
-
Some examples need more than the `daemon.toml`. Check the example's folder before running:
32
-
33
-
-**Backing service via `docker-compose`** — start it first from the example directory
34
-
(`docker compose up -d`): `kafka`, `redis`, `rabbitmq`, `elasticsearch`, `postgresql`,
35
-
`redis_cursor`, `n2c_source`.
36
-
-**Build step** — `wasm_basic` loads `./extract_fee/plugin.wasm`; the Go plugin under
37
-
`extract_fee/` must be built first (see its README).
38
-
-**Relative output/state created in the working directory** — `into_json`, `parse_cbor` and
39
-
`file_rotate` write to `./output/`; `mithril` downloads to `./snapshot/`; `file_cursor`
40
-
writes `my_cursor.json`; `sqlite` writes `./mydatabase.db` and ships an `init.sql` and a
41
-
`Makefile`.
42
-
-**Has its own README with extra steps** — `metadata_regex_filter`, `postgresql`,
43
-
`redis_cursor`, `wasm_basic`.
44
-
45
-
> The `n2c_source` example sets `socket_path = "examples/n2c_source/node/node.socket"`, a path
46
-
> written relative to the **repository root** (unlike the others). Run it from the repo root or
47
-
> edit the path to point at your node socket.
31
+
Some examples need more than the `daemon.toml` — a backing service (`docker compose up -d`),
32
+
a build step, a cargo feature flag, or they write files to the working directory. Each
33
+
example's own `README.md` documents its pipeline, prerequisites, and run command. Check it
34
+
before running.
48
35
49
36
## Sources
50
37
51
-
| Example | What it shows | Setup |
52
-
| :------ | :------------ | :---- |
53
-
|[`n2c_source`](https://github.com/txpipe/oura/tree/main/examples/n2c_source)| Node-to-Client source over a unix socket → Stdout | docker compose · run from repo root |
54
-
|[`hydra`](https://github.com/txpipe/oura/tree/main/examples/hydra)| Hydra head source over a WebSocket → Stdout | needs a running Hydra node |
55
-
|[`mithril`](https://github.com/txpipe/oura/tree/main/examples/mithril)| Mithril snapshot bootstrap with a `Breadcrumbs` intersect | downloads `./snapshot`|
56
-
|[`dolos_source`](https://github.com/txpipe/oura/tree/main/examples/dolos_source)| UTxO RPC (U5C) source against a Dolos/Demeter endpoint | needs a running Dolos (or a hosted U5C endpoint) |
38
+
| Example | What it shows |
39
+
| :------ | :------------ |
40
+
|[`n2c_source`](https://github.com/txpipe/oura/tree/main/examples/n2c_source)| Node-to-Client source over a unix socket → Stdout |
41
+
|[`hydra`](https://github.com/txpipe/oura/tree/main/examples/hydra)| Hydra head source over a WebSocket → Stdout |
42
+
|[`mithril`](https://github.com/txpipe/oura/tree/main/examples/mithril)| Mithril snapshot bootstrap with a `Breadcrumbs` intersect |
43
+
|[`dolos_source`](https://github.com/txpipe/oura/tree/main/examples/dolos_source)| UTxO RPC (U5C) source against a Dolos/Demeter endpoint |
|[`aws_lambda`](https://github.com/txpipe/oura/tree/main/examples/aws_lambda)|`AwsLambda` sink invoking a function per event | AWS credentials · `aws` feature |
0 commit comments