create-ponder 0.4.40 → 0.4.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -2
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/templates/empty/ponder-env.d.ts +1 -1
- package/templates/etherscan/ponder-env.d.ts +1 -1
- package/templates/feature-blocks/ponder-env.d.ts +1 -1
- package/templates/feature-call-traces/ponder-env.d.ts +1 -1
- package/templates/feature-factory/ponder-env.d.ts +1 -1
- package/templates/feature-filter/ponder-env.d.ts +1 -1
- package/templates/feature-multichain/ponder-env.d.ts +1 -1
- package/templates/feature-proxy/ponder-env.d.ts +1 -1
- package/templates/feature-read-contract/ponder-env.d.ts +1 -1
- package/templates/project-friendtech/ponder-env.d.ts +1 -1
- package/templates/project-uniswap-v3-flash/ponder-env.d.ts +1 -1
- package/templates/reference-erc1155/ponder-env.d.ts +1 -1
- package/templates/reference-erc20/ponder-env.d.ts +1 -1
- package/templates/reference-erc4626/ponder-env.d.ts +1 -1
- package/templates/reference-erc721/ponder-env.d.ts +1 -1
- package/templates/subgraph/ponder-env.d.ts +1 -1
package/README.md
CHANGED
|
@@ -33,7 +33,7 @@ Join [Ponder's telegram chat](https://t.me/ponder_sh) for support, feedback, and
|
|
|
33
33
|
|
|
34
34
|
### 1. Run `create-ponder`
|
|
35
35
|
|
|
36
|
-
You will be asked for a project name, and if you are using a [template](https://ponder.sh/api-reference/create-ponder#templates) (recommended). Then, the CLI will create a project directory, install dependencies, and initialize a git repository.
|
|
36
|
+
You will be asked for a project name, and if you are using a [template](https://ponder.sh/docs/api-reference/create-ponder#templates) (recommended). Then, the CLI will create a project directory, install dependencies, and initialize a git repository.
|
|
37
37
|
|
|
38
38
|
```bash
|
|
39
39
|
npm init ponder@latest
|
|
@@ -128,7 +128,7 @@ ponder.on("BaseRegistrar:NameRegistered", async ({ event, context }) => {
|
|
|
128
128
|
});
|
|
129
129
|
```
|
|
130
130
|
|
|
131
|
-
See the [create & update records](https://ponder.sh/docs/
|
|
131
|
+
See the [create & update records](https://ponder.sh/docs/indexing/create-update-records) docs for a detailed guide on writing indexing functions.
|
|
132
132
|
|
|
133
133
|
### 6. Query the GraphQL API
|
|
134
134
|
|
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file enables type checking and editor autocomplete for this Ponder project.
|
|
2
2
|
// After upgrading, you may find that changes have been made to this file.
|
|
3
3
|
// If this happens, please commit the changes. Do not manually edit this file.
|
|
4
|
-
// See https://ponder.sh/docs/
|
|
4
|
+
// See https://ponder.sh/docs/getting-started/installation#typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
7
|
import type { Virtual } from "@ponder/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file enables type checking and editor autocomplete for this Ponder project.
|
|
2
2
|
// After upgrading, you may find that changes have been made to this file.
|
|
3
3
|
// If this happens, please commit the changes. Do not manually edit this file.
|
|
4
|
-
// See https://ponder.sh/docs/
|
|
4
|
+
// See https://ponder.sh/docs/getting-started/installation#typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
7
|
import type { Virtual } from "@ponder/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file enables type checking and editor autocomplete for this Ponder project.
|
|
2
2
|
// After upgrading, you may find that changes have been made to this file.
|
|
3
3
|
// If this happens, please commit the changes. Do not manually edit this file.
|
|
4
|
-
// See https://ponder.sh/docs/
|
|
4
|
+
// See https://ponder.sh/docs/getting-started/installation#typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
7
|
import type { Virtual } from "@ponder/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file enables type checking and editor autocomplete for this Ponder project.
|
|
2
2
|
// After upgrading, you may find that changes have been made to this file.
|
|
3
3
|
// If this happens, please commit the changes. Do not manually edit this file.
|
|
4
|
-
// See https://ponder.sh/docs/
|
|
4
|
+
// See https://ponder.sh/docs/getting-started/installation#typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
7
|
import type { Virtual } from "@ponder/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file enables type checking and editor autocomplete for this Ponder project.
|
|
2
2
|
// After upgrading, you may find that changes have been made to this file.
|
|
3
3
|
// If this happens, please commit the changes. Do not manually edit this file.
|
|
4
|
-
// See https://ponder.sh/docs/
|
|
4
|
+
// See https://ponder.sh/docs/getting-started/installation#typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
7
|
import type { Virtual } from "@ponder/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file enables type checking and editor autocomplete for this Ponder project.
|
|
2
2
|
// After upgrading, you may find that changes have been made to this file.
|
|
3
3
|
// If this happens, please commit the changes. Do not manually edit this file.
|
|
4
|
-
// See https://ponder.sh/docs/
|
|
4
|
+
// See https://ponder.sh/docs/getting-started/installation#typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
7
|
import type { Virtual } from "@ponder/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file enables type checking and editor autocomplete for this Ponder project.
|
|
2
2
|
// After upgrading, you may find that changes have been made to this file.
|
|
3
3
|
// If this happens, please commit the changes. Do not manually edit this file.
|
|
4
|
-
// See https://ponder.sh/docs/
|
|
4
|
+
// See https://ponder.sh/docs/getting-started/installation#typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
7
|
import type { Virtual } from "@ponder/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file enables type checking and editor autocomplete for this Ponder project.
|
|
2
2
|
// After upgrading, you may find that changes have been made to this file.
|
|
3
3
|
// If this happens, please commit the changes. Do not manually edit this file.
|
|
4
|
-
// See https://ponder.sh/docs/
|
|
4
|
+
// See https://ponder.sh/docs/getting-started/installation#typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
7
|
import type { Virtual } from "@ponder/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file enables type checking and editor autocomplete for this Ponder project.
|
|
2
2
|
// After upgrading, you may find that changes have been made to this file.
|
|
3
3
|
// If this happens, please commit the changes. Do not manually edit this file.
|
|
4
|
-
// See https://ponder.sh/docs/
|
|
4
|
+
// See https://ponder.sh/docs/getting-started/installation#typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
7
|
import type { Virtual } from "@ponder/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file enables type checking and editor autocomplete for this Ponder project.
|
|
2
2
|
// After upgrading, you may find that changes have been made to this file.
|
|
3
3
|
// If this happens, please commit the changes. Do not manually edit this file.
|
|
4
|
-
// See https://ponder.sh/docs/
|
|
4
|
+
// See https://ponder.sh/docs/getting-started/installation#typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
7
|
import type { Virtual } from "@ponder/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file enables type checking and editor autocomplete for this Ponder project.
|
|
2
2
|
// After upgrading, you may find that changes have been made to this file.
|
|
3
3
|
// If this happens, please commit the changes. Do not manually edit this file.
|
|
4
|
-
// See https://ponder.sh/docs/
|
|
4
|
+
// See https://ponder.sh/docs/getting-started/installation#typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
7
|
import type { Virtual } from "@ponder/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file enables type checking and editor autocomplete for this Ponder project.
|
|
2
2
|
// After upgrading, you may find that changes have been made to this file.
|
|
3
3
|
// If this happens, please commit the changes. Do not manually edit this file.
|
|
4
|
-
// See https://ponder.sh/docs/
|
|
4
|
+
// See https://ponder.sh/docs/getting-started/installation#typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
7
|
import type { Virtual } from "@ponder/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file enables type checking and editor autocomplete for this Ponder project.
|
|
2
2
|
// After upgrading, you may find that changes have been made to this file.
|
|
3
3
|
// If this happens, please commit the changes. Do not manually edit this file.
|
|
4
|
-
// See https://ponder.sh/docs/
|
|
4
|
+
// See https://ponder.sh/docs/getting-started/installation#typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
7
|
import type { Virtual } from "@ponder/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file enables type checking and editor autocomplete for this Ponder project.
|
|
2
2
|
// After upgrading, you may find that changes have been made to this file.
|
|
3
3
|
// If this happens, please commit the changes. Do not manually edit this file.
|
|
4
|
-
// See https://ponder.sh/docs/
|
|
4
|
+
// See https://ponder.sh/docs/getting-started/installation#typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
7
|
import type { Virtual } from "@ponder/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file enables type checking and editor autocomplete for this Ponder project.
|
|
2
2
|
// After upgrading, you may find that changes have been made to this file.
|
|
3
3
|
// If this happens, please commit the changes. Do not manually edit this file.
|
|
4
|
-
// See https://ponder.sh/docs/
|
|
4
|
+
// See https://ponder.sh/docs/getting-started/installation#typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
7
|
import type { Virtual } from "@ponder/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// This file enables type checking and editor autocomplete for this Ponder project.
|
|
2
2
|
// After upgrading, you may find that changes have been made to this file.
|
|
3
3
|
// If this happens, please commit the changes. Do not manually edit this file.
|
|
4
|
-
// See https://ponder.sh/docs/
|
|
4
|
+
// See https://ponder.sh/docs/getting-started/installation#typescript for more information.
|
|
5
5
|
|
|
6
6
|
declare module "@/generated" {
|
|
7
7
|
import type {
|