Skip to content

Commit b3272a7

Browse files
committed
Fix formatting
1 parent e999df7 commit b3272a7

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

website/src/pages/en/resources/migration-guides/migrate-from-alchemy.mdx

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,13 @@ title: Migrate Your Subgraph From Alchemy to The Graph Network
55
# Migrate Your Subgraph From Alchemy to The Graph Network
66

77
## Goal
8-
Migrate or deploy an existing Subgraph to **The Graph**.
8+
9+
Migrate or deploy an existing Subgraph to **The Graph**.
10+
911
## Overview
10-
This guide walks you through:
12+
13+
This guide walks you through:
14+
1115
1. Preparing your environment and source code
1216
2. Building and testing locally with **Graph Node Dev Mode (`gnd`)**
1317
3. Deploying to [The Graph Studio](https://thegraph.com/studio/).
@@ -17,6 +21,7 @@ This guide walks you through:
1721
## 1. Prerequisites
1822

1923
You’ll need:
24+
2025
- Your subgraph source code (`subgraph.yaml`, `schema.graphql`, `src/mapping.ts`)
2126
- [Node.js](https://nodejs.org), Yarn, and `graph-cli`:
2227
```bash
@@ -37,7 +42,7 @@ graph auth --studio <YOUR_ACCESS_TOKEN>
3742

3843
---
3944

40-
## 3. Prepare and Build Your Subgraph
45+
## 3. Prepare and Build Your Subgraph
4146

4247
If you don’t already have a project, initialize one from a contract:
4348

@@ -72,20 +77,16 @@ From your subgraph directory:
7277
gnd --ethereum-rpc mainnet:http://localhost:<PORT> --watch
7378
```
7479

75-
Query your subgraph at:
80+
Query your subgraph at:\
7681
`http://localhost:8000/subgraphs/name/subgraph-0/`
7782

7883
> On Windows, include a PostgreSQL connection string:
84+
>
7985
> ```bash
8086
> gnd --ethereum-rpc mainnet:http://localhost:<PORT> > --postgres-url "postgresql://graph:yourpassword@localhost:5432/graph-node"
8187
> ```
8288
83-
**Common Flags**
84-
| Flag | Description |
85-
|------|--------------|
86-
| `--watch` | Auto-redeploy when files change |
87-
| `--postgres-url` | Required on Windows |
88-
| `--ethereum-rpc` | RPC endpoint (required) |
89+
**Common Flags** | Flag | Description | |------|--------------| | `--watch` | Auto-redeploy when files change | | `--postgres-url` | Required on Windows | | `--ethereum-rpc` | RPC endpoint (required) |
8990
9091
---
9192
@@ -105,7 +106,7 @@ This command publishes your Subgraph to The Graph Network via Studio.
105106

106107
Access your Subgraph dashboard to view logs, indexing progress, and query endpoints:
107108

108-
**Dashboard:**
109+
**Dashboard:**\
109110
`https://thegraph.com/studio/<subgraph-name>`
110111

111112
List all Subgraph deployments:
@@ -154,8 +155,9 @@ Ensure results match your expectations.
154155
---
155156

156157
## 9. Next Steps
157-
- [Monitor your subgraphs in Studio →](https://thegraph.com/studio)
158-
- [Join The Graph community →](https://discord.gg/graphprotocol)
159158

160-
> Learn more about **Graph Node Dev Mode**
159+
- [Monitor your subgraphs in Studio →](https://thegraph.com/studio)
160+
- [Join The Graph community →](https://discord.gg/graphprotocol)
161+
162+
> Learn more about **Graph Node Dev Mode**\
161163
> [https://thegraph.com/docs/en/subgraphs/developing/creating/graph-node-dev/](https://thegraph.com/docs/en/subgraphs/developing/creating/graph-node-dev/)

0 commit comments

Comments
 (0)