account new
that would deter it from asking for input and piping doesn't fly well:/ $ (sleep 2 && echo '\nx\nx\n') | aleth account new
[2020-09-07 15:31:48.318286] [0x00007ff1cefe1890] [info] Reading/home/aleth/.web3/keys/751f3d2d-1120-4a99-c005-4ab9e3a9c91d.json
[2020-09-07 15:31:48.318481] [0x00007ff1cefe1890] [info] Reading/home/aleth/.web3/keys/5640771c-45d6-af32-936d-b4a74127966a.json
Couldn't open wallet. Does it exist?
terminate called after throwing an instance of 'boost::wrapexcept<dev::ExternalFunctionFailure>'
what(): /source/libdevcore/CommonIO.cpp(174): Throw in function std::string dev::getPassword(const string&)
Dynamic exception type: boost::wrapexcept<dev::ExternalFunctionFailure>
[boost::errinfo_api_function_*] = tcsetattr
Aborted (core dumped)
@spartucus,
evmone implements EVMC API, so you want to use this API: https://github.com/ethereum/evmc.
Example projects:
bytes memory
. Can smbd explain me how to do that? (I use geth as node). Here is the link to my question on stack exchange, were I provide description of the problem: https://ethereum.stackexchange.com/questions/93916/adding-new-custom-opcode-to-solidity