Giter VIP home page Giter VIP logo

iso20022-hackathon's Introduction

Real-Time Synchronised Settlement Demo

This repository contains a demo implementation of Real-Time Synchronised Settlement, as proposed in our submission to the ISO 20022 Hackathon hosted by the BIS Innovation Hub and SWIFT.

The demo simulates an incoming stream of PvP settlement requests in the form of ISO 20022 Foreign Exchange Trade Instruction (fxtr.014) messages and atomically settles them via mock ISO 20022 communication with the relevant liquidity pool (e.g. a central bank) to reserve the necessary liquidity from the delivery agents before instructing the actual payments.

View our solution at atomicwire.io/hackathon:

Facilitating Increased Adoption of PvP for Cross-Border Payments

Contents

Running the demo

Note: Java 8 or Java 11 is required to run the demo.

There are two built-in options for running the demo locally.

For a simple demonstration, simulating at a rate of 1 settlement request per second and with message tracing enabled, run:

$ ./gradlew :run

And to run the simulation at the maximum rate with message tracing disabled, run:

$ ./gradlew :runUnlimited

On Windows, substitute ./gradlew.bat as the command.

How it Works

This demo is implemented as a stream processing application using Apache Flink, a high- performance and high-scale framework for developing streaming applications with consistency guarantees on the JVM. Please see the Apache Flink documentation for an introduction to its concepts.

Our demo application is implemented five stages, which are wired together in the application entrypoint, AtomicSettlement.

Additionally, there are a handful of other packages containing supporting code:

  • context contains the data classes used to move data throughout the application
  • generator contains code to simulate the incoming settlement requests
  • iso20022.logical contains mock representations of the mock ISO 20022 logical messages used by the application
  • iso20022.conceptual contains mock representations of the mock ISO 20022 conceptual layer entities used by the application
  • iso20022.bridge contains code for deriving ISO 20022 conceptual entities from logical messages

Running in an IDE

To run in an IDE of your choice, you must install the Lombok plugin and enable annotation processing.

License

Copyright (c) 2021 Atomic Wire Technology Limited

All rights reserved.

Licensed under the Apache License, Version 2.0, found in the LICENSE file in the root directory of this repository.

iso20022-hackathon's People

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.