Inspiration

DeFi (Solana in particular due to its speed and low fees) offers a new world of opportunities for financial gain, providing a means to help reduce financial inequality. Risks associated with these opportunities for gain are well documented on multiple websites, but a lack of relevant financial metrics keeps the barrier-to-entry into DeFi higher than it otherwise could be. Calculating and visualizing metrics for liquidity providing opportunities can help token holders better understand what may happen to their tokens and allow them to make better informed decisions.

FTW grew from a personal project. The current absence of metrics and visualizations made it difficult to select farms and track what was happening to existing positions. In playing around with visualizations of token price data and farm information, it was possible to see how price movement and APY changes affected potential gains. This information was too helpful not to share with the community. After convincing a small group of friends of Solana’s advantages and finding out about the hackathon, FTW was born.

What it does

Farm To Wallet, or FTW, allows users to be able to easily evaluate historical performance of farms across AMMs. It does so through transparent easily understandable metrics and visualizations. Beyond analytics, it is the long term goal of the project to allow Solana users to build a portfolio suited to the user’s risk allowance and automate the act of adding liquidity to pools, staking corresponding farm tokens, and compounding rewards entirely through FTW. The project aims to compare and access all farming opportunities on the Solana blockchain through a single service.

Accessible via a website, FTW is comprised of four major components:

• Data collection of AMMs farms
• Data visualization
• Farm portfolio creation
• Automation of providing liquidity and staking tokens

How we built it

By working with AMMs, we are able to use their APIs to pull relevant data from their sites needed to feed FTW’s metrics. This data is then manipulated to generate the list of farming opportunities and metrics found on FTW’s main page. More detailed info on individual farms can be found by selecting token pairs from the list leading to data visualizations, whose interactivity we hope to significantly expand. After viewing these metrics and visualizations, better-equipped users can then create a farm portfolio through FTW.

The data aggregation, metric calculations and plotting are updated hourly using Python and saved to build a history of farm information (APY, TVL, etc.).

The website was scrapped together using python as well with the Django full stack and some JavaScript. It’s currently hosted on a VPS.

Challenges we ran into

Our largest challenge was overcoming the departure of our web developer and cobbling a site together ourselves. As you can tell we didn’t know much about web development before this project. :)

A challenge we unexpectedly did not experience was obtaining support from the teams at Saber and Raydium in the form of access to their private API, (it is not key protected, but remains unadvertised). They have both been great to work with, responding quickly to questions.

Accomplishments that we're proud of

Turning a quick personal project into a MVP is a great experience. Technical accomplishments aside, we are happy to add value to the Solana community.

What we learned

Going in, we thought we had good idea of what was possible on Solana, but coming out, it is clear how much untapped potential still exists.

We also had a lesson in how important it is to be careful in selecting teammates for a serious project.

What's next for Farm to Wallet

FTW’s final component involves committing tokens in users’ wallets to corresponding liquidity pools and farms they have selected. Compounding of rewards will be handled automatically as per configurable instructions. The tokens can be similarly retrieved from the farms and moved back into a wallet through FTW.

FTW will be monetized by applying a small fee to user’s profit as generated through its service.

The seed money would go towards developing a much-improved website in addition to funding the development of the remaining component of the project’s vision.

Built With

Share this project:

Updates