Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
6 changes: 5 additions & 1 deletion .dockerignore
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,8 @@ dist
build
*.log
.DS_Store
Thumbs.db
*.db

# ignore test files
**/*.test.ts
**/*.spec.ts
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ CONTRACT_LABEL="M3ters"
CHIRPSTACK_HOST="localhost"
MAINNET_RPC="https://sepolia.drpc.org"
PREFERRED_PROVER_NODE="http://prover.m3ter.ing"
STREAMR_STREAM_ID="0x123.../foo/ba"
STREAMR_STREAM_ID="0x567853282663b601bfdb9203819b1fbb3fe18926/m3tering/test"
ETHEREUM_PRIVATE_KEY="..."
11 changes: 5 additions & 6 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,16 @@ 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 package*.json ./

RUN npm install --include=dev && npm cache clean --force

# Copy application files
COPY babel.config.js .
COPY tsconfig.json .
COPY .env .
COPY src ./src
RUN npm install --include=dev

# Build project
RUN npm run build
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
## Pre-setup

- Make sure Public key is set on the M3ter contract
- Make sure the price for evergy as been set on the PriceContext contract
- Make sure the Console has been granted publish permission on the Streamr stream

## Quick Setup
Expand All @@ -26,7 +27,7 @@
CHIRPSTACK_HOST=localhost
MAINNET_RPC=https://sepolia.drpc.org
PREFERRED_PROVER_NODE=http://34.244.149.153
STREAMR_STREAM_ID="0x123.../foo/ba"
STREAMR_STREAM_ID="0x567853282663b601bfdb9203819b1fbb3fe18926/m3tering/test"
ETHEREUM_PRIVATE_KEY="..."
```

Expand Down
218 changes: 149 additions & 69 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading