Inspiration

I was inspired by traditional investment robo-advisors such as Betterment and Wealthfront in the US. What I love about these services is that they make investing easy by allowing investors a hands off approach. As research shows, successful investments is defined by time in the market, not by timing the market.

One may consider that these strategies exist on-chain, but typically, investors need to give up custody of their tokens to opaque smart contracts. Also, most of the time individual investors have little to no control of the strategy. With Vestwise, these strategies are built into user's wallets, giving full control of assets.

What it does

Vestwise is a platform that let's investors build and customize their own investment strategies right into their wallet. The magic of Vestwise is that Investors do not need to worry about seed phrases and private keys because wallets are managed for them in the background. Investors have full confidence that they always have custody of their assets, and can use them at any time.

For this demo, Vestwise implements a split investment strategy. Upon user signup, a smart contract wallet is created on behalf of the investor using an email. After a series of investment questions, the split investments strategy is installed into the user's wallet. This specific strategy (aptly named, Chainlink Conservative) automatically splits USDC deposits into a specific allocation (50% LINK, 25% WBTC, 25% STETH).

With the help of Chainlink Functions and Automation, Vestwise monitor's the user's investment ratio, and if theres a divergence, automatically rebalances the portfolio.

Chainlink Functions help save significant gas because the rebalance calculation is split out into a view function, which is freely called using RPC such as Infura.

How we built it

  • Account abstraction (biconomy and rhinestone modules) is used for user accounts/wallets.
  • Chainlink Functions is used for the rebalancing strategy
  • Nextjs is used for the demo frontend

Challenges we ran into

My biggest challenge was learning and building at the same. It was the first time using Next.js, Chainlink Functions, Automations.

Accomplishments that we're proud of

Building a full stack app on my own! Specifically, strategies in a modular way. That means that strategies can be isolated in the case of security issues without impacting the account and other strategies.

What we learned

How Chainlink Functions and Automation works!

What's next for Vestwise

Build and refine more strategies. Have security review of the strategies.

Share this project:

Updates