mocktail/virgin_key_hash

Constants

root_hash: ByteArray = #"a2c20c77887ace1cd986193e4e75babd8993cfd56995cd5cfce609c2"

Functions

mock_key_hash(variation: Int) -> ByteArray

Mock a key in hexadecimal format

mock_policy_id(variation: Int) -> PolicyId

Mock a PolicyID The variation is used to distinguish between different PolicyIDs Use this but not other mock_key_hash functions to avoid hash collision

mock_pub_key_hash(variation: Int) -> VerificationKeyHash

Mock a public key hash The variation is used to distinguish between different public keys Use this but not other mock_key_hash functions to avoid hash collision

mock_script_hash(variation: Int) -> ScriptHash

Mock a script hash The variation is used to distinguish between different scripts Use this but not other mock_key_hash functions to avoid hash collision

mock_stake_key_hash(variation: Int) -> VerificationKeyHash

Mock a stake key hash The variation is used to distinguish between different stake keys Use this but not other mock_key_hash functions to avoid hash collision

mock_script_stake_key_hash(variation: Int) -> ScriptHash

Mock a script stake key hash The variation is used to distinguish between different scripts Use this but not other mock_key_hash functions to avoid hash collision

Search Document