Skip to content

Commit

Permalink
New translations creating-a-subgraph.mdx (Italian)
Browse files Browse the repository at this point in the history
  • Loading branch information
benface committed Dec 24, 2023
1 parent 206383b commit b6f92bd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/pages/it/developing/creating-a-subgraph.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ Una volta installato, il comando `graph init` può essere usato per impostare un

## Da un contratto esistente

The following command creates a subgraph that indexes all events of an existing contract. It attempts to fetch the contract ABI from Etherscan and falls back to requesting a local file path. If any of the optional arguments are missing, it takes you through an interactive form.
Il comando seguente crea un subgraph che indicizza tutti gli eventi di un contratto esistente. Tenta di recuperare l'ABI del contratto da Etherscan e torna a richiedere il percorso di un file locale. Se manca uno qualsiasi degli argomenti opzionali, il comando viene eseguito attraverso un modulo interattivo.

```sh
graph init \
Expand All @@ -51,11 +51,11 @@ graph init \
<SUBGRAPH_SLUG> [<DIRECTORY>]
```

The `<SUBGRAPH_SLUG>` is the ID of your subgraph in Subgraph Studio, it can be found on your subgraph details page.
Il `<SUBGRAPH_SLUG>` è l'ID del subgraph in Subgraph Studio, che si trova nella pagina dei dettagli del subgraph.

## From An Example Subgraph
## Da un subgraph di esempio

The second mode `graph init` supports is creating a new project from an example subgraph. The following command does this:
La seconda modalità supportata da `graph init` è la creazione di un nuovo progetto a partire da un subgraph di esempio. Il comando seguente esegue questa operazione:

```sh
graph init --studio <SUBGRAPH_SLUG>
Expand Down

0 comments on commit b6f92bd

Please sign in to comment.