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.

18 lines (17 loc) 431 B
const action = ({ contractName, chainSymbol, newAccountContract, newAccountAction, minimumRAM, permission }) => ( { account: contractName, name: 'init', authorization: [{ actor: contractName, permission }], data: { symbol: chainSymbol, newaccountcontract: newAccountContract, newaccountaction: newAccountAction, minimumram: minimumRAM } } ); module.exports = action;