• Discover
  • Partner with us
  • Chapters
  • Blog

Learn everything about Chiliz

Introduction
Chiliz Network and Its Use Cases
What Are Test Tokens and How to Utilize Them

What Are We Going to Build
Which Technologies Will Be Used
Implementing Frontend I - Creating ENV
Implementing Frontend II - Connect Wallet
Implementing Frontend III - Getting Token Balances
Implementing Frontend IV - Getting Token Metadata
Implementing Frontend V - HTML/CSS Walkthrough
Homework I - Submit your github repository link

What Are We Going to Build
Getting Chiliz Testnet Coins
Deploying NFT Marketplace Using Thirdweb
Implementing Frontend I - Creating ENV
Implementing Frontend II - Fetching Contract Info
Implementing Frontend III - Interacting with NFT Collection
Implementing Frontend IV - Interacting with Marketplace
Implementing Frontend V - List/Delist NFT on Marketplace
Implementing Frontend VI - Buy Listing
Homework II - Submit your github repository link

Submit Your Final Project

Now it is your turn to modify the already existing content. Let’s modify the entry requirement for Accessing MeetPage. Currently, the only requirement is holding native token (CHZ), now let’s add the requirement of holding any fantoken of your choosing.

Step 1: Get Token Balances

From the useBalances hook, we are importing message and nativeBalance. Now let’s also add tokenBalances to the imports we are making.

change this line:

const { message, nativeBalance } = useBalances();

to:

const { message,tokenBalance, nativeBalance } = useBalances();

Step 2: Get Specific Token Balance

tokenBalance is an array containing all the tokens the user owns. From that array, check if the fantoken of your choosing exists and it has a balance greater than 1.

Note: You can check if the fan token you choose exists in this array using symbol or token_address (For instance, in token_balances array, check if the user has token with token_address: 0xF9C0F80a6c67b1B39bdDF00ecD57f2533ef5b688. If token_balances array does not contain an item with this address, means that the user do not posses any and, therefore can not join the meeting)

Step 3: Add condition to isEligible

If the token exists in the tokenBalance array, we can check for the balance from the same array but it contains decimals. Therefore before checking if the balance is greater than 1, you need to get rid of decimals. In other words, instead of checking if balance > 1, you need to do formatBalance(balance) > 1 (just like what we have done with nativeBalance).

Finished version of Virtual meet-up platform:

Github Link

Project

Submit your work to complete this lesson.

Join the project workspace to share your solution and receive feedback.

Previous
Next

Lesson discussion

Swap insights and ask questions about “Learn everything about Chiliz”.

Enroll to participate
Start the course to unlock the discussion. Enrolling helps us keep conversations relevant to learners.
WebsiteDiscoverPartner with UsBlogEvents
Discover
CoursesCircleRustSoliditySolanaWeb3 FundamentalsBlockchain Basics
CompanyAbout UsBrand GuidelineFAQsTerms of UsePrivacy PolicyGDPR NoticeCookies
Don't miss any update!

Disclaimer: The information, programs, and events provided on https://risein.com is strictly for upskilling and networking purposes related to the technical infrastructure of blockchain platforms. We do not provide financial or investment advice, nor do we make any representations regarding the value, profitability, or future price of any blockchain or cryptocurrency. Users are encouraged to conduct their own research and consult with licensed financial professionals before engaging in any investment activities. https://risein.com disclaims any responsibility for financial decisions made by users based on the information provided here.

© 2026 Rise In, All rights reserved