{"repo":"zeriontech/defi-sdk","free":true,"listed":false,"github":"https://github.com/zeriontech/defi-sdk","clone":"git clone https://github.com/zeriontech/defi-sdk.git","description":"DeFi SDK Makes Money Lego Work","language":"TypeScript","stars":840,"topics":["solidity","defi","ethereum","truffle","defi-sdk","defi-protocols","aave-protocol","compound","ctokens","uniswap"],"license":"LGPL-3.0","category":"blockchain-web3","readme_excerpt":"DeFi SDK is an open-source system of smart contracts that allows you to execute trades with ERC20 tokens and track balances on different protocols. If you have any questions about DeFi SDK, feel free to reach out to us on our Discord server. Features 💸Trade any ERC20 tokens on L2 chains using single Router contract See How to swap ERC20 tokens using DeFi SDK Router 💥Query user assets and debt deposited in DeFi protocols like Maker, Aave, dYdX , etc. How much debt does 0xdead..beef have on Compound? 📊Get the underlying components of complex derivative ERC20 tokens How much cUSDC vs ETH does ETHMACOAPY have? ✨Interact with multiple DeFi protocols in a unified way See How to interact with DeFi SDK contracts Trading Features Trade any ERC20 token Two types of amounts: absolute (usual amount) and relative (percentage of balance) Three types of permit() functions for approving tokens in the same transaction (EIP2612, DAI-like, Yearn-like) Two types of swaps: with fixed input amount or fixed output amount Two types of fees: protocol fee managed by the Router contract owner with possibility of one-time discounts requiring signature of an address with the special role marketplace fee managed by the transaction creator Relayed transactions requiring just an EIP712 signature of the user How to Add Your Adapter Read-only and interactive adapters are maintained in master and interactive-updates branches of defi-sdk repo respectively. The full instructions on how to add a custom adapter","default_branch":null,"files":null,"tree":[],"storefront":"/r/zeriontech","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/zeriontech/defi-sdk/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}