UNPKG

@open-rights-exchange/orejs

Version:

Orejs is a Javascript helper library to provide simple high-level access to the ore-protocol. Orejs uses eosJS as a wrapper to the EOS blockchain.

23 lines 844 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); var action = function (_a) { var activePublicKey = _a.activePublicKey, name = _a.name, orePayerAccountName = _a.orePayerAccountName, ownerPublicKey = _a.ownerPublicKey, permission = _a.permission, pricekey = _a.pricekey, referral = _a.referral; return ({ account: 'system.ore', name: 'createoreacc', authorization: [{ actor: orePayerAccountName, permission: permission }], data: { creator: orePayerAccountName, newname: name, ownerkey: ownerPublicKey, activekey: activePublicKey, pricekey: pricekey, referral: referral } }); }; exports.default = action; //# sourceMappingURL=ore_createAccount.js.map