Skip to content

ftsrg/hypernate-samples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Chaincode samples using Hypernate

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published