-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main' into docs/getting-started
- Loading branch information
Showing
32 changed files
with
1,665 additions
and
347 deletions.
There are no files selected for viewing
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,19 +1,40 @@ | ||
# RPC configuration | ||
# Follow the format: RPC_URL_{chainId}={rpcUrl} | ||
|
||
RPC_URL_1=https://ethereum-rpc.publicnode.com | ||
RPC_URL_8453=https://base-rpc.publicnode.com | ||
RPC_URL_59144=https://linea-rpc.publicnode.com | ||
|
||
# Identify which indexer plugin to activate (see `src/plugins` for available plugins) | ||
|
||
ACTIVE_PLUGIN=base.eth | ||
# For the RPC URL of each chain, follow the format: RPC_URL_{chainId}={rpcUrl} | ||
RPC_URL_1=https://eth.drpc.org | ||
RPC_URL_8453=https://base.drpc.org | ||
RPC_URL_59144=https://linea.drpc.org | ||
# For the RPC rate limits of each chain, follow the format: | ||
# RPC_REQUEST_RATE_LIMIT_{chainId}={rateLimitInRequestsPerSecond} | ||
# The rate limit is the maximum number of requests per second that can be made | ||
# to the RPC endpoint. For public RPC endpoints, it is recommended to set | ||
# a rate limit to low values (i.e. below 30 rps) to avoid being rate limited. | ||
# For private RPC endpoints, the rate limit can be set to higher values, | ||
# depending on the capacity of the endpoint. For example, 500 rps. | ||
# If no rate limit is set for a given chainId, the DEFAULT_RPC_RATE_LIMIT value | ||
# will be applied. | ||
RPC_REQUEST_RATE_LIMIT_1=50 | ||
RPC_REQUEST_RATE_LIMIT_8453=20 | ||
RPC_REQUEST_RATE_LIMIT_59144=20 | ||
|
||
# Database configuration | ||
|
||
# This is where the indexer will create the tables defined in ponder.schema.ts | ||
# No two indexer instances can use the same database schema at the same time. This prevents data corruption. | ||
# @link https://ponder.sh/docs/api-reference/database#database-schema-rules | ||
DATABASE_SCHEMA=subname_index_base.eth | ||
# The indexer will use Postgres with that as the connection string. If not defined, the indexer will use PSlite. | ||
# This is a namespace for the tables that the indexer will create to store indexed data. | ||
# It should be a string that is unique to the running indexer instance. | ||
# | ||
# Keeping the database schema unique to the indexer instance is important to | ||
# 1) speed up indexing after a restart | ||
# 2) prevent data corruption from multiple indexer app instances writing state | ||
# concurrently to the same db schema | ||
# | ||
# No two indexer instances can use the same database schema at the same time. | ||
# | ||
# Read more about database schema rules here: | ||
# https://ponder.sh/docs/api-reference/database#database-schema-rules | ||
DATABASE_SCHEMA=ens | ||
# This is the connection string for the database that the indexer will use to store data. | ||
# It should be in the format of `postgresql://<username>:<password>@<host>:<port>/<database>` | ||
DATABASE_URL=postgresql://dbuser:abcd1234@localhost:5432/my_database | ||
|
||
# Plugin configuration | ||
# Identify which indexer plugins to activate (see `src/plugins` for available plugins) | ||
# This is a comma separated list of one or more available plugin names (case-sensitive). | ||
ACTIVE_PLUGINS=eth,base.eth,linea.eth |
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# Default owners for everything in the repo | ||
|
||
* @shrugs @tk-o @djstrong @BanaSeba @lightwalker-eth |
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 |
---|---|---|
|
@@ -16,5 +16,3 @@ yarn-error.log* | |
# Ponder | ||
/generated/ | ||
/.ponder/ | ||
|
||
checkpoints/ |
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 |
---|---|---|
@@ -0,0 +1,21 @@ | ||
MIT License | ||
|
||
Copyright (c) 2023 NameHash | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all | ||
copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
SOFTWARE. |
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
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
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
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
Oops, something went wrong.