-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #20 from pinax-network/feature/simply-auth
Performance increase to `sign` & `verify` signature
- Loading branch information
Showing
39 changed files
with
451 additions
and
1,645 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,15 +1,22 @@ | ||
# Webhook | ||
SECRET_KEY="<Ed25519 Secret-key>" | ||
PUBLIC_KEY="<Ed25519 Public-key>" | ||
PRIVATE_KEY=<Ed25519 Private Key> | ||
WEBHOOK_URL=http://127.0.0.1:3000 | ||
PORT=9102 | ||
|
||
# Get Substreams API Key | ||
# https://app.pinax.network | ||
# https://app.streamingfast.io/ | ||
SUBSTREAMS_API_KEY="<Substreams API Key @ https://pinax.network>" | ||
SUBSTREAMS_API_KEY=<Substreams API Token @ https://pinax.network> | ||
SUBSTREAMS_ENDPOINT=https://eth.substreams.pinax.network:443 | ||
|
||
# Substreams package | ||
# Substreams Package (*.spkg) | ||
MANIFEST=https://github.com/pinax-network/substreams/releases/download/blocks-v0.1.0/blocks-v0.1.0.spkg | ||
MODULE_NAME=map_blocks | ||
START_BLOCK=-10 | ||
PRODUCTION_MODE=true | ||
|
||
# Webhook (Optional) | ||
DISABLE_PING=false | ||
DISABLE_SIGNATURE=false | ||
VERBOSE=true | ||
MAXIMUM_ATTEMPTS=100 |
This file was deleted.
Oops, something went wrong.
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
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,15 +1,4 @@ | ||
FROM oven/bun | ||
|
||
WORKDIR /app | ||
|
||
ENV PUBLIC_KEY $PUBLIC_KEY | ||
ENV PORT $PORT | ||
|
||
COPY bun.lockb ./ | ||
COPY package*.json ./ | ||
|
||
RUN bun install | ||
|
||
COPY . . | ||
|
||
RUN bun install | ||
CMD [ "bun", "http.ts" ] |
Binary file not shown.
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.