@venly/wallet-mcp
Version:
Production-ready MCP server enabling AI agents to perform Web3 wallet operations through Venly's blockchain infrastructure. Supports 14+ networks including Ethereum, Polygon, Arbitrum, and stablecoin operations.
28 lines • 868 B
TypeScript
/**
* Credential Validator
*
* Validates user-provided Venly credentials with fail-fast error handling
*/
export interface UserVenlyCredentials {
clientId: string;
clientSecret: string;
}
export declare class CredentialValidator {
/**
* Validate user-provided Venly credentials
* Throws VenlyApiError with clear messages for invalid credentials
*/
static validateCredentials(credentials: UserVenlyCredentials): void;
/**
* Sanitize credentials for logging (never log actual secrets)
*/
static sanitizeForLogging(credentials: UserVenlyCredentials): {
clientId: string;
clientSecret: string;
};
/**
* Extract credentials from MCP tool arguments
*/
static extractCredentials(args: Record<string, unknown>): UserVenlyCredentials;
}
//# sourceMappingURL=CredentialValidator.d.ts.map