Proof of Concept of Opencoin mint with REST API and CrowCpp
Go to file
Gulliver fa746dd925
continuous-integration/drone/push Build is passing Details
extended README.md to doxygen mainpage and add to doxygen build
2022-12-31 14:36:37 +01:00
.github Create FUNDING.yml 2022-12-19 23:10:01 +01:00
src extended README.md to doxygen mainpage and add to doxygen build 2022-12-31 14:36:37 +01:00
test corrected name RequestCDD to RequestCDDC 2022-12-31 14:36:37 +01:00
.drone.yml add github action for build 2022-12-04 21:56:10 +01:00
.gitignore added catch2 for unit tests and first test in test/test.cpp 2022-11-21 22:51:00 +01:00
CMakeLists.txt extended README.md to doxygen mainpage and add to doxygen build 2022-12-31 14:36:37 +01:00
README.md extended README.md to doxygen mainpage and add to doxygen build 2022-12-31 14:36:37 +01:00

README.md

opencoin-issuer-cpp - a C++ OpenCoin Issuer REST-API implementation

build Documentation

opencoin issuer

this is a C++ implementation of the opencoin protocol done as mapping to some kind of REST interface.

As all issuer related interactions of the protocol follows a request/response mechanism we are able to map all of them to Http-Requests.

We decided to use POST-Requests in all cases, as the protocol uses JSON-formatted messages for requests.

The following table gives an overview of the mapping of requests to URLs:

Request URL Response C++ Interface Method
RequestCDDCSerial /cddc/serial ResponseCDDCSerial cdd.cdd_serial of Model::getCurrentCDDC()
RequestCDDC /cddc ResponseCDDC Model::getCurrentCDDC()
RequestMKCs /mkcs ResponseMKCs Model::getMKCs
RequestMint /mint ResponseMint Model::mint
RequestRenew /renew ResponseMint or ResponseDelay ?
RequestResume /resume ResponseMint or ResponseDelay ?
RequestRedeem /redeem ResponseRedeem Model::redeem

actually the implementation is a work in progress.

TODO

  • blinding utilizing crypto++
  • integrate session and login to make transactions account based
  • bookkeeping for accounts

Protocol Questions

Blinding Notes

https://stackoverflow.com/questions/47860570/how-to-create-and-verify-blind-rsa-signatures-with-crypto

https://crypto.stackexchange.com/questions/12707/usability-of-padding-scheme-in-blinded-rsa-signature

https://crypto.stackexchange.com/questions/54085/is-there-a-standard-padding-format-for-rsa-blind-signatures/60728#60728 https://crypto.stackexchange.com/questions/5626/rsa-blind-signatures-in-practice