Skip to content

BoostryJP/Secret-Escrow

Repository files navigation

Secret-Escrow 🤫

A prototype implementation of escrow information concealment using Joux's Tripartite-Diffie-Hellman.

Dependencies

  • Python
    • v3.11
  • ethereum/py_ecc
    • bls12_381 curve operations
  • Solidity
    • We are using Solidity to implement our smart contracts.
    • Currently, we are using v0.8.23.
  • eth-brownie
    • We are using the eth-brownie framework for developing and testing our contracts.
  • OpenZeppelin
    • Our project is partly dependent on OpenZeppelin.
    • We use openzeppelin-contracts v4.9.

Install

Create virtual environment

$ uv venv

Install packages

Install 3rd party packages.

$ make install

Install openzeppelin-contracts.

$ brownie pm install OpenZeppelin/[email protected]

Compile Contracts

$ make compile

If the compilation is successful, an ABI will be generated under the build/ directory.

Run test

After compiling, Run the following command:

$ make test

References

  1. Joux, A. (2000). A One Round Protocol for Tripartite Diffie–Hellman. In: Bosma, W. (eds) Algorithmic Number Theory. ANTS 2000. Lecture Notes in Computer Science, vol 1838. Springer, Berlin, Heidelberg. https://doi.org/10.1007/10722028_23

About

Concealing escrow information using Joux's Tripartite-Diffie-Hellman

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Languages