Skip to content

Commit

Permalink
doc update
Browse files Browse the repository at this point in the history
  • Loading branch information
Gajesh2007 committed May 21, 2024
1 parent 618c5de commit 0a57341
Show file tree
Hide file tree
Showing 6 changed files with 43 additions and 118 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@ send-fund: ## sends fund to the operator saved in tests/keys/test.ecdsa.key.json
# TODO: piping to zap-pretty only works when zapper environment is set to production, unsure why
____OFFCHAIN_SOFTWARE___: ##
start-operator:
node dist/index.js
tsc && node dist/index.js

spam-tasks:
node dist/createNewTasks.js
tsc && node dist/createNewTasks.js

-----------------------------: ##
_____HELPER_____: ##
Expand Down
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,11 @@ Where additional sophistication with AVSs come into the picture:

1. Make sure Docker is running
2. Run `make start-chain-with-contracts-deployed`

2.1 This will build the contracts, start an Anvil chain, deploy the contracts to it, and leaves the chain running in the current terminal
3. Open new terminal tab and run `make start-operator`
3.1 This will compile the AVS software and start monitering new tasks
4. Open new terminal tab and run `make spam-tasks` (Optional)
4.1 This will spam the AVS with random names every 15 seconds

## Extensions

Expand Down
105 changes: 0 additions & 105 deletions dist/index.js

This file was deleted.

24 changes: 19 additions & 5 deletions package-lock.json

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

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,12 @@
"start": "node dist/index.js"
},
"dependencies": {
"@types/node": "^20.12.12",
"bls-signatures": "^2.0.3",
"dotenv": "^10.0.0",
"ethers": "^5.7.2"
},
"devDependencies": {
"typescript": "^4.4.3"
"typescript": "^5.4.5"
}
}
20 changes: 16 additions & 4 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -344,6 +344,13 @@
"@ethersproject/properties" "^5.7.0"
"@ethersproject/strings" "^5.7.0"

"@types/node@^20.12.12":
version "20.12.12"
resolved "https://registry.npmjs.org/@types/node/-/node-20.12.12.tgz"
integrity sha512-eWLDGF/FOSPtAvEqeRAQ4C8LSA7M1I7i0ky1I8U7kD1J5ITyW3AsRhQrKVoWf5pFKZ2kILsEGJhsI9r93PYnOw==
dependencies:
undici-types "~5.26.4"

[email protected]:
version "3.0.0"
resolved "https://registry.npmjs.org/aes-js/-/aes-js-3.0.0.tgz"
Expand Down Expand Up @@ -483,10 +490,15 @@ [email protected]:
resolved "https://registry.npmjs.org/scrypt-js/-/scrypt-js-3.0.1.tgz"
integrity sha512-cdwTTnqPu0Hyvf5in5asVdZocVDTNRmR7XEcJuIzMjJeSHybHl7vpB66AzwTaIg6CLSbtjcxc8fqcySfnTkccA==

typescript@^4.4.3:
version "4.9.5"
resolved "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz"
integrity sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==
typescript@^5.4.5:
version "5.4.5"
resolved "https://registry.npmjs.org/typescript/-/typescript-5.4.5.tgz"
integrity sha512-vcI4UpRgg81oIRUFwR0WSIHKt11nJ7SAVlYNIu+QpqeyXP+gpQJy/Z4+F0aGxSE4MqwjyXvW/TzgkLAx2AGHwQ==

undici-types@~5.26.4:
version "5.26.5"
resolved "https://registry.npmjs.org/undici-types/-/undici-types-5.26.5.tgz"
integrity sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==

[email protected]:
version "7.4.6"
Expand Down

0 comments on commit 0a57341

Please sign in to comment.