Skip to content

Latest commit

 

History

History
60 lines (41 loc) · 2.29 KB

README.md

File metadata and controls

60 lines (41 loc) · 2.29 KB

Hypernate Samples

Chaincode examples showcasing ftsrg/hypernate.

Contains some ports of samples from hyperledger/fabric-samples and some custom examples.

How to use

You can use the test-network convenience script in the test-network/ directory like so:

$ ./test-network <chaincode-name> up

Note

This script will create an ephemeral fablo configuration with the right chaincode settings and start a minimal local network.

You can then invoke the currently tested chaincode using the REST API; eg:

$ token=$(xh :8801/user/enroll id=admin secret=adminpw | jq -r .token)
$ xh -A bearer -a $token :8801/invoke/channel1/asset-transfer-basic method=InitLedger args:='[]'

Note

You can use your tool of choice to make these HTTP requests. We are using xh and jq.

Developers' Guide

The preferred way of contribution is:

  1. Fork the repository;
  2. Create a branch with a meaningful name;
  3. Make your changes using Conventional Commits;
  4. Push the branch to your fork;
  5. Create a pull request.

Referencing this work

Please use the following information when you use or reference this project (or the related research paper) in your own work:

Text form:

Damaris Jepkurui Kangogo, Bertalan Zoltán Péter, Attila Klenik, Imre Kocsis. Practical runtime verification of cross-organizational smart contracts, 11 July 2024, PREPRINT (Version 1) available at Research Square [https://doi.org/10.21203/rs.3.rs-4606405/v1]

BibTeX:

@article{kangogo2024practical,
  title={Practical runtime verification of cross-organizational smart contracts},
  author={Kangogo, Damaris Jepkurui and P{\'e}ter, Bertalan Zolt{\'a}n and Klenik, Attila and Kocsis, Imre},
  year={2024},
  doi={https://dx.doi.org/10.21203/rs.3.rs-4606405/v1},
  url={https://www.researchsquare.com/article/rs-4606405/latest}
}

License

Hypernate samples use the Apache License Version 2.0. For more information see NOTICES, MAINTAINERS, and LICENSE.