etf-sdk

Crates.ioetf-sdk
lib.rsetf-sdk
version0.1.0-dev
sourcesrc
created_at2023-09-21 14:47:43.006496
updated_at2023-09-21 14:47:43.006496
descriptionAn API for calling etf crypto primitives for encryption and proof verification
homepagehttps://idealabs.network
repositoryhttps://github.com/ideal-lab5/etf-sdk
max_upload_size
id979574
size29,809
Tony Riemer (driemworks)

documentation

README

ETF API

Traits and impls for interacting with the ETF network. In particular, to verify proofs + slot secrets, encrypt messages, and to decrypt them.

  • verify(slot_secret, id, proof)
  • encrypt(message, slot_id_list)
  • decrypt(ciphertext, secret_key)

Tests

Run the wasm tests with wasm-pack: wasm-pack test --node

Deploy

run the wasm-build.sh script to generate the wasm-build (in pkg directory)

Commit count: 5

cargo fmt