{"repo":"IndexCoop/flash-mint-sdk","free":true,"listed":false,"github":"https://github.com/IndexCoop/flash-mint-sdk","clone":"git clone https://github.com/IndexCoop/flash-mint-sdk.git","description":"The Flash Mint SDK provides helper functions for using Index's Flash Mint contracts from your app.","language":"TypeScript","stars":12,"topics":["contracts","ethereum","index"],"license":"MIT","category":"blockchain-web3","readme_excerpt":"Flash Mint SDK v3 The Flash Mint SDK provides easy to use functions to integrate flash minting for Index's products. The Contracts To find out more about the contracts, go to Index's smart contracts repo. This SDK currently supports the contracts listed here. Install Limitations A limitation to be aware of (especially for getting quotes) is that the contracts can only mint or redeem an exact amount of Index token. Additionally, make sure that the (Index/Set) tokens have been approved on the specific FlashMint contracts. Usage Quotes With v3, while you could still use other quote providers individually, we recommend solely using the FlashMintQuoteProvider which will do most of the guess work for you. This provider will return the appropriate quotes for any Index token, automatically selecting the correct FlashMint contract for you - as well as preparing the call data. The returned quote is an object including meta data but most importantly the inputOutputAmount which is the quote for the given request\\ and a tx object which is a tx object basically ready to be send. \\ for minting this will be the input amount, for redeeming the output amount Flashmint To execute the flash minting of an Index token for convenience use the tx object returned by the FlashMintQuoteProvider . Development .env vars When adding new .env vars do not forget to update the publish.yml Adding a new Index token 0. add a test for determining the correct issuance module (only if using 0x) here 1. add a test ","default_branch":null,"files":null,"tree":[],"storefront":"/r/IndexCoop","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/IndexCoop/flash-mint-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."}