Learn how Trader Joe is integrated into the Cook DeFi Index platform

At Cook we’re proud to share that we integrated Trader Joe, one of the largest DEXes on Avalanche, into the Cook platform. Through this integration, Cook was able to launch the first ever DeFi Index platform on Avalanche.

In this article we’ll share a high level overview of the integration and explain how the Trader Joe integration was completed with the Cook platform. Also you’ll learn how each index on the Cook platform on the Avalanche chain is created with the assistance of the Trader Joe DEX.

For those of you interested in how indexes work in the world of DeFi, this is a great way to learn more about the inner workings.

Platform Integration

As the Cook team was working on building out the platform on the Avalanche chain, the team recognized the need to source the underlying tokens that are essential for any index on the platform. It was quite apparent that Trader Joe offered not only a highly liquid marketplace through which to source the underlying tokens for the Cook indexes but also a protocol that is widely used by many people every single day.

Token Sourcing

Once the integration with Trader Joe was completed, the ability to get an Avalanche Index by automatically sourcing the underlying tokens through Trader Joe was ready. To explain how this process works, we can take the example of the YB-AEI Index that comprises some of the most popular projects within the Avalanche ecosystem.

Smart Contract

When a user issues an index token with a single token such as AVAX, USDT, USDC or DAI, the Cook smart contract automatically swaps for and encumbers all the underlying tokens into the index token. This process diversifies individual price risks and removes all the complexity of constructing a portfolio of tokens such as the YB-AEI Index.

With this integration with Trader Joe to source the underlying tokens of the Avalanche Indexes, Cook is able to offer a streamlined user experience. This fluidity enabled by Trader Joe, combined with the “Issue with Single Token” feature on the Avalanche chain, makes the Cook platform the fastest DeFi Index platform ever created.

About Cook Finance

Cook Finance is a transparent and flexible DeFi Index platform. This two sided platform is suited to a diverse range of users to make it easy to select from a menu of indexes across multiple chains. At the same time on the other side of the platform, index creators can utilize tools to create virtually any imaginable strategy and easily offer it up to the Cook community.

Website | Discord | Telegram | Twitter | Medium

--

--

--

A DeFi Index platform built for the future.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Devcenter Square: How African developers started connecting in the most interesting way

GSoC’20 @OpenMRS | Coding Period | Week 10

Hacking with Swift — Challenge 12

My journey with #100DaysOfCode

Extrude Tool in Sketchup

Multiple YAML defaults in Rails fixtures

Fuzzing and code coverage analysis

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Cook

Cook

A DeFi Index platform built for the future.

More from Medium

Demystifying $fStatic

How To: Staking on Strips Markets

Dent wireless: The future of 5G in our world!😳

FaithSwap — AMM