koobor-sdk
Version:
Koobor Gaming Platform SDK
10 lines • 513 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.newPlayerRegistryContract = void 0;
var GlobalContext_1 = require("../core/GlobalContext");
var playerRegistryAbi = require("eat-them-all-contracts/build/abi/IPlayerRegistry.json");
function newPlayerRegistryContract(address) {
return new GlobalContext_1.globalContext.web3.eth.Contract(playerRegistryAbi, address);
}
exports.newPlayerRegistryContract = newPlayerRegistryContract;
//# sourceMappingURL=player-registry.js.map