Creates a signer from a hex-encoded private key.
factory PrivateKeySigner.fromHex(String hex, int chainId) { return PrivateKeySigner(HexUtils.decode(hex), chainId); }