Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Big One: How to Display Credit and Trustworthiness #3

Open
andytudhope opened this issue Mar 21, 2023 · 2 comments
Open

The Big One: How to Display Credit and Trustworthiness #3

andytudhope opened this issue Mar 21, 2023 · 2 comments

Comments

@andytudhope
Copy link
Contributor

Ideally, we'd want to pop up a modal before Honouring any Proposal, or Accepting any Forgiveness.

This modal must explain that you balance is equivalent to your creditworthiness (higher balance == less creditworthy) and that your transaction history is equivalent to your trustworthiness.

Therefore, you don't want to honour proposals that put you too much in debt, nor do you want to honour proposals from accounts that have 'strange' transactions in their history. You also don't want to just accept Forgiveness from a random account (even if they offer a lot of forgiveness) because this would make your own account look suspicious.

This raises the question: "what is strange?" That is, what kinds of transactions in a given history make an account "suspicious".

My hunch is that it is largely contextual. There are some big giveaways though:

  1. Taking on large debt only to forgive large amounts to a "botnet" like shape of inter-related accounts (i.e. dense interconnections, not many connections to other accounts outside the net)
  2. Sudden forgiveness of a large debt from an account that the forgiven account has not interacted with before.

That said, how do "botnets" differ from local trade in a tight network of friends? Is there a way to reliably discern between the two. This gets us to:

  1. Large transaction volume relative to the rest of the network (local groups are not likely to exchange more than once or twice a day at most).

So, in building our "trust model", we're looking at anomalous transactions (where anomalous == sudden change in relative magnitude of transaction size, either honouring - taking on debt - or forigiving - removing the debt of others) and anomalous transaction volumes.

For a v1, I think that simply putting up a modal which displays the transaction history of the proposer of the forgiver, before anyone either honours or accepts a given transaction is a good start. However, we will definitely need to do more to make it easy and intuitive for people to decide upon trustworthiness when interacting via HON.

@andytudhope
Copy link
Contributor Author

I've begun work on this here: 85e76af

Specifically, this file: https://github.com/kernel-community/honour/blob/main/packages/dapp/src/hooks/calculateTrustScore.js

If anyone sees this and would like to provide feedback, I'd welcome it.

@andytudhope
Copy link
Contributor Author

Added a comparison of accounts I have transacted with vs accounts you have transacted with (i.e. trust graph of depth 2)

4b425e9

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant