/** * Creates a new ContractRegistry instance * * @param endpoint - the URL and port of the contract registry RPC * @param options - optional gRPC channel options */ constructor(endpoint: string, options?: ChannelOptions) { this.rpcClient = new Client(endpoint, ChannelCredentials.createInsecure(), options) }