Skip to content

ideal-lab5/etf-sdk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

etf-sdk

This is an SDK to build protocols on top of the EtF network. Specifically, it contains cryptographic primitives used by the etf network, as well as implements timelock encryption via AES-GCM with SSS, where shares are encrypted for futures slots using IBE. It is wasm-compilable and so able to be called from both rust and javascript contexts.

It consists of two packages:

  • etf-crypto-primitives contains implementations in arkworks
  • etf-sdk is an API to expose timelock encryption and DLEQ proof verification, and make compilable to wasm

⚠️ This library is a WIP and should not be considered safe for production use.

Testing

We aim for a minimum of 85% coverage on all lines. To check coverage, we use tarpaulin with opt-level=0:

cargo tarpaulin --rustflags="-C opt-level=0"

Benchmarks

Navigate to the etf-crypto-primitives directory and run:

cargo bench

See the benches dir for more info.

About

crypto primitives and SDK to build on top of the EtF protocol.

Resources

License

Apache-2.0, Apache-2.0 licenses found

Licenses found

Apache-2.0
LICENSE
Apache-2.0
LICENSE-GPL3

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages