GithubHelp home page GithubHelp logo

florian-a / pbw-cara7 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from antoinea67/pbw-cara7

0.0 0.0 0.0 1.63 MB

Web3 XRPL PoC completed during Paris Blockchain Week hackathon.

Home Page: https://www.parisblockchainweek.com/hackathon

JavaScript 9.66% Python 87.91% Makefile 0.60% Solidity 1.83%
finance hackathon web3 xrp xrp-ledger xrpl

pbw-cara7's Introduction

PBW Cara7

French

Dans le cadre de la Paris Blockchain Week, nous avons conçu une preuve de concept (PoC) pour un service de titrisation exploitant la blockchain XRP.

Problématique :

Les sociétés de financement des constructeurs automobiles cèdent les contrats de financement à des fonds de pension. Ces derniers nécessitent des données financières détaillées, impliquant de nombreuses heures d'analyse par des experts et un volume limité de données disponibles.

Ce projet vise à optimiser la titrisation des contrats de leasing automobile, en assurant une transparence accrue concernant la santé financière des leasing et l'état des véhicules.

Une meilleure information dans ce domaine favorisera une maturité accrue des leasing et contribuera à une démocratisation plus importante des voitures électriques.

Fonctionnement technique :

Création du NFT et smartcontract sur EVM

Lorsque la voiture est vendue, un jeton non fongible (NFT) est créé sur la blockchain XRP. Ce NFT contient l'adresse d'un contrat intelligent situé sur l'EVM (Ethereum Virtual Machine), lequel conserve une collection de hachages de fichiers historiques représentant l'état passé de la voiture ainsi que sa santé financière.

Mise à jour des informations techniques et financière

Périodiquement, les données techniques et financières sont transmises à une agrégation de données, puis elles sont enregistrées dans un fichier JSON. Ensuite, un hachage de ce fichier est généré et stocké dans un contrat intelligent sur l'EVM (Ethereum Virtual Machine) d'XRP. Ce contrat intelligent permet de récupérer tous les hachages qui y ont été ajoutés et d'ajouter de nouveaux hachages, sans possibilité de modifier les hachages déjà existants.

Analyse financière et trunching en plusieurs profiles de risques

Après une certaine durée de vie du véhicule, un processus de trunching est déclenché en fonction de l'évaluation du risque technique du véhicule ainsi que des capacités de remboursement actuelles et futures de l'acheteur, afin de classifier le niveau de risque. Dans notre cas, nous classons les véhicules représentés par des NFT dans trois portefeuilles distincts, chacun représentant des niveaux de risque différents.

Les NFT sont destinés à être associés à ces différents portefeuilles afin d'être acquis tant par des fonds d'investissement désireux de prendre en charge le risque jusqu'à la fin de la maturité du leasing que par des particuliers qui peuvent investir dans cet actif via un échange décentralisé (DEX).

Configuration :

Éditez le fichier suivant \evm-interaction\.env :

EVM_XRP_MNEMONIC="your mnemonic"

Éditez le fichier suivant \scripts\.env :

XRP_WALLET_SEED="your xrp seed"

Éditez le fichier suivant \confs\secrets.yaml

Lancement du projet :

Pour lancer le projet, exécutez la commande suivante :

make install
make run

Captures d'écran :

English

As part of the Paris Blockchain Week, we have designed a proof of concept (PoC) for a securitization service leveraging the XRP blockchain.

Issue:

Automobile manufacturer financing companies transfer financing contracts to pension funds. The latter require detailed financial data, involving many hours of analysis by experts and a limited volume of available data.

This project aims to optimize the securitization of automobile leasing contracts, ensuring increased transparency regarding the financial health of the leases and the condition of the vehicles.

Better information in this area will promote increased maturity of leases and contribute to greater democratization of electric cars.

Technical Operation:

Creation of NFT and smart contract on EVM

When the car is sold, a non-fungible token (NFT) is created on the XRP blockchain. This NFT contains the address of a smart contract located on the EVM, which maintains a collection of hashes of historical files representing the past state of the car as well as its financial health.

Update of technical and financial information

Periodically, technical and financial data are transmitted to a data aggregation, then they are recorded in a JSON file. Next, a hash of this file is generated and stored in a smart contract on the XRP EVM (Ethereum Virtual Machine). This smart contract allows retrieving all the hashes that have been added to it and adding new hashes, without the possibility of modifying the existing hashes.

Financial analysis and tranching into multiple risk profiles

After a certain lifespan of the vehicle, a tranching process is triggered based on the assessment of the vehicle's technical risk as well as the current and future repayment capabilities of the buyer, in order to classify the risk level. In our case, we classify the vehicles represented by NFTs into three distinct portfolios, each representing different risk levels.

The NFTs are intended to be associated with these different portfolios in order to be acquired by both investment funds willing to take on the risk until the maturity of the lease and by individuals who can invest in this asset via a decentralized exchange (DEX).

Configuration :

Edit the following file \evm-interaction\.env:

EVM_XRP_MNEMONIC="your mnemonic"

Edit the following file \scripts\.env:

XRP_WALLET_SEED="your xrp seed"

Edit the following file \confs\secrets.yaml

Project Launch:

To launch the project, run the following command:

make install
make run

Screenshots:

pbw-cara7's People

Contributors

florian-a avatar antoinea67 avatar alpyt42 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.