Skip to content

Commit 5a30e1c

Browse files
committed
use @pimlico/mock-paymaster
1 parent 1ef9302 commit 5a30e1c

11 files changed

Lines changed: 49 additions & 2361 deletions

File tree

mock-verifying-paymaster/Dockerfile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# production ready dockerfile that runs pnpm start
2-
FROM node:20-alpine
2+
FROM node:22-alpine
33

44
# set working directory
55
WORKDIR /app
@@ -10,6 +10,9 @@ RUN npm install -g pnpm
1010
# copy package.json
1111
COPY package.json ./
1212

13+
# copy tsconfig.json
14+
COPY tsconfig.json ./
15+
1316
# copy source code
1417
COPY ./src ./src
1518

mock-verifying-paymaster/package.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,16 @@
55
"start": "wait-port anvil:8545 && ts-node src/index.ts"
66
},
77
"dependencies": {
8-
"@fastify/cors": "^9.0.1",
9-
"fastify": "^4.26.2",
10-
"permissionless": "^0.2.45",
11-
"tslib": "^2.6.2",
12-
"typescript": "5.4.2",
13-
"viem": "^2.29.0",
14-
"zod": "^3.22.4",
15-
"zod-validation-error": "^3.0.3"
8+
"@pimlico/mock-paymaster": "^0.0.4",
9+
"prool": "^0.0.24",
10+
"zod": "^3.22.0",
11+
"zod-validation-error": "^3.0.0"
1612
},
1713
"devDependencies": {
1814
"@biomejs/biome": "^1.9.4",
1915
"@types/node": "^20.12.4",
2016
"ts-node": "^10.9.2",
17+
"typescript": "^5.0.0",
2118
"wait-port": "^1.0.4"
2219
}
2320
}

mock-verifying-paymaster/src/constants.ts

Lines changed: 0 additions & 84 deletions
This file was deleted.

0 commit comments

Comments
 (0)