Socket
Socket
Sign inDemoInstall

bond-network

Package Overview
Dependencies
0
Maintainers
3
Versions
184
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    bond-network

Bond Reference Data Sharing Business Network


Version published
Maintainers
3
Install size
30.8 kB
Created

Readme

Source

Bond Network

The Bond Network allows the issuer of a bond to update the bond information whilst other members of the business network can only read the bond data.

This business network defines:

Participants Issuer Member

Assets BondAsset

Transactions PublishBond

The PublishBond transaction submitted by an Issuer participant will create a new BondAsset.

To test this Business Network Definition in the Test tab:

Create a Issuer participant:

{
  "$class": "org.acme.bond.Issuer",
  "memberId": "memberId:1",
  "name": "Billy Thompson"
}

Create a Member participant:

{
  "$class": "org.acme.bond.Member",
  "memberId": "memberId:1",
  "name": "Jenny Jones"
}

Submit a PublishBond transaction:

{
  "$class": "org.acme.bond.PublishBond",
  "ISINCode": "ISINCode:1234",
  "bond": {
    "$class": "org.acme.bond.Bond",
    "instrumentId": [],
    "exchangeId": [],
    "maturity": "2017-07-13T09:39:05.369Z",
    "parValue": 1000,
    "faceAmount": 1000,
    "paymentFrequency": {
      "$class": "org.acme.bond.PaymentFrequency",
      "periodMultiplier": 0,
      "period": "DAY"
    },
    "dayCountFraction": "",
    "issuer": "resource:org.acme.bond.Issuer#memberId:1"
  }
}

The PublishBond transaction will create a new BondAsset in the Asset Registry.

Congratulations!

License

Hyperledger Project source code files are made available under the Apache License, Version 2.0 (Apache-2.0), located in the LICENSE file. Hyperledger Project documentation files are made available under the Creative Commons Attribution 4.0 International License (CC-BY-4.0), available at http://creativecommons.org/licenses/by/4.0/.

Keywords

FAQs

Last updated on 30 May 2018

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc