Run an Ethereum node (Geth or Openethereum) for development
ethnode, run an Ethereum node for test and development
Try it out:
npm install -g ethnode ethnode
docker run -it ghcr.io/vrde/ethnode:latest
openethereumto run in a single node network using the clique (Geth) or InstantSeal (Openethereum) consensus engine (transactions are processed instantly)
geth. If you want to run
Every time you run
ethnode, it creates a new temporary directory to store the data. If you want to persist the data in a specific directory use:
Sometimes you want to allocate Ether to some specific addresses (maybe some other accounts you have on MetaMask). This is an alternative approach to import a private key to your MetaMask extension.
This is quite handy if you want to have a precommit hook that runs tests before committing, or if you want to integrate with a continuous integration system like travis.
ethnode --execute="truffle test"
openethereum --config dev?
Openethereum has a nice feature to run it as a private development chain (aka test RPC).
While testing it, I run into some problems, like:
--config dev) doesn't:
More or less for the same reasons mentioned above.
Ganache sometimes is not enough.