Minka Ledger Docs

User creation

Let's create our signer (public and private key pair)


Create your signer (user)

Now that you understand how keys and signatures work, let's create a signer...

After entering minka signer create command you will be prompted with additional questions. Answer them the same way as shown below.

$ minka signer create
? Handle: clearinghouse
? Key pair source: Generate new key pair
? Add custom data? No
? Signer password: [hidden]
? Repeat password: [hidden]
Signer clearinghouse saved locally.
 
✅ Signer created successfully:
 
Signer summary:
---------------------------------------------------------------------------
Handle: clearinghouse
Public: eIHlrG0Wr5vl3pDi5Vgqzu5WGE7q/60jsysBmehYKtg=
 
Access rules:
#0
  - Action: any
  - Signer:
    - public: eIHlrG0Wr5vl3pDi5Vgqzu5WGE7q/60jsysBmehYKtg=
 
⚠️  WARNING::  Secret or private key is critical data that should be
handled with care. Private keys are used to modify balances and it is
important to understand that anyone who has access to that key can
perform sensitive ledger operations.

In the console (by default) you can only see your public key. This is for security purposes, plus, most of the time, you will only need your public key.

However, you can also see your private key if you pass the -s flag:

$ minka signer show clearinghouse -s
? Signer password for clearinghouse [hidden]
 
Signer summary:
---------------------------------------------------------------------------
Handle: clearinghouse
Public: eIHlrG0Wr5vl3pDi5Vgqzu5WGE7q/60jsysBmehYKtg=
Secret: VRrwzUf7gagiIFXhKyUfb4nyVab3fYeMqTKF5q5XQoc=
 
 
⚠️  WARNING::  Secret or private key is critical data that should be handled
with care. Private keys are used to modify balances and it is important to
understand that anyone who has access to that key can perform sensitive
ledger operations.

IMPORTANT: You NEVER want to share your private keys publicly! But since this is a tutorial running a demo ledger on a test server it doesn't really matter who can see it.

On this page