Unlocking

So I guess I need to unlock Ethermint first, I wasn’t even sure what my wallet address was so I looked into the ~/.ethermint directory I’d installed earlier and found a keystore that Itook to myetherwallet.com. I realized that since the keystore was in a hidden folder it wouldn’t be present in the Finder dialogue but googled a helpful shortcut of Command-Shift-Period to make Finder show hidden files. I uploaded the keystore , unlocked it with 1234 and found my address. Now equipped I went back and tried:

ethermint --datadir ~/.ethermint --rpc --rpcaddr=0.0.0.0 --ws --wsaddr=0.0.0.0 --rpcapi eth,net,web3,personal,admin --unlock 0xMY4W350M3W411374DDR355

but got Fatal: Error starting protocol stack: resource temporarily unavailable. I’ve had trouble with geth after stopping and starting, realizing it actually stayed alive somewhere in the background 👻, so I tried to find a kill command. killall -9 ethermint seemed to do the trick 💀. After starting Ethermint again the red errors inside of Tendermint didn’t stop and Ethermint kept repeating Waiting for tendermint endpoint to start err=”Post http://localhost:46657/status: dial tcp [::1]:46657: getsockopt: connection refused” . I force stopped Tendermint ( Control-C ) then tried it again but realized it too lived on somewhere panic: Panicked on a Sanity Check: Error initializing DB: resource temporarily unavailable killed it 🔪 killall -9 tendermint and tried it all again:

tendermint --home ~/.ethermint/tendermint node ethermint --datadir ~/.ethermint --rpc --rpcaddr=0.0.0.0 --ws --wsaddr=0.0.0.0 --rpcapi eth,net,web3,personal,admin – unlock 0xMY4W350M3W411374DDR355

still got over and over again:

INFO [09-16|23:13:26] Waiting for tendermint endpoint to start err="Post http://localhost:46657/status : dial tcp [::1]:46657: getsockopt: connection refused"

Assistance

As a last resort I went over to cosmos.rocket.chat where Cosmos employees let you bother them and got ahold of very helpful Adrian Brink who told me I just type the password right into the oncoming mess of waiting for tendermint and duh it worked, all errors and red text stopped. Afterwards I ran truffle compile && truffle migrate and I got a successful deploy 🎉

Now I’m able to get super fast confirmations at tiny gas prices using my dApp with Mist. I’m running my node locally so I’m the only user right now, but once Ethermint’s public test net is ready (October?) I could deploy there and launch the app publicly. Seem’s all that’s left now is getting Ethermint to play nice with MetaMask 🦊