Inspiration
A lot of e-learning platforms(like Coursera, EdX, and Udemy) have really nice content but as learners, we are often asked to pay a lot to learn from these platforms. At the same time, these companies get access to a lot of our data, analyze learning habits and try pushing content that suits their needs the best. They keep increasing their valuation but as learners, we are never incentivized(apart from learning something new & getting a certificate that costs a lot in the first place).
At the same time, Cryptocurrencies have become a buzz word but not a lot of people know exactly what it is. Hardly 4% of the world's population owns crypto. Crypto is powerful and its true power lies in its being decentralized. It is a new and emerging topic, we thought why not build a platform where newbie enthusiasts can come and learn something new about different cryptos while getting paid in cryptos for learning too??
Our aim is to incentivize learning while getting more people to learn about different cryptos to make informed buying and selling decisions.
What it does
The platform is a one-stop shop for all things crypto. You can learn about any crypto on our platform and when you complete learning about a particular crypto, we pay you 100 $LEARN tokens for the efforts you put into learning and becoming a more informed person.
How we built it
- Wrote a solidity contract where we create our own crypto $LEARN. Took some help from the Open Zeppelin and deployed the crypto on the Fantom Opera Network.
- Wrote a simple Flask backend for smart contract interactions, where the only mode of authentication is Metamask - this is to preserve data privacy. We do not store any user's personal data as we have no access to any personal data.
- Connected the flask backend to the frontend using HTML, CSS, and JS. JavaScript is our main part of meta mask connectivity.
- Used web3 modules in JS and Python(Flask) to perform all blockchain-related functions.
- Deployed onto Heroku & GCP Cloud Shell and also linked a .tech domain!
- Users can choose to do any course on our platform for free and they get paid in our native token for the time they spend on our platform. This functionality is handled using python code that interacts with the smart contract.
Challenges we ran into
- Connecting the front end and back end to the meta mask wallet proved to be extremely challenging. It took us a while to figure things out.
- We went with Python instead of React for our web3 use-case. Using React would've simplified things for us as the support for the web3 module is more robust in React.
- While creating our crypto, figuring out the right tokenomics proved to be extremely challenging and took us a while.
- One major issue that we faced and still face is that when we get the user address from meta mask, by default in certain cases, all the characters in the wallet address turn into lowercase letters which causes some checksum errors. We have found a temporary workaround for this but a more permanent one will be found soon.
Accomplishments that we're proud of
- Getting our own crypto out there for anyone to buy and sell. People can buy our crypto ($LEARN) on various DeFi platforms like SpookySwap and SpiritSwap by entering the contract address.
- Giving our crypto an actual monetary value by adding liquidity into the Liquidity pool. This was a major accomplishment for us. (1 LEARN = 0.00000306416 FTM)
- Connecting our frontend and backend components well enough to actually interact with meta mask and web3 components.
What we learned
- The biggest takeaway for us was the part where we learned how to connect the frontend and backend for a web3 application.
- We figured things out on the go even if it meant it took some time, but we learned how to manage time to build and submit a complete product.
- And of course, we learned how to create our own crypto, get it verified on ftmscan and actually give it value by providing liquidity.
What's next for Learn2Earn
- The potential for Learn2Earn is huge.
- First we intend to make sure that our entire codebase is secure and probably submit an audit.
- We could partner with various cryptos out there and get their content on our platform - a certain payment could be taken from these companies in their native tokens.
- We could partner with schools and academia to use our platform for quizzes and other purposes (could be a little centralized).
Built With
- blockchain
- fantom
- google-cloud
- google-cloud-shell
- heroku
- python
- solidity

Log in or sign up for Devpost to join the conversation.