@ideallabs/etf-sdk-web
TypeScript icon, indicating that this package has built-in type declarations

0.1.0-dev • Public • Published

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)

Readme

Keywords

none

Package Sidebar

Install

npm i @ideallabs/etf-sdk-web

Weekly Downloads

1

Version

0.1.0-dev

License

GPL-3.0-only

Unpacked Size

771 kB

Total Files

5

Last publish

Collaborators

  • juan.idn
  • coleman_ideal
  • tonyriemer