The cold wallet I use was initially set up with an 18-digit mnemonic phrase. I’m going to claim the midnight airdrop recently, and because the cold wallet I use doesn’t support direct connection to the hot wallet, I need to import it from the cold wallet to the hot wallet. However, I found that the Cardano hot wallet doesn’t have the option to import the 18-digit mnemonic phrase, and it seems that I can’t convert it into a private key. Does anyone have any way to solve the problem of importing the 18-digit mnemonic phrase into the Cardano hot wallet?
Yes, you can use cardano-signer on the command line for that. To generate your keys and to do the manual CIP8/30 signing.
Sorry, I’m a complete novice in technology, so I’d like to confirm my understanding. Do you mean that if I’m using a Mac, I can open Terminal and directly run the CIP-8 / CIP-30 mode code in cardano-signer?
I just searched on YouTube and found that I should first build an environment on my computer that can run Cardano node, then run Cardano wallet before continuing with the steps you mentioned?
Do you mean that if I’m using a Mac, I can open Terminal and directly run the CIP-8 / CIP-30 mode code in cardano-signer?
yes exactly. no other software or node needed.
what wallet type with 18 words is it?
I’d like to confirm the correctness of my question. I want to transfer my 18-digit mnemonic phrase from a cold wallet to my eternl account. Therefore, I must convert the 18-digit mnemonic phrase into an SKEY and import it into eternl. Is this the correct procedure?
I’m not sure what type it is. When I bought a cold wallet a few years ago, they gave me the option to generate a wallet using a 12-, 18-, or 24-digit mnemonic phrase. I chose the 18-digit option. After generating the mnemonic phrase, various cryptocurrencies could be added to the cold wallet for storage. A few days ago, when I encountered this issue, I asked the manufacturer what protocol they used for Cardano. They said they used the same protocol as the one specified by the official website.
first, have you tried to import your mnemonics directly into eternl?
second, you have to use to mnemonics on the command like
cardano-signer keygen –mnemonics “word1 word2 … word18” –out-skey wallet-stake.skey –path stake
than you should be able to use this stake ley to sign the claim message.
I downloaded all the Cardano hot wallet extensions for Chrome, but when importing to the wallet, there is no option to select the 18-digit mnemonic phrase, so I want to import the wallet using the private key.
I’ll try it right away.
Just to confirm: By “18 digit” you do mean a seed phrase with 18 words, yes?
From which wallet app is that?
Never encountered that. And it is quite possible that you also have to know how exactly that particular wallet app derived keys from it.
That’s right, it’s not a Cardano wallet. The cold wallet manufacturer is called Coolwallet from Taiwan.
if you only wanna claim midnight, there is no need import the keys.
Do you mean I only need to enter Sign payloads in CIP-8 / CIP-30 mode to sign, and I don’t need to convert it to a private key or import it into eternl?
You convert your mnemonics into key files on the commandline.
Than you use those key files again on the commandline to sign the cip8/30 message from the claim portal.
Thats it, no eterln or light wallet import needed.
I tried to follow your instructions to use mnemonics on the command like, but it gave me the error zsh: command not found: cardano-signer. Did I miss any computer environment installation that prevented these commands from working?
try to run it like ./cardano-signer …
if it complains, run the command
chmod +x cardano-signer
to make it executable
Hi Martin I’ve been searching YouTube and forums these past few days and discovered that my computer seems to be missing some environment, which previously prevented me from executing commands. However, this seems to have been resolved. I’m trying to sign the cip8/30 message directly in Terminal, following your instructions, but I’m encountering this error when entering the information.
Could I have entered the information incorrectly?
I used these commands:
cardano-signer sign --cip8
–data “Hello world”
–secret-key dummy.skey
–address dummy.addr
The “Hello world” portion is replaced with the “Unique claim message” portion from the midnight page.
The “secret-key” portion is the private key converted from my mnemonic.
The “address” portion is filled in according to the instructions on the midnight claim page.
When signing, please use the keypair of the following address: stake1uxm69jnf8c4ja27uqscywnfgejuslx83jchunpuueh9t0msqp95ek
Is the mnemonic the one for the stake you are trying to claim for?
You have to sign with the keys for the origin address/account.
Ah, wait, this was the strange hardware wallet, wasn’t it?
Quite possible that they do a completely different derivation than cardano-signer
. You could try if cardano-signer
derives the correct key with --ledger
.
Or you’d have to ask them what they do exactly.
This is not a satisfactory answer at all. Which “official website” do they mean? What root key derivation do they use? Etc. pp.
This mnemonic is the address I want to claim, and it’s also the original cold wallet address. Entering it at midnight will also qualify.
So, what you’re saying is that even though I entered the mnemonic, the derivation method might be different, generating a different private key than the original one, and thus the signing will fail?
OK, now I understand more about the derivation methods of Cardano (but I don’t fully understand it yet). I will ask again.