Generating and verifying keys
1. Installing
Installing packages
echo "deb [trusted=yes] http://packages.o1test.net $(lsb_release -cs) stable" | sudo tee /etc/apt/sources.list.d/mina.list
sudo apt-get update
sudo apt-get install -y curl unzip mina-mainnet=1.3.0-9b0369cInstalling the key generator
sudo apt-get install mina-generate-keypair=1.3.0-9b0369c2. Generating keys
When creating keys, you will be asked to create a password.
Option 1 with a package:
mina-generate-keypair -privkey-path ~/keys/my-walletOption 2 using docker:
sudo docker run --interactive --tty --rm --volume $(pwd)/keys:/keys minaprotocol/mina-generate-keypair:1.3.0-9b0369c --privkey-path /keys/my-walletSet the rights:
3. Key verification
When checking the key, you will be asked to enter the password from it.
Option 1 with a package:
Option 2 using docker:
In both cases, if everything is ok with your keys, you will receive a message:
It means your keys have been verified.
4. Exporting keys
Now let's write your public key to the server in the .bashrc file so that we don't export them again next time.
Last updated
Was this helpful?