Skip to content

Commit 0a329fe

Browse files
committed
Fix smart accounts workflow.
1 parent f1039bf commit 0a329fe

5 files changed

Lines changed: 13 additions & 15 deletions

File tree

.github/workflows/run_smart_accounts.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,6 @@ jobs:
3333
working-directory: smart_accounts/zerodev
3434
run: npm install
3535

36-
- name: Build TypeScript
37-
working-directory: smart_accounts/zerodev
38-
run: npm run build
39-
4036
- name: Run application
4137
working-directory: smart_accounts/zerodev
4238
run: npm run start
@@ -66,10 +62,6 @@ jobs:
6662
working-directory: smart_accounts/safe
6763
run: npm install
6864

69-
- name: Build TypeScript
70-
working-directory: smart_accounts/safe
71-
run: npm run build
72-
7365
- name: Run application
7466
working-directory: smart_accounts/safe
7567
run: npm run start

smart_accounts/safe/.env.example

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
ARBITRUM_RPC_URL=<>
2+
SIGNER_PRIVATE_KEY=<>
3+
SIGNER_ADDRESS=<>
4+
COMPASS_API_KEY=<>
5+
SAFE_ADDRESS=<>

smart_accounts/safe/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"version": "1.0.0",
44
"main": "index.js",
55
"scripts": {
6-
"build": "tsc",
6+
"build": "node --loader ts-node/esm ./src/index.ts",
77
"start": "node dist/index.js"
88
},
99
"type": "module",
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
PRIVATE_KEY=<>
2+
ZERODEV_RPC=<>
3+
COMPASS_API_KEY=<>

smart_accounts/zerodev/package.json

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,19 +4,17 @@
44
"main": "dist/index.js",
55
"type": "module",
66
"scripts": {
7-
"build": "tsc",
8-
"start": "node dist/index.js"
7+
"start": "node --loader ts-node/esm ./src/index.ts"
98
},
109
"author": "",
1110
"license": "ISC",
1211
"description": "",
1312
"dependencies": {
1413
"@compass-labs/api-sdk": "latest",
15-
"@zerodev/ecdsa-validator": "^5.4.9",
16-
"@zerodev/sdk": "^5.4.36",
14+
"@zerodev/ecdsa-validator": "latest",
15+
"@zerodev/sdk": "latest",
1716
"dotenv": "^16.5.0",
18-
"tslib": "^2.8.1",
19-
"viem": "^2.30.5"
17+
"tslib": "^2.8.1"
2018
},
2119
"devDependencies": {
2220
"@types/node": "^22.15.27",

0 commit comments

Comments
 (0)