← Back to home

TokenBlend

TypeScript

TokenBlend - Asset allocation and rebalancing for your Enzyme funds and Ethereum wallet

Screenshots

TokenBlend screenshot 1
TokenBlend screenshot 2
TokenBlend screenshot 3

Problem Statement

Specify the desired asset allocation ("token blend") for your Ethereum wallet or Enzyme vault.Generate a trading plan that performs the swaps necessary to reach the desired distribution.Choose the optimum swap (uniswap or paraswap).Deposit tokens into Idle yield generating contracts where possible.

Solution

Vue.js dApp using the following:Metamask to connect your wallet.Enzyme:thegraph for looking up vaults controlled by you and relevant assets.enzyme typescript SDK for retrieving balances and executing uniswap tradesUniswap:simple-uniswap-sdk for trade planning and trade executionParaswap:paraswap SDK for trade planning and executionIdle:ethers.js calls to Idle smart contracts for token redeeming and depositing

Hackathon

HackMoney 2021

2021

Contributors