🛠️Fixing the issue

SocialFi is here to enhance what is already great and here are FT's biggest issues:

  • The issue with friend tech is that it is slow, crumbling under excessive traffic.

  • Most of the screens do not load, most of the time. Data latency is often >10s.

  • It is very hard for new big accounts to onboard without getting sniped by bots

  • Spam bots are able to identify wallets connected to prominent accounts through Friend Tech API (https://prod-api.kosetto.com/search/users?username=…arrow-up-right${username})

  • The getPrice function calculates the price based on the supply and amount.

  • When the supply is zero (i.e., no shares have been purchased yet), the value of sum1 will be zero. However, the value of sum2 will also be zero if amount is 1.

  • This means that the only non-zero price that can be calculated when supply is zero is when amount is more than 1. But even then, if the owner buys more than one share initially, sum2 will turn out to be a non-zero value but may not accurately represent the intended pricing model.

The fix:

  • SocialFi will operate under Telegram (more platforms to come) and a lot of traffic can be handled.

  • Data latency expected is around 0.1 - 0.2 seconds depending on several factors, including network conditions, server load, and message size compared to FT's >10s data latency.

  • We can operate on multiple social media platforms like Telegram, Discord, Twitter, Reddit & Github (more to come), this includes all the major platforms for our users to operate in.

  • The problem with the original algorithm lies in the conditional setting of sum1 and sum2 when the supply is zero. When the supply is zero and the owner is buying only one share, sum2 is set to zero, leading to a price of zero.

  • We changed the getPrice function to properly account for an initial purchase of more than one share. One way to accomplish this is by removing the condition that sets sum2 to zero when amount == 1 and supply == 0.

  • Now, when the supply is zero, sum1 is explicitly set to zero and sum2 calculates the sum for amount shares. This will allow users to buy multiple shares with a non-zero price, even when the supply is initially zero.

Last updated