Giter Club home page Giter Club logo

masa-protocol's Introduction

Masa Protocol

Masa, the premiere web3 identity and credit protocol. Be the first to build soulbound tokens in web3.

Introduction

In order to create the first decentralized credit bureau Masa implements a set of soulbound Tokens and non-fungible Tokens (NFTs). The following components are attributed to a users account during each step of the lending lifecycle. Metadata attributed to a soulbound token encrypted and can only be accessed with permission from the owner through the Masa API and Smart Contracts.

Masa soulbound Identity

The Masa Identity is a soulbound Identity Token that is generated for a user when they sign up to the Masa protocol and includes the following information:

Masa soulbound Credit Report

The soulbound Masa Credit Report enables the bridging and aggregation of on and off-chain data in order to create a hybrid decentralized credit report. The Masa credit report can include the following information depending on which region you are located (read a full list of supported countries here):

  • Credit Bureau Data
  • Bank Transaction Data
  • Mobile Money Data
  • On-chain Data
  • Centralized Exchange Data

Masa Soul Names

Masa Soul Names are non-fungible tokens that can be attached to the Masa soulbound identity. They act as a human-readable address for the Masa soulbound identity.

Masa Metadata API

Masa’s soulbound tokens have their metadata stored in the Masa API which is updated in real time with verified data throughout the lifecycle of the user. The Masa API has the following endpoints available with metadata data schema’s for attribution to the soulbound Tokens URI.

Soulbound Identity

Metadata base URI

https://metadata.masa.finance/v1.0/identity/

JSON Schema

A unique JSON schema is created for each user with the following format. Details can be found here

GET https://metadata.masa.finance/v1.0/identity/{id}.json

Where {id} is a unique 77 character ID that is numeric characters only

From: 0
To: 99999999999999999999999999999999999999999999999999999999999999999999999999999

Public Request GET https://metadata.masa.finance/v1.0/identity/17012826615246396599027510140925.json:

Response:

{
  "name": "Masa Soulbound Identity v1.0.0",
  "description": "A self-sovereign identity for accessing DeFi",
  "image": "https://metadata.masa.finance/v1.0/identity/masa-identity.png",
  "properties": {
    "tokenId": "17012826615246396599027510140925",
    "account": "0xd5Dc7fdb68f365901Fc86E6A32f3a5d35022dC84",
    "soulName": "alice"
  }
}

Gated Request GET https://metadata.masa.finance/v1.0/identity/17012826615246396599027510140925.json while being logged in to the Masa Infrastructure:

{
  "headers": {
    "cookie": "sid=s:<session id>;"
  }
}

Response:

{
  "name": "Masa Soulbound Identity v1.0.0",
  "description": "A self-sovereign identity for accessing DeFi",
  "image": "https://metadata.masa.finance/v1.0/identity/masa-identity.png",
  "properties": {
    "tokenId": "17012826615246396599027510140925",
    "account": "0xd5Dc7fdb68f365901Fc86E6A32f3a5d35022dC84",
    "soulName": "alice"
  }
}

Soulbound Credit Report

Metadata base URI

https://metadata.masa.finance/v1.0/credit-report/

JSON Schema

A unique JSON schema is created for each user with the following format. Details can be found here

GET https://metadata.masa.finance/v1.0/credit-report/{id}.json

Where {id} is a unique 77 character ID that is numeric characters only

From: 0
To: 99999999999999999999999999999999999999999999999999999999999999999999999999999

Public Request GET https://metadata.masa.finance/v1.0/credit-report/23334135456782334234234234.json:

Response:

{
  "name": "Masa Soulbound Credit Report v1.0.0",
  "description": "A decentralized credit report",
  "image": "https://metadata.masa.finance/v1.0/identity/credit-report.png",
  "properties": {
    "tokenId": "23334135456782334234234234",
    "account": "0x418c9210D7EECa2C6e65830130f2d648D3d455A1"
  }
}

Gated Request GET https://metadata.masa.finance/v1.0/credit-report/23334135456782334234234234.json while being logged in to the Masa Infrastructure:

{
  "headers": {
    "cookie": "sid=s:<session id>;"
  }
}

Response:

{
  "name": "Masa Soulbound Credit Report v1.0.0",
  "description": "A decentralized credit report",
  "image": "https://metadata.masa.finance/v1.0/identity/credit-report.png",
  "properties": {
    "tokenId": "23334135456782334234234234",
    "account": "0x418c9210D7EECa2C6e65830130f2d648D3d455A1",
    "lastUpdated": "2022-10-07T18:13:34.955924172Z",
    "model_version": "nebula_1.0.0",
    "value": 744,
    "decile": "2.00",
    "value_rating": "Fair"
  }
}

Relevant Repositories

Frontends

Libraries

Backend & Contracts

Blockchain

Relevant Links

Personal Finance Manager

Soulbound Identity

Additional Resources

masa-protocol's People

Contributors

h34d avatar teslashibe avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.