This repository has been archived by the owner on Oct 25, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 67
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
65 additions
and
13 deletions.
There are no files selected for viewing
38 changes: 32 additions & 6 deletions
38
examples/fuel-explorer/fuel-explorer/fuel_explorer.manifest.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,39 @@ | ||
--- | ||
# A namespace is a logical grouping of declared names. Think of the namespace | ||
# as an organization identifier | ||
namespace: fuellabs | ||
|
||
# The identifier field is used to identify the given index. | ||
identifier: explorer | ||
|
||
# The abi option is used to provide a link to the Sway JSON ABI that is generated when you | ||
# build your project. | ||
abi: ~ | ||
|
||
# The particular start block after which you'd like your indexer to start indexing events. | ||
start_block: ~ | ||
|
||
# The particular end block after which you'd like your indexer to stop indexing events. | ||
end_block: ~ | ||
|
||
# The `fuel_client` denotes the address (host, port combination) of the running Fuel client | ||
# that you would like your indexer to index events from. In order to use this per-indexer | ||
# `fuel_client` option, the indexer service at which your indexer is deployed will have to run | ||
# with the `--indexer_net_config` option. | ||
fuel_client: ~ | ||
graphql_schema: examples/fuel-explorer/fuel-explorer/schema/fuel_explorer.schema.graphql | ||
|
||
# The contract_id specifies which particular contract you would like your index to subscribe to. | ||
contract_id: ~ | ||
|
||
# The graphql_schema field contains the file path that points to the GraphQL schema for the | ||
# given index. | ||
graphql_schema: examples/fuel-explorer/fuel-explorer/schema/fuel_explorer.schema.graphql | ||
|
||
# The module field contains a file path that points to code that will be run as an executor inside | ||
# of the indexer. | ||
# Important: At this time, wasm is the preferred method of execution. | ||
module: | ||
wasm: target/wasm32-unknown-unknown/release/fuel_explorer.wasm | ||
metrics: ~ | ||
contract_id: ~ | ||
start_block: 2376387 | ||
end_block: 2376887 | ||
|
||
# The resumable field contains a boolean that specifies whether or not the indexer should, synchronise | ||
# with the latest block if it has fallen out of sync. | ||
resumable: true |
40 changes: 33 additions & 7 deletions
40
examples/hello-world/hello-world/hello_world.manifest.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,39 @@ | ||
--- | ||
# A namespace is a logical grouping of declared names. Think of the namespace | ||
# as an organization identifier | ||
namespace: fuellabs | ||
identifier: hello_world_2 | ||
|
||
# The identifier field is used to identify the given index. | ||
identifier: hello_world | ||
|
||
# The abi option is used to provide a link to the Sway JSON ABI that is generated when you | ||
# build your project. | ||
abi: ~ | ||
|
||
# The particular start block after which you'd like your indexer to start indexing events. | ||
start_block: ~ | ||
|
||
# The particular end block after which you'd like your indexer to stop indexing events. | ||
end_block: ~ | ||
|
||
# The `fuel_client` denotes the address (host, port combination) of the running Fuel client | ||
# that you would like your indexer to index events from. In order to use this per-indexer | ||
# `fuel_client` option, the indexer service at which your indexer is deployed will have to run | ||
# with the `--indexer_net_config` option. | ||
fuel_client: ~ | ||
|
||
# The contract_id specifies which particular contract you would like your index to subscribe to. | ||
contract_id: ~ | ||
|
||
# The graphql_schema field contains the file path that points to the GraphQL schema for the | ||
# given index. | ||
graphql_schema: examples/hello-world/hello-world/schema/hello_world.schema.graphql | ||
|
||
# The module field contains a file path that points to code that will be run as an executor inside | ||
# of the indexer. | ||
# Important: At this time, wasm is the preferred method of execution. | ||
module: | ||
wasm: target/wasm32-unknown-unknown/release/hello_world.wasm | ||
metrics: ~ | ||
contract_id: ~ | ||
start_block: ~ | ||
end_block: ~ | ||
resumable: true | ||
|
||
# The resumable field contains a boolean that specifies whether or not the indexer should, synchronise | ||
# with the latest block if it has fallen out of sync. | ||
resumable: true |