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.

22 lines 780 B
"use strict"; 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 } }); }; module.exports = action; //# sourceMappingURL=ore_createAccount.js.map