Lingo

The most viral SocialFi ever

Users
+600k
Raised
+$15M
Tweets
+8M

context

Avicenne Studio helped Lingo by taking the lead on the product’s technical integrations.

Heading

Heading

Building the fastest marketplace involves solving challenges of scalability, real-time performance, and secure financial transactions. Gamification features add complexity, requiring seamless integration while maintaining speed and security.

Heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Heading

Plus icon

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Heading

Plus icon

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Background
Lingo hired Avicenne to build their SocialFi platform from scratch. Users can login to the platform and perform various quests to unlock even more advantages and maximize their future $LINGO airdrop.
Team
Avicenne’s team was formed by two web3 expert and a senior product manager. The developers worked with the product manager to specify the needs and express Lingo’s vision into technical features.
They provided weekly sprint reports, documentation and regular changelogs to be as transparent as possible through their work with Lingo’s CTO.
In addition to the technical work needed, their role was to ensure code quality, clear documentation, reporting, sprints planning and support on Usual’s hiring process with help on interviews and candidate screening.
Background
Lingo hired Avicenne to build their SocialFi platform from scratch. Users can login to the platform and perform various quests to unlock even more advantages and maximize their future $LINGO airdrop.
Team
Avicenne’s team was formed by two web3 expert and a senior product manager. The developers worked with the product manager to specify the needs and express Lingo’s vision into technical features.
They provided weekly sprint reports, documentation and regular changelogs to be as transparent as possible through their work with Lingo’s CTO.
In addition to the technical work needed, their role was to ensure code quality, clear documentation, reporting, sprints planning and support on Usual’s hiring process with help on interviews and candidate screening.
The fast growing number of users
Grid image

Data contention due to the number of cron jobs running simultaneously.
All write operations were transactional. This ensures that all operations within the transaction must succeed, or none of them will be applied.
Early returns were used to free up resources for other tasks that might need them.
API calls were always performed outside transactions when possible
Atomic operations were utilized whenever feasible.
Cron jobs running every second, which requires monitoring and constant alertness during peak times.

Handling Twitter rate limits and pagination (some resources have a shared rate limit).
A complex system was implemented to manage different rate limits. Rate limit errors were caught and made available across other resources, preventing the need to fetch the Twitter API repeatedly.
Additionally, some requests used pagination, so we had to store the pagination state to continue from where we left off without starting over, which would consume more rate limits.

Handling bots and suspended accounts retrospectively
An extra check was performed during Twitter API calls to see if the users were banned by Twitter.
Another cron job made Twitter API calls to check if users had been unbanned so we could unban them on our end.
Backend
  • Login to socials
  • Email verification
  • Referral program
  • Track social metrics
  • Admin operations
  • Sensitive data encryption
UI integration
  • Api calls
  • Store management
  • Error handling
Web3 integrations
  • Included support of all different wallets
  • Smart contract interactions
Smart contracts
  • Help on optimizing the smart contracts and making them audit ready
Infrastructure integrations:
  • Handle all services with Terraform (IaC - Infrastructure as code)
  • Manage secrets safely
  • Automated deployments
Focus area
challenge
The fast growing number of users
Grid image

Data contention due to the number of cron jobs running simultaneously.
All write operations were transactional. This ensures that all operations within the transaction must succeed, or none of them will be applied.
Early returns were used to free up resources for other tasks that might need them.
API calls were always performed outside transactions when possible
Atomic operations were utilized whenever feasible.
Cron jobs running every second, which requires monitoring and constant alertness during peak times.

Handling Twitter rate limits and pagination (some resources have a shared rate limit).
A complex system was implemented to manage different rate limits. Rate limit errors were caught and made available across other resources, preventing the need to fetch the Twitter API repeatedly.
Additionally, some requests used pagination, so we had to store the pagination state to continue from where we left off without starting over, which would consume more rate limits.

Handling bots and suspended accounts retrospectively
An extra check was performed during Twitter API calls to see if the users were banned by Twitter.
Another cron job made Twitter API calls to check if users had been unbanned so we could unban them on our end.
Backend
  • Login to socials
  • Email verification
  • Referral program
  • Track social metrics
  • Admin operations
  • Sensitive data encryption
UI integration
  • Api calls
  • Store management
  • Error handling
Web3 integrations
  • Included support of all different wallets
  • Smart contract interactions
Smart contracts
  • Help on optimizing the smart contracts and making them audit ready
Infrastructure integrations:
  • Handle all services with Terraform (IaC - Infrastructure as code)
  • Manage secrets safely
  • Automated deployments
Focus area
challenge

Heading

Building the fastest marketplace ever lzlzlzlzlzlz

Building the fastest marketplace involves solving challenges of scalability, real-time performance, and secure financial transactions. Gamification features add complexity, requiring seamless integration while maintaining speed and security.

Heading

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Heading

Plus icon

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Heading

Plus icon

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse varius enim in eros elementum tristique. Duis cursus, mi quis viverra ornare, eros dolor interdum nulla, ut commodo diam libero vitae erat. Aenean faucibus nibh et justo cursus id rutrum lorem imperdiet. Nunc ut sem vitae risus tristique posuere.

Results

The SocialFi we built for Lingo successfully reached more than 600k verified users, making it the most used SocialFi platform ever. With our expertise, they were able to launch the product without any crashes that could have threaten such a large operation. The platform’s success helped them raise an additional $8M round, gathered with all the attention they got.