Authentication & Secure Access

Arc402 uses wallet-based authentication to verify user identity securely, without relying on centralized accounts or passwords. Each user signs a cryptographic message with their wallet, and the system validates the signature to confirm identity. This approach ensures secure, decentralized access while preserving privacy.

Developers can integrate this authentication method into their applications to grant users secure access to Arc402 features, such as signal ingestion, adaptive queries, or node management, without handling sensitive credentials.

import { Arc402 } from "arc402-sdk";

const arc = new Arc402();
const walletAddress = userWallet.getAddress();
const signature = await userWallet.signMessage("Authenticate with Arc402");

const isAuthenticated = await arc.authenticate({ walletAddress, signature });
console.log("Authentication successful:", isAuthenticated);

Last updated