Create a custom index token combining any mix of tokenized stocks and cryptocurrencies.
Mint an index token by depositing its exact underlying basket of tokens.
Redeem an index token back into its underlying tokens at any time without a market.
Buy into an index in one transaction using a single stablecoin instead of the whole basket.
| markeljan/hoodl | 0xradioac7iv/tempfs | 7vignesh/pgpulse | |
|---|---|---|---|
| Stars | 0 | 0 | 0 |
| Language | TypeScript | TypeScript | TypeScript |
| Setup difficulty | hard | moderate | moderate |
| Complexity | 5/5 | 3/5 | 4/5 |
| Audience | developer | developer | developer |
Figures from each repo's GitHub metadata at analysis time.
Requires Foundry and familiarity with Solidity smart contract development and deployment.
HOODL is a set of smart contracts for creating index tokens on Robinhood Chain, a blockchain where tokenized versions of stocks and cryptocurrencies both exist as tokens you can hold and trade. An index token here is a single token that represents a fixed basket of other tokens, such as a mix of a stock token and a memecoin, bundled together under one ticker. Anyone can create a new index by listing which tokens and how many units of each should make it up. Anyone can then mint that index token by depositing exactly that basket of underlying tokens, and anyone can redeem it back into the original tokens at any time, without needing a buyer or seller on the other side of a trade. There is no manager adjusting the basket over time and no oracle needed for this core mint and redeem process, since the composition never changes after creation. The index token itself is a normal ERC-20 token, meaning it can be sent to others, added to a trading pool, or used as collateral like any other token. The project includes a flagship index called HOODL AI Index, made of NVDA stock tokens, TSLA stock tokens, and a memecoin, plus supporting contracts that let people buy into an index with a single transaction using another token, and a tool that estimates an index's current value in US dollars for use in apps. Corporate actions like stock splits are handled automatically through adjusted price feeds and by design of the underlying stock tokens. The contracts are written in Solidity and built with the Foundry development framework, including 60 offline tests plus 3 tests that run against a live copy of the real blockchain state. The project is already deployed on the Robinhood Chain mainnet, with contract addresses listed in the README. No license is stated in the README.
Smart contracts that let anyone create, mint, and redeem index tokens combining tokenized stocks and cryptocurrencies on Robinhood Chain.
Mainly TypeScript. The stack also includes Solidity, Foundry, TypeScript.
Setup difficulty is rated hard, with roughly 1h+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
Don't trust strangers blindly. Verify against the repo.