Skip to content

Commit

Permalink
fix: readme and script updates (#63)
Browse files Browse the repository at this point in the history
* fix: quick temporary fix

* fix: readme instructions and add debug commands

* chore: remove redundant env setting
  • Loading branch information
stevennevins authored Sep 13, 2024
1 parent 6fb8a0c commit 1b6fe07
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 10 deletions.
12 changes: 4 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,10 @@ Open a separate terminal window #2, execute the following commands

```sh
# Setup .env file
(cd contracts && cp .env.example .env && source .env)
cp .env.example contracts/.env

# Updates dependencies if necessary and builds the contracts
npm run build

# Deploy the EigenLayer contracts
npm run deploy:core
Expand All @@ -68,9 +71,6 @@ npm run start:operator
Open a separate terminal window #3, execute the following commands

```sh
cp .env.example .env
source .env

# Start the createNewTasks application
npm run start:traffic
```
Expand All @@ -80,8 +80,6 @@ npm run start:traffic
- This repo is meant currently intended for _local anvil development testing_. Holesky deployment support will be added shortly.
- Users who wish to build an AVS for Production purposes will want to migrate from the `ECDSAServiceManagerBase` implementation in `HelloWorldServiceManager.sol` to a BLS style architecture using [RegistryCoordinator](https://github.com/Layr-Labs/eigenlayer-middleware/blob/dev/docs/RegistryCoordinator.md).



# Appendix (Future Capabilities In Progress)

## Deployment on Tenderly Virtual Testnet
Expand Down Expand Up @@ -130,8 +128,6 @@ The architecture can be further enhanced via:
- the type of signature is different based on the constraints of the service
- the type and amount of security used to secure the AVS



## Rust Operator instructions

### Automated deployment (uses existing state file)
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
"start:operator": "ts-node operator/index.ts",
"start:traffic": "ts-node operator/createNewTasks.ts",
"start:anvil": "anvil",
"deploy:core": "cd contracts && forge script script/DeployEigenlayerCore.s.sol:DeployEigenlayerCore --rpc-url http://localhost:8545 --broadcast",
"deploy:hello-world": "cd contracts && forge script script/HelloWorldDeployer.s.sol:HelloWorldDeployer --rpc-url http://localhost:8545 --broadcast",
"deploy:core": "cd contracts && forge script script/DeployEigenlayerCore.s.sol --rpc-url http://localhost:8545 --broadcast",
"deploy:hello-world": "cd contracts && forge script script/HelloWorldDeployer.s.sol --rpc-url http://localhost:8545 --broadcast",
"deploy:core-debug": "cd contracts && forge script script/DeployEigenlayerCore.s.sol --rpc-url http://localhost:8545 --broadcast --revert-strings debug",
"deploy:hello-world-debug": "cd contracts && forge script script/HelloWorldDeployer.s.sol --rpc-url http://localhost:8545 --broadcast --revert-strings debug",
"build": "cd contracts && forge build",
"extract:abis": "npm run build && node utils/abis.js"
},
Expand Down

0 comments on commit 1b6fe07

Please sign in to comment.