RANK

A crypto DeFi app

RANK

What I did

  • Frontend development
  • Crypto Wallets integration
  • Balance-fetching API backend integration
  • Zero DB on-chain ledger tracking
Technical details

What I used

React Next.jsTypeScriptTailwindAlchemy SDKDynamic.xyzGSAP wagmiethers.js RechartsAlchemy SDKRadix UI
Visit website Perceived Options

About the project

RANK's main product is not vaults or yield protocol, it's actually a unique quant trading algorythm that allows traders get an edge in trading, without knowing how to code. Conventionally those tools and algorythms are tailor-made for traders. But before the RANK platform is fully opreational, the client wanted to start with the simplest part -- vaults.

Details

The animated portfolio and deposit components were probably the most interesting to work on. I wanted to create a friendly satisfying interaction, which turned out to be quite a challenge, since normal input boxes can't be animated. So I had to create a custom GSAP component with character by character animation:

Deposit component custom input animation
Net worth generation is visualized in a more tangible way
// Animate changed digits
formatted.split('').forEach((newChar, idx) => {
  const oldChar = prevFormatted[idx]
  const digitEl = digitRefsRef.current.get(idx)

  if (digitEl && newChar !== oldChar) {
    gsap.fromTo(
      digitEl,
      { y: -30, opacity: 0 },
      { y: 0, opacity: 1, duration: 0.35, ease: 'back.out(1.7)' },
    )
  }
})

The idea behind the key visual was to allude to RANK's logo.

Final version of the vortex
One of the early Embergen simulation vortex renders