AIP-529: Development and Enhancement of APE-BOT Discord Tipping Bot

PROPOSAL NAME:

Development and Enhancement of APE-BOT Discord Tipping Bot

TEAM DESCRIPTION:

Dev: [MisterGORR]
Background: I’m an entry-level programmer. I’m still polishing my coding skills but as you can see I can already build some basic projects and planning on bringing you even more fun experiences in the future.
I’ve also worked for ‘Roll’ (tryroll.com) for a few months as their ‘Discord Lead’ where I assisted creators in setting up their servers and implement web3 solutions for their communities. The time I’ve spent there reinforced my views on the importance of enabling a community driven economy right where the fun happens. Discord servers.

Contact Information: Discord. (gorr.nft)

PROPOSAL DESCRIPTION:

I’d like to advance the development of APE-BOT, a tool designed to enable apes to tip any user on any Discord server leveraging the ApeChain ecosystem.

Although it is still a prototype, the bot is already up and running and uses the Curtis testnet.
Once the mainnet has launched, it will be immediately available there too in it’s current state.

You can check it out and play with it on my Discord server or just invite it to yours:

The Ape Bot’s server: The Ape Bot's server
APE-BOT’s invite link: https://bit.ly/477oFKg (or just directly invite it from my server)

This app is different than most other tipping bots. Instead of a centralized database, it actually uses the ApeChain for every transaction.
Although, I must point out that this is still “just” a tipping bot which means that wallets are auto generated for users and are kept on the server computer. It is not a fully fledged non-custodial wallet. However, I believe it is still a better option than those fully centralized bots out there.
I’m also planning on building a function where you could import wallets to your account and sign every tip with MetaMask, making it more secure without the need for me to store user keys.
I’d like to work on many more features for the bot and it’s security as well as to create a sustainable model for its long-term operation.

Key developments will include improving overall security, integrating wallet functionalities with MetaMask, adding requested tokens automatically, enabling token creation, role staking, developing community games like poker, and perhaps transitioning it to a more reliable cloud hosting in the future.

I’m requesting a grant so I can fully focus on this project.
As of right now I have very little time to work on it.

I would like to also request the right to use the ApeCoin logo for the bot if possible.

BENEFIT TO APECOIN ECOSYSTEM:

APE-BOT directly enhances the ApeCoin ecosystem by facilitating microtransactions and increasing community interaction. By enabling tipping within Discord, the bot encourages the use of ApeCoin between users unlike other bots that are using inner databases instead of the blockchain.

Every community needs a tipping bot. It makes the entire guild more fun and engaging. It’s the tool to create actual economy in these spaces and to keep them alive.

It’s not only for tipping. You can reward the users for being in your guild and motivate them for staying active. You can reward your members for attending events or fulfilling any request you have come up with.
Sub-communities will emerge on the ApeChain with their very own tokens. It will be crucial for all of them to have a functioning tipping bot.
This will be a must-have tool for these groups to become successful.

I’d like to create a secure and sustainable bot, that’ll keep bringing value to the ApeCoin community.

This investment is expected to lead to:

  • Increased engagement within the ApeCoin community.
  • A rise in ApeCoin transactions and circulation.
  • The creation of new use cases for ApeCoin within social environments.

CURRENT LIST of AVAILABLE FEATURES:

  • Automatic wallet generation upon first use of the bot. (or if someone else tips you first)
  • “$address” command to view your generated address to be used to hold funds.
  • “$tip” command to tip one or multiple users as well as the ability to tip an entire @role by mentioning it. (example usage: $tip @Role 10 ape)
  • “$balance” for balance checking.
  • “$airdrop” is a popular command among similar bots that lets users join in on a fun, timed game where active participants can claim a share of the airdrop. It’s a great way to engage the community and reward activity (example usage: $airdrop 100 ape 10m)(for 10 minutes).
  • “$tokens” command to check currently available tokens for tipping.
  • “$withdraw” - withdrawing funds from the bot.

TO DO:

  • Overall security.
    Although, having each account directly interact with the chain with their own wallet instead of using an inner database is better, it is still my server that’s generating your wallets and must keep them safe.
    This will always remain as the default functionality for the bot even if the wallet import function is finally present.
    Discord tipping bots must remain easy and convenient to use from the beginning. Although, options for other methods must be in place.
  • Performance enhancements to seamlessly serve any amount of requests.
  • Squashing bugs, general maintenance.
    Plenty of bugs to fix now and in the future too I’m sure.
  • Auto Token Addition.
    At the beginning adding new tokens to the bot will be done manually by me upon request. If there are too many requests I might need to add a fee to that.
    The best option however, would be to automate this part so the user would be able to add any token they wish. A small fee would still likely be needed to avoid spamming the system.
  • Role staking solution
    This is a way to incentivize people to stake certain amounts of $APE or tokens in order to receive access to various Discord roles.
  • Games Integration.
    I’d like to integrate a poker game into the bot where stakes would be done either in $APE or any ApeChain token that is listed in the bot. I’m sure this would be an amazing addition.
  • Website Development
    A dedicated website would also be needed of course.
  • Business Model Development.
    Explore and implement self-sustainable revenue models for the bot. Fees will need to be introduced for some features.

At the moment, I’ve implemented a service fee of 5 cents per tx. This is just one idea of a business model to make the bot actually sustainable in the long run. However, this is subject to change and might very well be revised in the future based on community input.
The 5-cent flat fee is paid whenever a transaction-related command is used. If you’re creating an airdrop or tipping hundreds of users at once, the fee remains the same and does not multiply. The user is charged only once per command.

Perhaps the poker game could have a fee for the house. The Mint and Swap future ideas could have an extra fee in place.

Future ideas:

  • Mint Tokens
    Users could create tokens with the bot.
  • Token Swap
    Making it easier and more convenient to swap tokens right inside the bot.
  • Cloud hosting
    In case hosting the bot on dedicated hardware proves to be unreliable then I shall switch to cloud hosting instead.

STEPS TO IMPLEMENT:

The prototype is already available for use. Development and maintenance are perpetual. Full focus on the project will begin one month after the AIP is approved, as I will need time to close out other projects and obligations.

Then, an entire year would be dedicated to implement every planned feature.

Milestones

1. Implementing New Features

  • Role Staking, Automatic Token Addition, Mint, Swap, Fast Send Tx, Poker Game

2. Performance and Stability Improvements

  • Private Node for faster blockchain interactions (if available)
  • Fixing known bugs
  • General code optimization

3. Security Enhancements and MetaMask Integration

  • General security improvements with the help of auditors
  • MetaMask integration will allow the use of external wallets and enable users to sign every transaction message before sending, providing a much safer option for those who require it

4. Sustainability

  • Exploring various methods of service fees that are reasonable and effective to ensure the app’s longevity

These key milestones will mark the completion of the project.

Key Performance Indicator

The most straightforward way to measure success would be to look at usage data, including:

  • Reaching a daily transaction count between 500 and 1,000.
    This level of activity could ensure the app’s sustainability while also contributing to increased chain activity.
    This is also easily verifiable on-chain

  • Daily usage of any commands (both on and off-chain) between 1,000 and 2,000. This could indicate a healthy dependence on the app as well as popularity.
    (These are my minimum targets)

  • Total Transaction Volume.
    While the amount users choose to send is outside of my direct control, an increasing transaction volume over time will indicate growing trust in the bot and healthy adoption within the ecosystem. This metric will be tracked, but no specific target will be set as it depends largely on community engagement and use cases.

  • Daily Active Users: Monitoring how many users interact with the bot on a daily basis will help show engagement and dependency.

  • Monthly Server Invites: The number of new servers inviting the bot each month will be tracked to measure its spread across the ApeCoin community. Increased server invites will show awareness and the community’s interest in adopting the bot.

However, we must ensure the app’s visibility by inviting it to the official ApeCoin and BAYC servers. From there, users can try it out and invite the bot to their own servers.

A dedicated “bot-commands” channel would be ideal to prevent spamming bot-related interactions in other channels.

The bot will not require admin rights; it only requests necessary permissions, which can be reviewed upon invitation. As a security measure, server admins should ensure that the bot’s role is never placed higher than any other admin in the server hierarchy. Admins can further secure the bot by restricting its access to specific, dedicated channels.

REPORTING EXPECTATIONS:

1. Frequent Updates
Progress reports will be available on the Ape Bot’s Discord server. All new features and fixes will be viewable on a dedicated channel as they are released. This could range from daily to monthly updates. Feedback from the community and how it’s being incorporated into the project will also be visible. These reports will continue indefinitely.

2. Quarterly Progress Report
Every major milestone and usage data will be collected and presented on a quarterly basis to make the process easier to follow. I will produce and present these at the end of each quarter of the year, starting from the first month of development after the AIP is approved.

Additionally, I will provide a mid-year report (after six months) and a final report (after twelve months), outlining the progress made and the plan moving forward.

OVERALL COST:

Total amount requested from the ApeCoin Ecosystem Fund = $40,000.

Development: $30,000.
Audit: $10,000.

As suggested, I have allocated an additional $10K to hire an auditor for two rounds of security testing.
For an application of this scale, this amount should suffice.
The first audit will take place after I have implemented security practices to the best of my abilities. The second audit will occur after most, if not all, of the planned features are in place. Any future audits should be covered by the bot’s revenue.

The grant would cover the entire development of the bot/app and allow for complete focus and dedication. The cost is calculated based on what I’d need to fully focus on this project for an entire year.

After that the app must sustain itself by revenue generated from fees.

This will ensure that the project receives the attention it needs to succeed, ultimately benefiting the ApeCoin community by delivering a fully developed, secure and sustainable Discord Tipping Bot.

Welcome!
I think an interesting idea, but especially as you quote you are an entry level programmer you should put an audit in your budget otherwise it is difficult that people will use it on their discord.

5 Likes

Hey Frostyz!
I think that’s fair enough. Initially, I was hesitant about spending or requesting more for an audit on such a small application, but it’s always a good idea to prioritize security and peace of mind especially since we’re handling user funds.

I will look into the possibilities today. For app of this size, the cost shouldn’t exceed $5k in my opinion. Anything above that would be unreasonable.

We could plan for two rounds of audits: one after I’ve implemented common security measures myself to see how they hold up against pentesting, and another after more features if not all of them are already added, since updates can introduce new vulnerabilities.

For now I’d say overall $10K should be more than enough but let me get back on this after I’ve looked around a bit more in the matter.

As a general rule of thumb, I still advise against sending significant amounts to a tip bot, as it will never match the security of a dedicated wallet like MetaMask.

2 Likes

Hi @MisterGORR ,

The community feedback period for your proposal would be ending in roughly 24 hours.

  • If you’re content with the feedback received, your next steps are to finalize your proposal using the AIP Draft Template.

  • A moderator will reach out to the author to finalize the AIP Draft. Upon receipt of the final Draft, we will review and provide instructions on the next steps.

  • Are you ready to proceed to the next phase or do you wish to extend community discussion for another 7 days?

We look forward to hearing from you.

-@Facilitators

Super interested in this. Have been developing something similar. Lets Connect !

1 Like

In my opinion, the cost of creating a bot is high. Is it possible for us to do it at a lower cost?

1 Like

Well, even if it’s just a “bot” in reality this is still an application that takes time to create and takes even more time to do it well. Especially since this is something that is generating transactions and interacts with smart contracts, it makes the entire thing a bit more complicated.
To be fair, I’ll might need to stop calling it a bot because it somewhat downplays it’s significance.
Make no mistake, this is a real application, not just a discord meme generator. :smile:

The development cost is something I’ve calculated based on what I’d need to fully focus on this for an entire year if not more. Any additional expenses that might arise such as either expanding the home server or migrating to cloud hosting would also be coverd by it.

1 Like

Happy to hear that you like it! :smiley:

2 Likes

This topic was automatically closed after 7 days. New replies are no longer allowed.

Hi @MisterGORR ,

Thank you for your ideas [and the ApeCoin DAO community for the insightful discussions].

A moderator will reach out to the author to finalize the AIP Draft using the appropriate template.

  • Once the AIP Draft is confirmed by the author and meets all DAO-approved guidelines, it will receive an AIP ID number and move forward for Draft Analysis Review.
  • @MisterGORR please see your messages for the next steps.

Follow this Topic as further updates will be posted here in the comments. In accordance with DAO-approved guidelines, if the author does not respond within 30 days, the proposal will be automatically transferred to the Withdrawn category, and the author can re-submit the idea.

-@Facilitators

Hi ApeCoin DAO Community,

The AIP Draft submitted is currently incomplete and feedback has been provided to the author.

Follow this Topic as further updates will be posted here in the comments.

Thank you,

-@Facilitators

Hi ApeCoin DAO Community,

@MisterGORR has completed editing their AIP Idea to be their AIP Draft.

This proposal has been assigned the AIP ID Number 529.

Follow this Topic as further updates will be posted here in the comments.

Kind Regards,

-@Facilitators

GM,
$30k over all budget for an entry level developer seems kinda high, specially considering the fact that there exist already trusted tools like tip.cc and few more that have withstand the test of time ever since NFT communities started.
Hell, even I made a bot that is still active on the unofficial DAO server, for free.
I suggest you build something like this under Thank Ape Season 7 which would be focusing on Apechain, get rewarded and come back with a stronger proposal with more amazing things.

Hi @Evil!
Thanks for the input.
Generally programmers are earning much more than that even if they are ‘entry level’ not to mention those who specialize in blockchain tech.
The budget is designed to allow me to focus on this project full-time over the course of a year, and sustain myself while doing so. This ensures the project’s quality and long-term development.

Tip.cc is a great example that uses an entirely centralized inner database and does not contribute to the actual use of ApeChain itself.
Also, every new sub-community who’d like to list their token with them must pay a hefty fee usually between $500 and $1000. In my case, in order to give a chance for newly formed communities, token additions are free (unless there’s an unmanageable amount of requests on that). However, I’m planning on automating that part in the future anyway.

Regarding the bot you mentioned, I’d be interested in hearing more details about what it does. Specifically, does it facilitate on-chain transactions? I believe there’s a significant difference between typical server bots and those handling blockchain interactions.

I’m confident my proposal is strong, with a clear roadmap for planned features that will set it apart from existing tools.

For example, a fully functioning poker game that you could play right inside any server or group DMs is no small feat in my opinion. Not to mentions token creation and token swaps.
Also, integrating MetaMask for maximum security removes the need for ‘trust’ between users and the platform, an idea I’m particularly proud of.

Hi ApeCoin DAO Community,

Our team has reviewed and discussed @MisterGORR 's AIP Draft and have sent a list of initial questions. We await answers.

Follow this Topic as further updates will be posted here in the comments.

Kind Regards,

-@Facilitators

Hi ApeCoin DAO Community,

@MisterGORR has responded to our questions and they are in our review once again.

Follow this Topic as further updates will be posted here in the comments.

Kind Regards,

-@Facilitators

Hi ApeCoin DAO Community,

We have sent a list of follow up questions to the author.

Follow this Topic as further updates will be posted here in the comments.

Kind Regards,

-@Facilitators