0.0.48 • Published 1 year ago

@ponder/ponder v0.0.48

Weekly downloads
-
License
MIT
Repository
-
Last release
1 year ago

NOTE: Not ready for public use. Please reach out via twitter dm or email if you're interested in using Ponder.

Ponder

A framework for blockchain-enabled web services

Features

ponderGraph Protocol
RuntimeNode.jsWebAssembly
Supported networksAny EVM blockchainEthereum mainnet only^1
Local dev server
Hosting requirementsNode.js; Postgres (optional)Graph Node; IPFS node; Ethereum node; Postgres

Quickstart

I'm replacing a Graph Protocol subgraph

Ponder is an alternative to the Graph Protocol that aims to be more developer-friendly. You can quickly migrate an existing subgraph repository to Ponder using the create-ponder-app CLI tool.

1. Run create-ponder-app

This command will create a project folder called ponder in your current working directory. Include the --from-subgraph option to bootstrap your project using an existing Graph Protocol subgraph.

npx create-ponder-app@latest --from-subgraph ./subgraph-directory
# or
yarn create ponder-app --from-subgraph ./subgraph-directory
# or
pnpm create ponder-app --from-subgraph ./subgraph-directory

2. Start the development server

cd ponder
npm run dev
# or
yarn dev
# or
pnpm run dev

The dev server prints logs to help you debug any configuration issues or errors. The server automatically reloads whenever you save changes in any project file.

3. Migrate event handler functions

Ponder event handler functions are similar but not identical to Graph Protocol mapping functions. More docs here.

Guides

Event sources & networks

Event handlers

Database

Deploying to production

API reference

Create ponder app

Event handler context

ponder.config.js

schema.graphql

Packages

  • @ponder/ponder
  • @ponder/graphql
  • create-ponder-app

About

Ponder is MIT-licensed open-source software.

Goals

  • Be the best tool for building web services that rely on blockchain events
  • Work seamlessly alongside frameworks like Foundry and Next.js

Non-goals

  • Efficiently index massive amounts of data
  • Serve analytics queries/workloads

^1: Describes the Graph Decentalized Network (the hosted service supports more chains).

0.0.40

1 year ago

0.0.41

1 year ago

0.0.42

1 year ago

0.0.43

1 year ago

0.0.44

1 year ago

0.0.45

1 year ago

0.0.46

1 year ago

0.0.47

1 year ago

0.0.48

1 year ago

0.0.21

2 years ago

0.0.22

2 years ago

0.0.23

2 years ago

0.0.24

2 years ago

0.0.25

2 years ago

0.0.37

1 year ago

0.0.38

1 year ago

0.0.39

1 year ago

0.0.30

2 years ago

0.0.31

2 years ago

0.0.32

2 years ago

0.0.33

2 years ago

0.0.34

2 years ago

0.0.35

2 years ago

0.0.36

2 years ago

0.0.26

2 years ago

0.0.27

2 years ago

0.0.28

2 years ago

0.0.29

2 years ago

0.0.20

2 years ago

0.0.10

2 years ago

0.0.11

2 years ago

0.0.12

2 years ago

0.0.13

2 years ago

0.0.14

2 years ago

0.0.15

2 years ago

0.0.9

2 years ago

0.0.16

2 years ago

0.0.17

2 years ago

0.0.18

2 years ago

0.0.19

2 years ago

0.0.8

2 years ago

0.0.7

2 years ago

0.0.6

2 years ago

0.0.5

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago