MinaProtocol / mina

Mina is a cryptocurrency protocol with a constant size blockchain, improving scaling while maintaining decentralization and security.
https://minaprotocol.com
Apache License 2.0
1.99k stars 529 forks source link

Importing wallet error #8781

Closed hp561 closed 3 years ago

hp561 commented 3 years ago

Running: docker exec -it mina mina accounts import --privkey-path ~/keys/my-wallet fails saying it's an invalid path, but it's not. Anyone else have this issue?

Error: (monitor.ml.Error ( "\ \nFATAL ERROR\ \n\ \n \226\152\160 Mina encountered a configuration error loading coda keypair.\ \n\ \n Parent directory /Users/joe/keys does not exist\ \n\ \nHint: mkdir -p /Users/joe/keys; chmod 700 /Users/joe/keys\ \n\ \n") ("Raised at file \"src/lib/mina_user_error/mina_user_error.ml\", line 6, characters 27-67" "Called from file \"src/deferred0.ml\", line 56, characters 64-69" "Called from file \"src/job_queue.ml\" (inlined), line 131, characters 2-5" "Called from file \"src/job_queue.ml\", line 171, characters 6-47"))

hp561 commented 3 years ago

Solution was to use /keys/my-wallet