Skip to content

Commit

Permalink
Add ADKG file and directory
Browse files Browse the repository at this point in the history
  • Loading branch information
thehoul committed Mar 3, 2025
1 parent dd6961f commit e86d542
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions adkg/adkg.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
package adkg

type Phase int8

const (
sharing Phase = iota
agreement
randomnessExtraction
keyDerivation
)

type ADKG struct {
Phase
}

func NewADKG() *ADKG {
return &ADKG{Phase: sharing}
}

0 comments on commit e86d542

Please sign in to comment.