Web2 Integration
Quick Start
The Web2 proxy system enables HTTP requests through the Demos network, providing privacy and attestation capabilities through DAHR (Data Agnostic HTTP…
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
The Web2 proxy system enables HTTP requests through the Demos network, providing privacy and attestation capabilities through DAHR (Data Agnostic HTTP…
import { Demos } from "@kynesyslabs/demosdk/websdk"
// Connect to demos
const demos = new Demos()
await demos.connect("https://node2.demos.sh")
await demos.connectWallet(mnemonic)
// Create DAHR instance
const dahr = await demos.web2.createDahr()
// Make request
const response = await dahr.startProxy({
url: "https://api.example.com",
method: "GET",
})
// Do something with the response
console.log("Response:", response)