Unfortunately, unlike the ganache application, ganache-cli creates completely new accounts on each restart. This is very annoying, because I always have to reimport a new account into my metamask to test my application.
Is there a way to keep the accounts in ganache-cli as well?
Ok, figured it out.
In the future your best bet is to ask questions like these in the Truffle gitter.
@DavidKuennen obviously there is no point of actually answering your own question once you found the answer.
run ganache-cli --deterministic to your options, this is insecure btw.
Most helpful comment
run
ganache-cli --deterministicto your options, this is insecure btw.