LayerXcom / zero-chain

A privacy-preserving blockchain on Substrate
https://layerxcom.github.io/zerochain-book/
GNU General Public License v3.0
260 stars 42 forks source link

Implement arithmatic operations to substrate primitive types #143

Open osuketh opened 5 years ago

osuketh commented 5 years ago

Currently, all primitive types are converted into original types in modules in order to compute elliptic curve operations, but it tends to be messy in module logic. Such operations should be implemented to primitive types themselves.