UNPKG

linea-mcp

Version:

A Model Context Protocol server for interacting with the Linea blockchain

38 lines 1.53 kB
/** * TODO: Contract Integration Implementation * * Verax contract integration for getAttestations and checkAttestation functions * needs to be fixed. Current implementation has the following issues: * * 1. Contract interaction needs better error handling * 2. May require proper ABI typing for returned data * 3. Possible network connection issues with contract calls * 4. May need updated contract methods according to latest Verax protocol * * Current verifyHuman function works because it uses the POH API directly * without blockchain contract interaction. * * Note: Verax contract addresses have been updated to the latest versions as of March 2025. */ export declare const VERAX_MAINNET: { router: string; attestationRegistry: string; schemaRegistry: string; moduleRegistry: string; portalRegistry: string; attestationReader: string; }; export declare const VERAX_TESTNET: { router: string; attestationRegistry: string; schemaRegistry: string; moduleRegistry: string; portalRegistry: string; attestationReader: string; }; export declare const ATTESTATION_REGISTRY_ABI: string[]; export declare const SCHEMA_REGISTRY_ABI: string[]; export declare const POH_API_URL = "https://linea-xp-poh-api.linea.build"; export declare const POH_SCHEMA_ID = "0x9b55f74e966b7ea1c0b6159d5641709b493a9906ed371aac9c5ce9179446c99b"; export declare const KYC_SCHEMA_ID = "0x23c02cb944a3e08265faaa66dc27baf76cf61f0f7beba2a0dd7c7a5763ac3c50"; //# sourceMappingURL=constants.d.ts.map