Compare commits
No commits in common. "749472e515794d94e2db40ec2caec0b57c9df3fd" and "4963eea68bd1e3b38cbc14a64888d3f5aaef3f85" have entirely different histories.
749472e515
...
4963eea68b
1 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ import Haskoin.Address (Address)
|
||||||
-- | A seed for generating private keys
|
-- | A seed for generating private keys
|
||||||
newtype Seed =
|
newtype Seed =
|
||||||
Seed C.ByteString
|
Seed C.ByteString
|
||||||
deriving stock (Eq, Prelude.Show, GHC.Generic)
|
deriving stock (Prelude.Show, GHC.Generic)
|
||||||
deriving anyclass (SOP.Generic, SOP.HasDatatypeInfo)
|
deriving anyclass (SOP.Generic, SOP.HasDatatypeInfo)
|
||||||
deriving anyclass (Data.Structured.Show)
|
deriving anyclass (Data.Structured.Show)
|
||||||
deriving (BorshSize, ToBorsh, FromBorsh) via AsStruct Seed
|
deriving (BorshSize, ToBorsh, FromBorsh) via AsStruct Seed
|
||||||
|
@ -55,7 +55,7 @@ instance ToBytes Seed where
|
||||||
-- | A mnemonic phrase used to derive seeds
|
-- | A mnemonic phrase used to derive seeds
|
||||||
newtype Phrase =
|
newtype Phrase =
|
||||||
Phrase BS.ByteString
|
Phrase BS.ByteString
|
||||||
deriving stock (Eq, Prelude.Show, GHC.Generic)
|
deriving stock (Prelude.Show, GHC.Generic)
|
||||||
deriving anyclass (SOP.Generic, SOP.HasDatatypeInfo)
|
deriving anyclass (SOP.Generic, SOP.HasDatatypeInfo)
|
||||||
deriving anyclass (Data.Structured.Show)
|
deriving anyclass (Data.Structured.Show)
|
||||||
deriving (BorshSize, ToBorsh, FromBorsh) via AsStruct Phrase
|
deriving (BorshSize, ToBorsh, FromBorsh) via AsStruct Phrase
|
||||||
|
|
Loading…
Reference in a new issue