Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add delegations cli #293

Merged
merged 23 commits into from
Oct 16, 2024
Merged
Show file tree
Hide file tree
Changes from 11 commits
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
eeb257a
feat(delagation-cli): init
namn-grg Oct 14, 2024
5956208
feat(delagation-cli): clean code and working, wip: fix signature
namn-grg Oct 15, 2024
b08f666
feat(delegations-cli): add chain config, correct output
namn-grg Oct 15, 2024
15fae57
feat(delagation-cli): add readme
namn-grg Oct 15, 2024
f052dac
chore(delagation-cli): improve err handling
namn-grg Oct 15, 2024
03d1c96
doc(delegations-cli): add comments
namn-grg Oct 15, 2024
2d1f2f4
doc(delegations-cli): update readme
namn-grg Oct 15, 2024
c849466
chore(delagation-cli): handle multiple keys at once
namn-grg Oct 15, 2024
5553a3b
refactor(delegations-cli): seperate cli config for local and keystore
namn-grg Oct 15, 2024
a43e305
doc(delegations-cli): update readme
namn-grg Oct 15, 2024
650d738
feat(cli): nested subcommand
merklefruit Oct 15, 2024
bbe4565
fix: cli error
merklefruit Oct 15, 2024
4816ea0
chore: update readme
merklefruit Oct 15, 2024
576e6a1
feat(cli): add revocations
merklefruit Oct 15, 2024
7d02d66
chore: add docs
merklefruit Oct 15, 2024
3a605c1
chore: typoe
merklefruit Oct 15, 2024
aeadd09
test(delegations-cli): add test
namn-grg Oct 16, 2024
28aa1cd
Merge branch 'naman/feat/delegations-cli' of https://github.com/chain…
namn-grg Oct 16, 2024
e0eef81
test(delegations-cli): fix test
namn-grg Oct 16, 2024
07cad51
feat: added testdata + e2e test for lighthouse format
merklefruit Oct 16, 2024
3f19c5a
chore: added testdata readme
merklefruit Oct 16, 2024
5a3262f
chore: updated docs
merklefruit Oct 16, 2024
c3ad6a8
chore: rm unnecessary keystores
merklefruit Oct 16, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions bolt-delegations-cli/.env.keystore.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# generate-keystore
KEYSTORE_PATH=keys
KEYSTORE_PASSWORD=password
DELEGATEE_PUBKEY=0x83eeddfac5e60f8fe607ee8713efb8877c295ad9f8ca075f4d8f6f2ae241a30dd57f78f6f3863a9fe0d5b5db9d550b93
OUTPUT_FILE_PATH=delegations.json
CHAIN=kurtosis
5 changes: 5 additions & 0 deletions bolt-delegations-cli/.env.local.example
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# generate-local
SECRET_KEYS=0f40d627fa199720b79db91ce3f57034680f3ee6eef161abfb8275e676a7fd15,0f40d627fa199720b79db91ce3f57034680f3ee6eef161abfb8275e676a7fd15
DELEGATEE_PUBKEY=0x83eeddfac5e60f8fe607ee8713efb8877c295ad9f8ca075f4d8f6f2ae241a30dd57f78f6f3863a9fe0d5b5db9d550b93
OUTPUT_FILE_PATH=delegations.json
CHAIN=kurtosis
7 changes: 7 additions & 0 deletions bolt-delegations-cli/.gitignore
merklefruit marked this conversation as resolved.
Show resolved Hide resolved
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/target
.env
.env.*
delegations.json
private_key.txt
!.env.local.example
!.env.keystore.example
Loading