Cohorts
  • Discover
  • About Us
  • Blog
  • Patika.dev
  • Web3

NEAR Developer Course

NEAR Certified Developer Final Project
What Does a Successful Project Look Like?
The Course Outline
NEAR CLI (Command Line Interface)
NEAR Explorer

What is Assembly Script?
Contract
File Structure
Imports
Practice I

Assert
Models
Context
Storage
Practice II

Collections
Arrays
Iteration
Classes

Introduction
Keys
Identity
Money

Smart Contract Overview
Account Model
View & Change Methods
Serde
NEAR Wallet
Practice: NEAR Academy-Meme Museum

Previous successful projects
Example: Thanks
Example: Guest Book
Example: Sample Lottery
Example: CRUD dApp
Develop project ideas
Submit and build your project plan

Loom video
Documentation and explanations
How to submit

Practice I

Let's practice what we learned until now. Practicing is a vital element of becoming a NEAR developer. In this part, we have a smart contract that was created by the NEAR education team. We want to clone this repository and make changes as follows. This is the second time you make changes to a smart contract in our course.


git clone https://github.com/Learn-NEAR/starter--near-sdk-as

yarn


Task 1

In src/simple/assembly/index.ts

export function helloWorld(): string {
  return 'hello world'
}


Change to,

export function helloWorld(): string {
  return 'hello <Your Name>'
}

yarn build:release

near dev-deploy ./build/release/simple.wasm

export CONTRACT=<YOUR_DEV_ACCOUNT_HERE>

near view $CONTRACT helloWorld


output,

hello <Your Name>

Congrats! You have made changes on a smart contract :)


Task 2

In src/simple/assembly/index.ts

export function helloWorld(): string {
  return 'hello <Your Name>'
}


Change to,

export function helloWorld(name: string): string {
  return 'hello ' + name
}

yarn build:release

near dev-deploy ./build/release/simple.wasm

near view $CONTRACT helloWorld '{"name": "<Your Name>"}'


output,

hello <Your Name>


Task 3

In src/simple/assembly/index.ts

`` export function helloWorld(name: string): string { return 'hello ' + name }

Change to,

export function helloWorld(names: Array<string>): string {
  return names.map<string>(name => 'hello ' + name).join(` `)
}

yarn build:release

near dev-deploy ./build/release/simple.wasm

near view $CONTRACT helloWorld '{"names": ["<Your Name>", "<Friend Name>"]}'


output,

hello <Your Name>
hello <Friend Name>


After you finish your tasks, create a new repository in your GitHub with the latest changes you made during the practice. Send us your repo link. It must include changes you made.

Practice

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 “NEAR Developer Course”.

Enroll to participate
Start the course to unlock the discussion. Enrolling helps us keep conversations relevant to learners.
Cohorts
WebsiteDiscoverBlogPatika.devRise In
CoursesCircleRustSoliditySolanaWeb3 FundamentalsBlockchain Basics
CompanyAbout UsTerms of UsePrivacy PolicyGDPR NoticeCookies
Don't miss any update!

Disclaimer: The information, programs, and events provided on https://cohorts.patika.dev 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://cohorts.patika.dev disclaims any responsibility for financial decisions made by users based on the information provided here.

© 2026 Cohorts, All rights reserved