Skip to main content
Glama

MCP-ODOS

by IQAIcom
wallet.ts774 B
import { http, type Chain, type PublicClient, type WalletClient, createPublicClient, createWalletClient, } from "viem"; import { privateKeyToAccount } from "viem/accounts"; import { fraxtal } from "viem/chains"; export class WalletService { private publicClient: PublicClient; private walletClient?: WalletClient; constructor(privateKey?: string, chain: Chain = fraxtal) { this.publicClient = createPublicClient({ chain, transport: http(), }) as PublicClient; if (privateKey) { const account = privateKeyToAccount(`0x${privateKey}`); this.walletClient = createWalletClient({ account, chain, transport: http(), }); } } getPublicClient() { return this.publicClient; } getWalletClient() { return this.walletClient; } }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/IQAIcom/mcp-odos'

If you have feedback or need assistance with the MCP directory API, please join our Discord server