Skip to content
    Back to all Bounties

    Earn 4,950 ($49.50)

    Time Remainingdue 2 years ago
    Completed

    Create Telegram Bot Utilizing Multiple APIs

    WalkerMallory
    WalkerMallory
    Posted 2 years ago
    This Bounty has been completed!
    @WalkerMallory's review of @Qudusayo
    4.0
    Average Rating
    Communication 4/5, Quality 4/5, Timeliness 4/5
    solid work - and will use again in the future

    Bounty Description

    A Telegram bot that is capable of scanning etherscan.com token contract addresses and calculating marketcap based off token supply and price.. need a code that defines a function get_token_market_cap that takes a contract address as input and returns the market cap of the token associated with that address. The function uses the requests library to make an API call to Etherscan's tokensupply API endpoint and retrieves the total supply of the token in wei. It then converts the total supply to ether and multiplies it by a fixed price (in this example, 0.01 USD) to calculate the market cap.

    The bot is prompted by the user typing /start
    Then the bot responds: Welcome to AIpezBot. Enter a token address to get started:
    User: 0x514910771AF9Ca656af840dff83E8264EcF986CA (or any token contract)
    Bot: 🔦 Searching for token...
    Bot: 🔦 Searching for token...
    Bot: ✅ Token identified
    Bot: ⏰ Loading token info

    🔵 Token name ($ETH)

    Basic Information
    ⚪ Total Supply: 2222679.440477684
    📈 Market Cap: $2981118.643125485
    💧 Current Liquidity: 238880.4800683044
    💵 Price: $1.3412274342560175

    Aux Information
    Creation Time: 2023-01-25T20:06:59.000Z
    Deployer:Ox4f013300a0dce6193388cd057108eecb9e1054ac
    Holders: 534
    Max Wallet: 1%
    Max Transaction: 1%

    Top 10 Holders
    0x4(013300a0dce6193388cd057108eecb9e1054ac - 4.89%
    Ox856ff66843e9e7250b5e62ecac9d8d049a721c6 - 3.46%
    Ox65856ef68a5a101f1952d1d689b/8504c133335 - 2.57%
    Ox6183b4ef92776a81d28794a61d8e1cef2f704b9 - 1.81%
    Oxca5e309ff1779b085980121 a816d8950b4adcd3 - 1.8%
    0xvghvgvgv - 1.3%
    0xxfnfnfhfj - 1.1%
    0xdmnfnfjj - 0.9%
    0xcnnjfjffjf - 0.77%
    0xmccmcc - 0.65%

    Contract Security 🛡️
    Contract source code verified ✅ (if no/negative then symbol = ⚠️)
    No proxy ✅
    No Mint Function ✅
    No function found that retrieves ownership ✅
    Owner can't change balance ✅
    No hidden owner ✅
    This token can not self destruct ✅
    No external call risk found ✅

    Honeypot Risk 🍯
    Buy Tax: 3.00% & Sell Tax: 3.00% ✅
    This does not appear to be a honeypot ✅
    No codes found to suspend trading ✅
    Holders can sell all of the token ✅
    No trading cooldown function ✅
    Unlimited number of transactions ✅
    Anti whale can not be modified ✅
    Tax cannot be modified ✅
    No blacklist ✅
    No whitelist ✅
    No tax changes found for personal addresses ✅

    This bot will require API from these:

    https://docs.etherscan.io/api-endpoints/tokens - API Key: Will be revealed upon acceptance

    Telegram bot token: will be reveled upon acceptance

    https://docs.gopluslabs.io/reference/token-security-api-response-detail

    https://core.telegram.org/bots/api