morley-client-0.3.1: 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 :: (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => ImplicitAddressWithAlias -> m OperationHash Source #

Resolve the public key of an implicit address and reveal it.

revealKeyUnlessRevealed :: (HasTezosRpc m, HasTezosClient m, WithClientLog env m) => ImplicitAddressWithAlias -> m () Source #

Resolve the public key of an implicit address and reveal it, unless already revealed.

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

Deprecated: Prefer using revealKeyWithFee, as it's a lot more efficient

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.

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

Deprecated: Prefer using revealKeyUnlessRevealedWithFee, as it's a lot more efficient

Reveal given key.

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