Inspiration

As students with expensive GPUs and an absurd amount of free time, we decided to take a stab at developing our own s̶c̶a̶m̶ alt coin. Seeing cryptos like Dogecoin reach relevancy inspired us to expand our horizons and learn more about the blockchain with the hope to make our mothers proud and create a unique take on decentralized currencies.

What it does

Mom I Love Finance (MILF) coin, is a decentralized online currency that takes advantage of blockchain technologies and cloud computing. Similar to popular coins like Ethereum, MILF coin can be mined and sold on platforms like PancakeSwap. However, MILF coin differs in that there is another way to obtain it, through our revolutionary mining game: Mining with Mommy, which is similar to https://orteil.dashnet.org/cookieclicker/, a web/mobile game where the player repeatedly clicks on a virtual cookie to win points which can be exchanged for in game prizes and upgrades. However, in our version the points gained by playing can be exchanged for MILF coins.

How we built it

Our group used https://remix.ethereum.org/ to develop, compile, and deploy the coin which was linked with Metamask. Our coin uses custom contracts to make our currency decentralized and is based on other alt coin projects. The contract creates an ERC20 token, dispensed by our mint function and grants the user it's ICO that is verified using the proof of work, a math equation that miners are to solve which gets progressively harder as time progresses (every 1024 coins mined). This block chain was deployed on the aforementioned BSC main net. We then developed a TypeScript/React.js/HTML/CSS front end for the project which contains information about the project as well as the mining game. We integrated MILF coin with the help of the MetaMask API, enabling automatic payouts through our web application.

Challenges we ran into

We ran into a fair amount of challenges when developing MILF coin.

  • Using Remix to deploy our coin was a difficult ordeal to overcome as there was minimal documentation for the platform, resulting in a heavy emphasis on trial and error, as well as outdated StackOverflow posts to find the necessary contract configuration to allow the coin to compile and be mineable. In the end, we were able to deploy successfully and mine 50 MILF coins over the weekend.
  • Similarly, connecting our work with PancakeSwap proved to be a substantial obstacle as we had issues with our coin being validated as an official currency and with implementing the necessary security features associated with the platform. Eventually, we were able to find a work around where if a potential user logged in using Metamask (a popular crypto wallet), they would be able to exchange MILF coin if it was already in their wallet.
  • We also tried to use CockroachDB but were unsuccessful in our implementation as we could not connect it to our Node.js backend. Both Node.js and Cockroach were not used in our final submission as we encountered too many errors and found many security loopholes. The time constraints of Hack the North did not leave us enough time to troubleshoot our issues so we had to compromise in our implementation.
    In the end, we found the time limit to be a true adversary which challenged us as developers, helping us grow and improve our efficiency and effectiveness under pressure.

Accomplishments that we're proud of

The highlights of our life changing project include but are not limited to:

  1. Having our coin be available to swap/sell on Metamask (and Pancakeswap if you import it)
  2. The technical implementation and math used for users to mine MILF coin using Remix
  3. The coin's branding and associated graphics in conjunction with the typescript/react front end

What we learned

By developing this project we learned a lot about the state of cryptocurrency in today's world, how block chain works, and many new technologies such as TypeScript, Remix, and CockroachDB. Overcoming the previous challenges taught us how to bug fix by ourselves, an important skill to develop as there will not always be a "mentor" to help us. Additionally, we learned how to quickly read and apply content learned in the documentation, another valuable skill to have, especially since all of us are aspiring to work in CS upon graduation.

What's next for Mom I Love Finance Coin

Unfortunately the learning curve for MILF coin was far steeper than imagined and there were many features we wanted to implement but could not. The next steps for this project are to implement substantial security features. Currently, the mining game rewards are distributed through a "decentralized-central system," meaning they exist in a decentralized wallet which officially mined our alt coin but because the "miner" in question has to solve the contract's math equation to receive their coin, they can not mine it by just playing the game. Therefore, setting up a system that somehow allows a user to receive MILF coin by playing the game will make our system more secure and allow for a more seamless user experience.

Built With

Share this project:

Updates