Making Requests to Human Network
Last updated
Last updated
Once you have credits or access, you may make a request to the Human Network via the Relay node.
For the testnet on Holesky, the Relay node can be reached at via HTTP requests to
For mainnet, the Relay node can be reached at via HTTP requests to
Spin up a Signer to simplify this on behalf on end users. A Signer pays the credits and manages user state. This way, users don't need to acquire Human Network credits or keep track of their state.
Without a signer, you can directly interface by acquiring credits and using mishtiwasm to query the network
Note: Making a request for OPRF is more trivial than a request for JWTPRF or DecryptBabyJubJub. JWTPRF requires a JWT of a particular format which some JWT issuers do not support. DecryptBabyJubJub requires a smart contract and a zero-knowledge proof. Due to the complexity of their usage, they are currently only used internally until more documentation is created. If you are interested in using those methods, please reach out so we can document them and support you in developing with them.