Directly query the network
Create your point from your input
With mishtiwasm
npm i @holonym-foundation/mishtiwasmimport init, { oprf_client_step1_secp256k1, unmask_secp256k1 } from "@holonym-foundation/mishtiwasm"
// important to call init -- wasm is initialized asynchronously.
// without it, the other functions won't work
await init();// Salt and secret input are arrays of uint8s
const { encoded_masked_point, secret_mask } = oprf_client_step1_secp256k1(salt, secret);Unmasking the point
Form a query to Human Network
How to find the epoch, request_per_user, and signature fields
Query the network
Last updated