Deployed URL : LIVE WEBSITE

🔥Token Forge 🔥

What is an index token?

An index token is like a basket that holds many different types of cryptocurrencies at once, allowing investors to invest in several cryptocurrencies through one token.

Inspiration

0️⃣ Polygon ZkEVM network currently does not have any Index Tokens.
💪 We took inspiration from TokenSets and recreated it without any fees plus returns to the creators of the index.

What it does

👨‍🍳 Lets users create & manage their own index tokens
🪙Mint Index Tokens in exchange for utility tokens.
💵 Redeem index tokens for underlying assets.
🤑 Creators can collect a custom streaming fee from 0 to 1% per year of the total holdings of the index created by them.
📈 People can list and buy these tokens on a decentralized exchange.

What's next for Token Forge

⛽Gas optimization
🔐 Security Auditing

Try the website on Polygon ZkEVM Testnet

1. Mint Test Tokens

  1. Click "Mint Utility Tokens" to mint test erc20's to interact with the protocol.
  2. Click the 'Mint Utility Tokens' button to start the transaction. 1000 USDC, WETH, WBTC, WMATIC, and AAVE will be sent to your wallet.

2. Try Creating a Token

  1. Enter the token name, its symbol, and adjust the sliders according to how you want each asset to be portioned.
  2. Click "Create Token" to create the Index Token's contract.

3. Take a look at your contracts

  1. If you are not redirected already, you should be on the "tokens" page and be able to view, interact with and share your tokens with others. If not, you can click "View All Indexes" on the home page. You should see your newly created tokens there, if not try giving your browser window a refresh.

4. Try Issuing Tokens

  1. Select your index token or token address shared with you to view its composition,
  2. Approve the spending of underlying / utility tokens. Accept all transactions (will be between 1-5 transactions) based on the number of underlying tokens that compose your index.
  3. Click "Issue Tokens" to get the index token in exchange for the underlying tokens.
  4. Upon successful Tx, you will have received your index on your wallet address

5. Try Claiming Streaming Fee

  1. Issue an index token on two or more different addresses
  2. Click the "Claim Fee" Button.
  3. Paste the index token address into the field
  4. Click the "Claim Fee" button to confirm taking the streaming fee. There should be 1% tokens burned from all wallets that hold that index and 1% minted to the index creator's address.

6. Try Redeeming Tokens

  1. Click "Redeem Tokens"
  2. Choose the address of the index token to redeem.
  3. Enter the amount of tokens you want to redeem from your holdings
  4. Press submit, you should see index tokens being burned, and underlying tokens being sent back to you.

7. Rebalancing

Since this design is designed for the mainnet, it will not work on testnet so we have disabled this feature for the purpose of this hackathon.

Screenshots (Features Demo)

Default Mode

default

Dark Mode

dark

Account Transactions History

6

Create Token Page

2

Create Token Tx

2

List of My Indexed

2

2

View Index Token's Composition (Paste any valid index token address)

5.2

Issue Index Tokens in exchange for Utility Tokens

2

Import Token into the wallet

2

Redeem Index Token

2 3

Token redemption transaction on block explorer

6

Issue Index Token from Account 2

4

100 Tokens issued by Account 2 (MYEPIC is created by Account 1)

5

100 Tokens issuance transaction on block explorer by Account 2 (MYEPIC is created by Account 1)

2

Account 1 Claims 1% of total tokens as streaming fee that are issued by others

6 6

As you can see ~ 1 index token is being received by Account 1 since Account 2 issued 100 tokens and 1% was charged

6

Index Token with Account 2 after 1% streaming fee was charged

6

Built With

Share this project:

Updates