This extension class enables some convenient methods (sugar for the most part) to deal with Address.
This extension class enables some convenient methods to deal with byte array.
Utility methods to deal with
Augments types to have some shortcut methods dealing with HashDigest<T> values.
An identifier of 20 bytes (or 40 letters in hexadecimal, commonly with
0x) that refers to a unique account.
It is derived from the corresponding PublicKey of an account, but as a derivation loses information, it is always unidirectional.
The address derivation from a public key is as follows:
- Calculates the Keccak-256, which is a previous form of SHA-3 before NIST standardized it and does not follow FIPS-202, of the corresponding PublicKey.
- Takes only the last 20 bytes of the calculated Keccak-256 hash.
- When the address needs to be shown to end users,
displays these 20 bytes in hexadecimal, with a prefix
Represents a currency type. Every single value of Currency defines a distinct currency type. To draw a parallel with real world monetary, each Currency value represents such currencies as USD (US Dollar) or EUR (Euro), not values like $100 or €100.
A value type to represent digest bytes determined by a
A delegate to determine a consistent
Since it is called multiple times with different
proof-of-work system, the total time an implementation elapses
should not vary for different