Skip to main content
Glama

Beeper MCP Note Server

by stopWarByWar
utils.py691 B
import pkgutil from web3 import Web3 from web3.contract import Contract from eth_account import Account import secrets def _load_contract_erc20(w3: Web3, token_address: str) -> Contract: contract_abi = pkgutil.get_data('chain', 'solc/Token.abi').decode() return w3.eth.contract(address=token_address, abi=contract_abi) def get_address_from_private_key(private_key: str) -> str: if not private_key.startswith('0x'): private_key = '0x' + private_key try: account = Account.from_key(private_key) return account.address except Exception as e: raise ValueError(f"Error processing get address from private key with error: {str(e)}")

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/stopWarByWar/beeper-mcp-server'

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