Layr-Labs / eigenda-operator-setup

Quick start setup guide for EigenDA
MIT License
80 stars 78 forks source link

remove the need of ecdsa key by default #120

Open shrimalmadhur opened 6 months ago

shrimalmadhur commented 6 months ago

This PR also changes interfaces for all operations.

Note: Same .env file is being used for these operations and running node. Even though only few variables are needed from the .env files for run.sh script, to have minimal change I want to keep .env for this too. But this is debatable if we want to remove .env file for run.sh we have to make everything as argument and also need to make sure nodeplugin doesn't require any unnecessary fields from .env file

Opt In

./run.sh \
  --operation-type opt-in \
  --node-ecdsa-key-file-host /path/to/ecdsa/file  \
  --node-ecdsa-key-password password \
  --quorums 0

Opt out

./run.sh \
  --operation-type opt-out \
  --node-ecdsa-key-file-host /path/to/ecdsa/file  \
  --node-ecdsa-key-password password \
  --quorums 0

List Quorums

./run.sh --operation-type list-quorums

Update socket

./run.sh \
  --operation-type update-socket \
  --node-ecdsa-key-file-host /path/to/ecdsa/file  \
  --node-ecdsa-key-password password

TODO