morley-client-0.3.0: Client to interact with the Tezos blockchain
Safe HaskellSafe-Inferred
LanguageHaskell2010

Morley.Client.Action.Reveal

Description

Functions to reveal keys via node RPC.

Synopsis

Documentation

data RevealData Source #

Constructors

RevealData 

Fields

revealKey :: forall m env. (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => PublicKey -> Maybe Mutez -> m OperationHash Source #

Reveal given key.

Note that sender is implicitly defined by the key being revealed, as you can only reveal your own key.

This is a variation of key revealing method that tries to use solely RPC.

revealKeyUnlessRevealed :: forall m env. (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => PublicKey -> Maybe Mutez -> m () Source #

Reveal given key.

Note that sender is implicitly defined by the key being revealed, as you can only reveal your own key.