Task
To develop the backend for a project to sell NFT pets and export them to Stepogram mobile app
Project info
Project team – 3 people
Timeline – 2 months
Technologies – Django, Postgres, Docker, Redis
Project Features
This project was developed together with gamefi.tech team. The following developers worked together with us:
- Frontend developer from the side of gamefi.tech, who realized the site according to the layouts
- Backend developers from Stegogram - mobile game on IOS and Android.
Our area of responsibility was backend development and organization of the project logic, so in this case study we will consider this part of the project
Solution
We used Django, a free framework for web applications in Python. It allows you to quickly build a database, as well as allows you to manage files and the site through the admin panel
Registration via cryptocurrency wallet
Stepo.run users can create an account on the site through Metamask or other wallets that WalletConnect supports.
After signing the authorization transaction, users will have access to their personal account and the ability to buy NFTs
NFT purchasing system
The most important module of the project is the NFT purchase. We have implemented a system for NFT booking and subsequent payment. After the transaction via cryptocurrency wallet, the backend with the help of
Bscscan tracks incoming transactions to the corporate account and closes the order.
Application integration and staking
After purchasing a pet, the fun part begins.
Users can export their pet to the Stepogram mobile app and start walking to earn rewards on the TON (Telegram Open Network).
Our backend tracks users' progress in the app every month and awards them with GFI tokens in the Binance Smart Chain network depending on the number of steps walked and the current GFI token issuance.
In addition, the project has a referral program that allows you to receive rewards for people you invite.
We call it «Virtual Staking». Inside the backend, our own billing system with accounts and transactions is implemented, and funds are withdrawn only at the last stage through the company's smart contract.
At the client's request, we implemented a detailed logging system for the steaking process. Through the admin panel it is possible to track transactions within the backend with split-second accuracy and filter them if necessary
All deposits and withdrawals from the platform are also tracked through the admin panel
Results
The project was done on time and handed over to the client. Now we are engaged in supporting and expanding the functionality.
Users are actively using the app, buying pets and going out for walks. Improving health can be fun!