• Discover
  • Partner with us
  • Chapters
  • Blog

Learn everything about Stellar

Rust Walkthrough
Rust Basic Homework

Course Intro
Section Overview
Stellar Intro
Creating Wallet for Stellar
Soroban Intro
Setting up the development environment
Soroban First Code Walkthrough
Deploy to the Stellar Testnet
Section Summary

Section Overview
Single offer Example
Time Lock
Atomic Swap
Section Summary

Submit Your Final Project

In this final project, you will be adding a freeze function to the token contract that we learned during the course. This feature allows a given token holder to freeze and later unfreeze their tokens. Frozen tokens cannot be transferred by the holder.

Note: These features must be added to the contract.rs file.

Steps

  • Add two new functions to the token contract, freeze_account and unfreeze_account. Both functions must take an account address.
  • The freeze_account function should freeze the tokens of the specified account. This temporarily prevents the transfer of tokens for a given account.
  • The unfreeze_account function should unfreeze the tokens of the specified account. This re-enables the transfer of tokens of a given account.
  • Update the transfer function to reject a transfer if an account's tokens are frozen.

Requirements:

  • Submit your project to Stellar testnet and mention your contract address in your readme.md file
  • Provide a README file describing how the project works and any new functionality added.

Task

Submit your work to complete this lesson.

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

Previous

Lesson discussion

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

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