You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

44 lines
1.1 KiB

6 years ago
  1. # reciproka
  2. Decentralized mutual credit system based on Ethereum smart contracts.
  3. **For the moment this is an implementation of a Proof of Concept.**
  4. ## Components
  5. - Smart contracts
  6. - Ethereum Solidity
  7. - Frontend wallet app
  8. - Reactjs
  9. - Reputation Authority
  10. - Go lang
  11. ## Documentation
  12. Each 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).
  13. ### Transaction action:
  14. - Step 0: Initial scenario
  15. - Balances
  16. - u1: 0
  17. - u2: 0
  18. - Step 1: u1 sends 10 credits to u2
  19. - Balances
  20. - u1: -10
  21. - u2: 10
  22. ### Account
  23. Account data structure:
  24. ```solidity
  25. struct Account {
  26. address ID;
  27. int64 Balance;
  28. bytes32[] History;
  29. }
  30. ```
  31. ### Reputation Authority
  32. Handles a public list of accounts that have been verified, in order to give some kind of trusted certification to an user's account.
  33. Can 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.