Inspiration

We were inspired by the way "proof of stake" helps to store reliable data based on validators motivation.

We thought we would take that a step further, and to give the validators the chance to verify an off-chain entities.

We were inspired by the way Chainlink bridges between on-chain and off-chain.

We were inspired by DID standard when it comes to verified entities.

What it does

Verifies off-chain entities by asking TruBuddy network validators to verify that entity.

The validators motivation is to verify entities as much as they can, in order to collect rewards.

To reduce the mistakes, which can impact the trust in the blockchain, validators are penalized with loss of stake and lower rating and opportunities.

Common use is to verify identities but TruBuddy is designed to support all information is necessary for smart contracts.

How we built it

  • We implemented a DAO which the stakers are the validators.
  • We created an IPFS external adapter in order to store information regarding to the off-chain entities.
  • We created a contract which controlled by the governance so that in any verification that ended successfully store the lookup beetwen the address and the IPFS hash (CID).

TruBuddy is divided into 5 contract.

  • GovernanceToken - extends REC20 handle voting power and delegation.
  • GovernanceController - handle the governance proposals and voting flow.
  • GovernanceTimeLock - controlled by GovernanceController the executed method.
  • Verified DB - storing lookup between address and IPFS document hash. can be read by everyone but can be set only by GovernanceTimeLock.
  • IPFSChainlinkClient - providing an interface to interact with IPFS by calling IPFS node operator (currently is missing. will be added as soon as I find a solution to run a test node )

TruBuddy Architecture

Challenges we ran into

  • Create a custom DAO interface
  • Missing IPFS Chainlink node operator
  • Not enough time ;)

Accomplishments that we're proud of

  • We created an external adapter for IPFS over Chainlink
  • We created a custom DAO interface
  • We created a frontend app with nice UX

What we learned

  • IPFS
  • Chainlink external adapter, Chainlink oracle
  • Solidity
  • Truffle

What's next for TruBuddy

  • We must add a privacy level so that Smart Contract users can enjoy the trusted network without exposing there personal information. We checking the possibility to use "Zero Knowledge Prove" implementation.
  • Improve choosing validators algorithm

Built With

Share this project:

Updates