arnaucube
arnaucube/reciprokaPublic Self-hosted repository
reciproka/README.md
README.mdRaw
 1# reciproka
 2Decentralized mutual credit system based on Ethereum smart contracts.
 3
 4**For the moment this is an implementation of a Proof of Concept.**
 5
 6## Components
 7- Smart contracts
 8  - Ethereum Solidity
 9- Frontend wallet app
10  - Reactjs
11- Reputation Authority
12  - Go lang
13
14## Documentation
15
16Each user connects to `reciproka` throught the frontend wallet app. Once the app is opened, it creates a new ethereum private key (if the user already have one, loads it).
17
18
19### Transaction action:
20- Step 0: Initial scenario
21  - Balances
22    - u1: 0
23    - u2: 0
24- Step 1: u1 sends 10 credits to u2
25  - Balances
26    - u1: -10
27    - u2: 10
28
29
30### Account
31Account data structure:
32```solidity
33struct Account {
34  address ID;
35  int64 Balance;
36  bytes32[] History;
37}
38```
39
40
41
42### Reputation Authority
43Handles a public list of accounts that have been verified, in order to give some kind of trusted certification to an user's account.
44Can be runned by a collective, so for example, a group of people that work together in a project, can run a Reputation Authority, that will 'validate' trusted user's accounts.