Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
35 commits
Select commit Hold shift + click to select a range
0874301
feat: integrate Streamr SDK and publish pending transactions
Emmo00 Oct 28, 2025
cac135c
Merge branch 'M3tering:main' into feat/sqlite-store-publish-arweave
Emmo00 Oct 28, 2025
33cc6bc
fix: update environment variables for preferred prover node and Strea…
Emmo00 Oct 28, 2025
d83a4b8
Merge branch 'feat/sqlite-store-publish-arweave' of github.com:Emmo00…
Emmo00 Oct 28, 2025
4c23fe3
Merge pull request #23 from Emmo00/feat/sqlite-store-publish-arweave
Emmo00 Nov 6, 2025
f287e8f
feat: import Streamr logic and enhance connection logging
Emmo00 Nov 9, 2025
9c024f8
docs: add pre-setup instructions for M3tering Console
Emmo00 Nov 9, 2025
efb7821
Merge pull request #25 from Emmo00/feat/sqlite-store-publish-arweave
Emmo00 Nov 11, 2025
a633a07
Implement feature X to enhance user experience and fix bug Y in module Z
Emmo00 Nov 11, 2025
b0ad62e
Merge pull request #26 from Emmo00/feat/sqlite-store-publish-arweave
Emmo00 Nov 11, 2025
161370e
...
Emmo00 Nov 11, 2025
0cec6ae
Merge pull request #27 from Emmo00/feat/sqlite-store-publish-arweave
Emmo00 Nov 11, 2025
f7af43a
refactor: add python install to Dockerfile
Emmo00 Nov 11, 2025
5ba4914
Merge pull request #28 from Emmo00/feat/sqlite-store-publish-arweave
Emmo00 Nov 11, 2025
1c9e216
refactor: clean up Dockerfile by improving comments and removing redu…
Emmo00 Nov 11, 2025
5fc249b
Merge pull request #29 from Emmo00/feat/sqlite-store-publish-arweave
Emmo00 Nov 11, 2025
94239dc
refactor: enhance Dockerfile for multi-stage builds and add runtime d…
Emmo00 Nov 11, 2025
e4a88de
Merge pull request #30 from Emmo00/feat/sqlite-store-publish-arweave
Emmo00 Nov 11, 2025
d1289bd
fix: Dockerfile to install packages needed for streamr/sdk build
Emmo00 Nov 11, 2025
a0c11dc
Merge pull request #31 from Emmo00/feat/sqlite-store-publish-arweave
Emmo00 Nov 11, 2025
f61f45a
...
Emmo00 Nov 11, 2025
e1367be
Merge pull request #32 from Emmo00/feat/sqlite-store-publish-arweave
Emmo00 Nov 11, 2025
b5dbd5a
fix: update Dockerfile to include missing build tools for project com…
Emmo00 Nov 11, 2025
81a9865
Merge pull request #33 from Emmo00/feat/sqlite-store-publish-arweave
Emmo00 Nov 11, 2025
5f61247
feat: implement verifiers cache initialization and retrieval; add tes…
Emmo00 Nov 12, 2025
0396c28
fix: handle potential errors when fetching cross-chain revenue and ow…
Emmo00 Nov 12, 2025
7938b86
Merge pull request #34 from Emmo00/feat/sqlite-store-publish-arweave
Emmo00 Nov 12, 2025
e573da0
fix: update Dockerfile to include dev dependencies during npm install
Emmo00 Nov 12, 2025
441dcda
Merge pull request #35 from Emmo00/feat/sqlite-store-publish-arweave
Emmo00 Nov 12, 2025
6a01751
feat: update Dockerfile to streamline npm install process and add bui…
Emmo00 Nov 15, 2025
7c9c5f3
Merge pull request #36 from Emmo00/feat/sqlite-store-publish-arweave
Emmo00 Nov 15, 2025
daea408
refactor: streamline Dockerfile and remove obsolete build script
Emmo00 Nov 15, 2025
2277986
Merge pull request #37 from Emmo00/feat/sqlite-store-publish-arweave
Emmo00 Nov 15, 2025
2643777
fix: ensure necessary build tools are installed and clean old node_mo…
Emmo00 Nov 16, 2025
fbf9dd6
Merge pull request #38 from Emmo00/feat/sqlite-store-publish-arweave
Emmo00 Nov 16, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
node_modules
npm-debug.log
.env.local
.env.development.local
.env.test.local
.env.production.local
.git
.gitignore
README.md
LICENSE
.vscode
.nyc_output
coverage
.coverage
dist
build
*.log
.DS_Store
Thumbs.db
7 changes: 4 additions & 3 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
PORT="3000"
API_TOKEN="..."
GNOSIS_RPC="https://gnosis-rpc.publicnode.com"
APPLICATION_ID="..."
CONTRACT_LABEL="M3ters"
CHIRPSTACK_HOST="..."
PREFERRED_PROVER_NODE="https://prover.m3tering.com"
CHIRPSTACK_HOST="localhost"
MAINNET_RPC="https://sepolia.drpc.org"
PREFERRED_PROVER_NODE="http://prover.m3ter.ing"
STREAMR_STREAM_ID="0x123.../foo/ba"
ETHEREUM_PRIVATE_KEY="..."
9 changes: 7 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,19 @@ FROM node:20-alpine
# Create working directory
WORKDIR /opt/app

RUN apk add --no-cache cmake make g++ python3 openssl-dev py3-setuptools

# Optional: clean old node_modules if re-building
RUN rm -rf node_modules package-lock.json

# Copy and install dependencies
COPY package.json .
COPY package-lock.json .
COPY babel.config.js .
COPY tsconfig.json .
COPY .env .
COPY src ./src
RUN npm install
RUN npm install --include=dev

# Build project
RUN npm run build
Expand All @@ -19,4 +24,4 @@ RUN npm run build
EXPOSE 3000

# Start app
CMD [ "npm", "start"]
CMD [ "npm", "start" ]
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
# M3tering Console Setup

## Pre-setup

- Make sure Public key is set on the M3ter contract
- Make sure the Console has been granted publish permission on the Streamr stream

## Quick Setup

1. **Clone/Update**
Expand All @@ -21,6 +26,8 @@
CHIRPSTACK_HOST=localhost
MAINNET_RPC=https://sepolia.drpc.org
PREFERRED_PROVER_NODE=http://34.244.149.153
STREAMR_STREAM_ID="0x123.../foo/ba"
ETHEREUM_PRIVATE_KEY="..."
```

3. **Docker Build and Run**
Expand Down
Loading