KriyaMoney. Part 1. IntroductionKriyaMoney. Part 2. IdeaKriyaMoney. Part 3. TheoryKriyaMoney. Part 4. Problems and solutionsKriyaMoney. Part 5. Software implementation





A warning!
In this article there are a lot of formulas, a little explanatory text and absolutely no pictures. The article will not be interesting to everyone. And for her understanding it is necessary to ponder on each parameter of each formula. It is boring and difficult.
Disclaimer of Warranties
Just want to say that all that will be written in this article is my personal opinion. Everything that is written here can be absolutely not true. Each formula may have an ideological or fundamental error. In addition, this article does not fully describe all formulas and terms used. If you try to think deeply enough into the essence of what has been written, a change in the value system may occur. So read at your own risk.
')
Theory
Implement the transfer of money using transactions can be similar to how it is implemented in Bitcoin. But to realize the issue will have a different way. I will try to explain how you can try to implement this with an example.
Kriya
For a start, I propose to introduce the concept of "
Kriya " project. The value of Kriya is determined depending on the number of "actions" spent on the implementation of the project and on the evaluation of the project by the society (the "karma" of the project). In other words, Kriya is understood as the quantitative value of the value that the project brings to society.
"
Kriya - letters," action ". In the most general sense, means any activity, in a specific way - religious activity (rites, sacraments, etc.). In yoga and tantra (see) means controlled movements and postures of the body.
Kriya (Kriya) - action, movement, activity. The first two stages of ashtanga yoga (yama and niyama) make up separate kriya yoga, action yoga.
In a general sense, kriya means any activity. In a specific sense, it is a religious activity, especially rites, ordinances and ceremonies.
Artha
In addition, I propose to introduce the concept of "
Artha ". By Artha we mean the accumulation of the user, his money.
Artha - material prosperity, one of the goals of human life.
Formulas
The formula for changing the user’s Artha after voting is completed:
+=
(1)
The issue of new money is determined as follows:
= *
(2)
New surplus value money is issued once for each project.
If KriyaProject is less than zero, then there is no positive surplus value and no emission is made.
The formula for calculating the emission factor for the previous billing period (for example, for the previous 65536 cycles):
= /
(3)
Where
= /
= / 65536
The emission factor will allow smoothing periods of strong emission growth (with an influx of a large number of projects) and periods of a small number of projects. When using this coefficient, the issue of money will be approximately the same size as in the first period of the system’s existence and in the subsequent ones. During periods when there will be few projects per unit, Kriya will issue more money than during periods when there are many projects. This should ensure the stability of the development of the system as a whole.
In the initial period of the system, the formula for calculating the coefficient will not work. Therefore, up to the moment of 65536 cycles, the CoefEmission must be taken of a constant value (constant). For example, equal to 1.00. Or, alternatively, starting the counting of the cycles not from the value 1, but from the value 65536.
The formula for determining the value of Kriya project, I propose this:
= *
(4)
The formula for determining the value of the evaluation project:
= (*) /
(5)
Where
Rating - Evaluation of the Voting User
Kriya - Voting User Kriya
Project Evaluation will be able to take values ​​from -1 to +1. A value of -1 is possible if all users vote against the project; +1 value is possible if all users vote for the project. Only users with a positive Kriya can evaluate a project; only Kriya positive is taken into account in the SumAccount value of AllUsers.
Formula user rating ("Karma" user):
= ()
(6)
Formula for determining user Kriya value:
= ()
(7)
Examples
Simple example
Suppose there are three users with positive Kriya (User1, User2, User3). User1, User2, User3 have the following Kriya values:
User1 +1000
User2 +2000
User3 +3000
There are also three projects (Proj1, Proj2, Proj3) that created two other users (User4, User5). User4 created projects Proj1 and Proj2, User5 created project Proj3. Projects Proj1, Proj2, Proj3 collected the following amount of money for the implementation (cost of projects):
Proj1 100
Proj2 200
Proj3 300
Suppose all three projects scored the required amount and were completed (but with different results). Users voted for the projects as follows (who is for which project votes - rating):
User1 Proj1 +1
User1 Proj2 +1
User2 Proj1 +1
User2 Proj2 -1
User3 Proj2 -1
User3 Proj3 -1
The amount of Kriya users is:
SummKriya = +1000+2000+3000 = 6000
Only users with positive Kriya are counted, the rest are not involved in the calculation.
Project estimates will be as follows (
formula 5 ):
ProjEst1 = (+1*1000+1*2000)/6000 = +0.50
ProjEst2 = (+1*1000-1*2000-1*3000)/6000 = -0.67
ProjEst3 = (-1*3000)/6000 = -0.50
Kriya projects will be as follows (
formula 4 ):
ProjKriya1 = +0.50*100 = +50 =>
ProjKriya2 = -0.67*200 = -134 < 0 =>
ProjKriya3 = -0.50*300 = -150 < 0 =>
Changes Kriya authors of the projects will be as follows:
UserKriya4 = ProjKriya1+ProjKriya2 = +50-134 = -84
UserKriya5 = ProjKriya3 = -150
To calculate the emission coefficient, you need to know how much new money was created during the billing period (previous 65,536 cycles) and how much money was created during the entire life of the system (for example, 100,000 cycles have passed). Suppose for the previous period 10,000 units of money were created, and for the entire period 12,000 units of money were created. Then the coefficient for the emission will be as follows (
formula 3 ):
EmissionFactor = (12000 / 100000) / (10000 / 65536) = 0.786
Issue will be (
formula 2 ):
Emission = 0.786*50 = 39
As a result, this new money will be credited to Proj1’s author’s Artha project (
Formula 1 ):
Artha += 39
An example of determining the maximum emission
0. Assume that at the time of the creation of the system 1000 units of money for the first project and 1000 units of Kriya will be issued.
1. Further, when creating a second project with a cost of 1000 units and a positive assessment of the Kriya project, it will be:
KriyaProject = + 1.0 * 1000 = 1000
Suppose CoefEmissions in the initial period of the system is equal to:
Equity Ratio = 1.00
The emission will be:
Emission = Emission ratio * KriyaProject = 1.00 * 1000 = 1000
The total amount of money in the system will be:
TotalMassMoney = 1000 + 1000 = 2000
2. Further, when creating another 10 projects worth 200 units and with a positive assessment
Total Kriya of all projects of the past period:
Kriya of the Past Period = 1000 + 1000 = 2000
Total Kriya of all new projects:
KriyaOdnogoNoproekta = + 1.0 * 200 = 200
KriyaNovProektov = 10 * 200 = 2000
Total issue:
Emission = 10 * Energy ratio * KriyaProject = 10 * 1.00 * 200 = 2000
Total amount of money in the system:
TotalMassMoney = 2000 + 2000 = 4000
3. Further, when creating another 10 projects worth 400 units and with a positive assessment of each
Kriya of the Past Period = 2000 + 2000 = 4000
Total Kriya of all new projects:
-Kriya OneNew Project = + 1.0 * 400 = 400
KriyaNovProektov = 10 * 400 = 4000
Total issue:
Emission = 10 * Energy ratio * KriyaProject = 10 * 1.00 * 400 = 4000
Total amount of money in the system:
Total Mass Money = 4000 + 4000 = 8000
And so on, increasing twice in each
project implementation cycle .
4. Consider a more realistic situation where the number of projects will increase and not all projects will receive positive ratings. For example, another 10 projects will be created, each worth 800 units, but each project will score an average of 0.5 (which is equivalent to a situation where half the masses vote positively and the rest ignore the project).
Total Mass MoneyPast = 8000
Past Kriya = 8000
Total Kriya of all new projects:
KriyaOdnogoNoproekta = + 0.5 * 800 = 400
KriyaNovProektov = 10 * 400 = 4000
Total issue:
Emission = 10 * Energy ratio * KriyaProject = 10 * 1.00 * 400 = 4000
Total amount of money in the system:
TotalMassMoney = 8000 + 4000 = 12000
That is, the growth of the mass of money decreased and amounted to 4000/8000 = 0.5 = 50% for
the project implementation cycle .
The project implementation cycle is all the time when the money invested cannot be spent on anything until there is no solution, the project has collected the necessary amount of money or not. The implementation of such transactions, in principle, will not be a difficult problem. After it becomes known that a project has scored the required amount or not, the transaction is either confirmed or deemed not accepted. If the fundraising of each project takes place over 10,000 cycles, then the maximum number of “project implementation cycles” will be 65536/10000 = 6. And during this time the maximum increase in the money supply will be 1000 * (2 ^ 6) = 64000.
If there are no projects at all in this cycle or all projects receive negative votes, then there will be no emission.
Example 2
Let us consider a more realistic example, when in the initial period not all projects will be assessed positively and free funds will not be invested in all projects.
0. Assume that at the time of the creation of the system 1000 units of money for the first project and 1000 units of Kriya will be issued.
1. Further, when creating a second project with a cost of 1000 units and a positive assessment of the Kriya project, it will be:
KriyaProject = + 0.8 * 1000 = 800
Suppose CoefEmissions in the initial period of the system is equal to:
Equity Ratio = 1.00
The emission will be:
Emission = Emission ratio * KriyaProject = 1.00 * 800 = 800
The total amount of money in the system will be:
TotalMassMoney = 1000 + 800 = 1800
2. Further, when creating another 2 projects worth 500 units each (for a total of 1000 units) and with an average estimate of +0.25
Total Kriya of all projects of the past period:
Kriya of the Past Period = 1000 + 800 = 1800
Total Kriya of all new projects:
KriyaOdnogoNoproekta = + 0.25 * 500 = 125
KriyaNovProektov = 2 * 125 = 250
Total issue:
Emission = 2 * Effluent KriyaProject = 2 * 1.00 * 125 = 250
Total amount of money in the system:
TotalMassMoney = 1800 + 250 = 2050
3. Further, when creating 3 more projects worth 300 units each and with an average grade of each +0.3
Kriya of the Past Period = 2000 + 2000 = 4000
Total Kriya of all new projects:
KriyaOdnogoNoproekta = + 0.3 * 300 = 90
KriyaNovProektov = 3 * 90 = 270
Total issue:
Emission = 3 * Effluent KriyaProject = 3 * 1.00 * 90 = 270
Total amount of money in the system:
TotalMassMoney = 2050 + 270 = 2320
And so on, increasing not much per
project implementation cycle .
As a result, for the first 65536 cycles, according to estimates, it will turn out 10,000-20000 new units of money with an initial amount of 1,000 units.
What does all this give?
We are moving away from the shortcomings of the existing system. Namely, in the proposed system will be:
1. Security of money. The money will be provided with really useful work.
2. Distributed Emission. Emission is clearly determined by the algorithm, and not a handful of bankers.
3. Transparency. The maximum possible transparent distribution of new money received during the emission.
4. Security. No one will ever be able to block money in your account.
5. Anonymity. If desired, you can use I2P to transfer system data.
In the next part, I plan to provide for all possible system problems. And, in particular, the problem of adequate evaluation of projects by the community. To do this, I propose the division of the whole society into separate thematic communities and lay a more complex formula for calculating ratings. In particular, project evaluation will depend on the project evaluation by project participants (those who have invested in the project) and by members of the thematic community (who will act as experts).
Continued:
KriyaMoney. Part 4. Possible problems and their solutionPs1. Sometimes it happens that a
domain name for an interesting idea is quickly occupied by cybersquatters (in the comments on the link, pay attention to the date of publication of the comment and the date of registration of the domain). Therefore, in order to prevent this from happening, I decided to take up the kriyamoney domain name in the com org and ru zones in advance. If you have a desire to develop a project, write a client program (like bitcoin-qt) and also make a website, then I will be happy to give you all three domains.
PS2. The previous two articles have reduced my karma by half. If the Habr community decides to fix my Karma completely, then I will not be able to lay out the following parts. But, as they say, if something is to happen, it cannot but happen. If you have questions or suggestions, my contacts are available in the profile.