RevocationRegistry constructor
Implementation
RevocationRegistry(String rpcUrl, {String? contractAddress, chainId = 1}) {
web3Client = Web3Client(rpcUrl, Client());
_chainId = chainId;
_rpc = JsonRPC(rpcUrl, Client());
if (contractAddress != null) {
setContract(contractAddress);
}
}