Skip to content
Merged
Changes from all commits
Commits
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
4 changes: 2 additions & 2 deletions cmd/createdkg.go
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ func generateLaunchpadLink(configHash []byte, network string) string {
}

func generateAPILink(configHash []byte) string {
return "https://api.obol.tech/dv/" + fmt.Sprintf("%#x", configHash)
return "https://api.obol.tech/v1/definition/" + fmt.Sprintf("%#x", configHash)
}

func publishPartialDefinition(ctx context.Context, conf createDKGConfig, privKey *k1.PrivateKey, def cluster.Definition) error {
Expand Down Expand Up @@ -368,7 +368,7 @@ func publishPartialDefinition(ctx context.Context, conf createDKGConfig, privKey
} else {
log.Info(ctx, "Distributed Key Generation configuration created. Run one of the following commands from the directories where the associated .charon/charon-enr-private-key(s) that match these ENRs are: "+
"(Without docker): `charon dkg --definition-file="+generateAPILink(def.ConfigHash)+"` "+
"(With docker): `docker run --rm --it -v \"$(pwd):/opt/charon/.charon\" obolnetwork/charon:latest dkg --definition-file="+generateAPILink(def.ConfigHash)+"`")
"(With docker): `docker run --rm -v \"$(pwd)/.charon:/opt/charon/.charon\" obolnetwork/charon:latest dkg --definition-file="+generateAPILink(def.ConfigHash)+"`")
}

return nil
Expand Down
Loading