Minka Ledger Docs

Define a currency

Before we can transact with it, we need to define it


Creating a symbol

Next, we will create a symbol.

Symbols are used to represent currencies (or anything that can be counted, for example, loyalty points, tokens, cryptocurrency etc.)

You can create a symbol by running minka symbol create command and entering the same values as described below:

$ minka symbol create
? Handle: usd
? Factor: 100
? Add custom data? No
? Signer: clearinghouse
? Signer password for clearinghouse [hidden]
 
✅ Symbol created successfully:
 
Symbol summary:
---------------------------------------------------------------------------
Handle: usd
Factor: 100
 
Access rules:
#0
  - Action: any
  - Signer:
    - public: eIHlrG0Wr5vl3pDi5Vgqzu5WGE7q/60jsysBmehYKtg=
 
Status: created
 
Luid: $sym.-0-jhViAkJbbQLgp5
Handle: clearinghouse
Public: eIHlrG0Wr5vl3pDi5Vgqzu5WGE7q/60jsysBmehYKtg=

Here we created an USD symbol (i.e. currency) with a minimal currency fraction of 1/100th of a dollar (i.e. one cent).

On this page