"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
const ethers_1 = require("ethers");
class Client {
    //   private splendid: ;
    constructor(rpcUrl, splendidContractAddress) {
        if (!rpcUrl) {
            throw new Error('RPC URL passed to client must be defined');
        }
        if (!splendidContractAddress) {
            throw new Error('RPC URL passed to client must be defined');
        }
        this.provider = new ethers_1.ethers.providers.JsonRpcProvider(rpcUrl);
    }
}
exports.default = Client;
//# sourceMappingURL=splendidClient.js.map