Clearinghouse
Overview
An automated clearing house (ACH) [1], or automated clearinghouse, is an electronic network for financial transactions, generally domestic low value payments.
ACHs are designed for high-volume, low-value payments, and charges fees low enough to encourage the transfer of low-value payments. The system is usually designed to accept payment batches, so that large numbers of payments can be made at once.
Most of the ACHs are using the NATCHa text based standard and are using batches to process payments that can take hours or days.
The following is an example of a ACH implementation based on the Minka Cloud that would allow low cost, real-time transactions.
[1] https://en.wikipedia.org/wiki/Automated_clearing_house
Central bank
Setup
The central bank usually manages the units of account for the system - Symbol. For the purpose of the Demo, the Central Bank Wallet has the control of the Symbol of the system and can manage the supply of the unit of accounts in the fictive country of Landia.
Central bank usually works as a high value payments system that clears transactions between banks (Settlement).
This is an oversimplified demo of a clearing house, but not too far from real world process.
In order to create an information space we will create a Domain specific for the country of Landia:
We will need to generate a random keeper that will be stored offline and used to sign Actions by the new Central Bank.
Next we will create a new Symbol (currency) that will he called Lukas.
The create wallet call will generate a new wallet and a new signer based on the provided keys.
As mentioned anyone can create a new unit of account (Symbol) simply by creating a wallet type Symbol. A Symbol has infinite inferior limit - unlimited balance.
Bank in the cloud
Next we will create accounts of the two Bridge accounts that will represent two banks in our Landia.
Since the banks have the credentials to access landia, they create their own Wallets and Signers.
The second banks creates its wallet based on the instructions of Landia Central Bank:
Assigning $luk
Back to the Central bank that holds the control of the $luk wallet it can assign (transfer) $luk to one of the banks.
Notice that the source and the symbol are the same value. It is what could be mapped to a real world "issuing" a currency.
And for the Bank of 2.
To assign a Symbol, clearing house usually asks for guarantee in the form of bonds or deposits form the financial institution.
Current status of the economic system is:
Low value ACH
To create a low value ACH we will need to represent the people accounts.
Setup
The banks hold people deposits, usually in the form of issuing credit to the users.
As a first step we need to create person Wallets for each Bank.
Notice that the specific Keeper has been set for Andres. It should stored on the device of Andres.
The second Bank creates a wallet for Andres.
Assign $luk to a person
Once the Wallets has been create a Bank can assign Lukas to a person
To follow the money in a real life example, a bank usually issues a credit to Tea generating more money.
At this moment the status of the Wallets are:
Peer to peer payment
The peer to peer payment is initiated on the source Wallet, usally on the device of the sender.
Since Tea has funds to buy a motorcycle now, she sends the funds to Andres.
Since Tea owns the Keeper for her wallet, she owns her funds and is the one signing the action without the interaction of the Bank1.
Clearing and settlement
Since all the wallets are tracked in the Cloud and signed by Keepers there is no need for settlement or clearing process - the updates are made in real time. Clean and simple.
Last updated