if(executionContext.getProvider()!=='vm')returnreject('plugin API does not allow creating a new account through web3 connection. Only vm mode is allowed')
/**
* Create a VM Account
* @param {{privateKey: string, balance: string}} newAccount The new account to create
*/
createVMAccount(newAccount){
const{privateKey,balance}=newAccount
if(executionContext.getProvider()!=='vm'){
thrownewError('plugin API does not allow creating a new account through web3 connection. Only vm mode is allowed')