• Post category:StudyBullet-10
  • Reading time:45 mins read


Build 20+ projects including smart contracts and decentralized applications for the NEAR blockchain

What you will learn

Simple Hello World Greeting AssemblyScript smart contract

NEAR AssemblyScript Marketplace Smart Contract Development (1.25 new hours)

Marketplace Dapp Development with AssemblyScript for NEAR Blockchain (15 h total)

TypeScript Smart Contract and Dapp Development for NEAR Blockchain (1 h new)

Rust Smart Contract Development for NEAR Blockchain (1 new h, 2h total)

Build a Fundraising Rust Smart Contract with NEAR CLI and Cargo (1h new, 3h total)

Mint NFTs With Pre-Deployed NEAR Contract

Build a cryptocurrency token NEAR contract with TypeScript

Build counter TypeScript smart contract for NEAR blockchain

Build NFT Minting Dapp with JavaScript for NEAR Blockchain

Build a chat dapp with React JS for NEAR

Build a question and answer thread React dapp with NEAR smart contract

Build a social media sharing dapp with TypeScript and React JS

Build automated tests for NEAR smart contracts with Ava JS

Build a NEAR counter smart contract in Rust

Build a NEAR chat smart contract in Rust

Build a fungible token smart contract in Rust for NEAR

Build NFT smart contract in Rust

Build a question and answer discussion Rust smart contract for NEAR Blockchain

Build automated tests for Rust smart contracts on NEAR

Description

What is the NEAR blockchain?

  • built to be simple, secure and scalable.
  • Low cost. High speed. Effortless scale.
  • <0.01USD Transaction Cost
  • 18M+ Active Accounts
  • 400K Daily Transactions
  • ~2.4s Time to Finality
  • Contracts, DAOs, dapps, funding
  • Layer 1 blockchain

    not dependent on other chains.

uses a unique scaling mechanism

  • Nightshade sharding
  • Scales infinitely
  • resists short-term usage spikes

Proof of stake

  • More efficient than Bitcoin and Ethereum

web-based wallet

  • no need for users to install programs or browser extensions
  • makes it especially easy to onboard new users (e.g. through named accounts)

Certified carbon neutral

  • consumes in a year the same energy bitcoin consumes in 3 minutes

Interoperable with Ethereum

  • using Rainbow Bridge

Your Instructor

Alexandra Kropova is a software developer with extensive experience in smart contract and decentralized app development. She has helped produce courses for Mammoth Interactive since 2016, including many blockchain and Web3 courses.


Get Instant Notification of New Courses on our Telegram channel.


Mammoth Interactive is a leading online course provider in everything from learning to code to becoming a YouTube star. Mammoth Interactive courses have been featured on Harvard’s edX, Business Insider and more.

Over 11 years, Mammoth Interactive has built a global student community with 1.1 million courses sold. Mammoth Interactive has released over 250 courses and 2,500 hours of video content.

Founder and CEO John Bura has been programming since 1997 and teaching since 2002. John has created top-selling applications for iOS, Xbox and more. John also runs SaaS company Devonian Apps, building efficiency-minded software for technology workers like you.

Join 1.3+ million students in high-quality courses featured at Harvard

  • Lifetime access that never expires
  • Project-based curriculum to superboost your portfolio
  • Graduation certificate for every course
  • Absolute beginner-friendly
  • 90% off today
  • Use any computer
  • Satisfaction guarantee
  • Get all source code
  • Popular bundle by Mammoth students
  • Perfected over years of training

Reviews from the Mammoth Community

“This is AMAZING I just learned how to code without breaking a sweat, this is really easy and fun!” -Shalonda Lewis

“This course so far is by far amazing! The instructor is very encouraging and up beat.” -Moiz Saqib

“It was informative and definitely covered the basics. Easy to understand and to follow.” -Colin Mooney

English
language

Content

Mammoth Interactive Courses Introduction

00 About Mammoth Interactive
01 How to Learn Online Effectively
Source Files

Blockchain and Smart Contracts Overview

00 Blockchain Introduction
02 What is a Smart Contract
03 What is the NEAR blockchain

Project 1 Preview – AssemblyScript Smart Contract Development for Beginners

01 Project preview
Source Files

Project 1 – 02b Build a Github account

00a What is Github and building a new account
01 Build a Github repository (for Gitpod)
Source Files

Project 1 – 03 Set up AssemblyScript project on Gitpod

00 What is Gitpod
01 Set up Gitpod project for AssemblyScript smart contract
Source Files

Project 1 – 03b Install near-sdk-as package on Gitpod

01 What is Yarn
02 Install near-sdk-as
03 Commit project to Github with gitignore for node_modules
Source Files

Project 1 – 04 Introduction to AssemblyScript and WebAssembly

01 What is JavaScript in web development
02 What is AssemblyScript and WebAssembly
Source Files

Project 1 – 05 Build an AssemblyScript smart contract for NEAR blockchain

01 Build AssemblyScript smart contract online for NEAR blockchain
02 Install NEAR tools for deployment
Source Files

Project 1 – 05b Build accounts on NEAR testnet

01 Create a NEAR testnet account and fund with tokens
02 Build a sub-account with NEAR CLI

Project 1 – 05c Compile and deploy smart contract with NEAR CLI

01 Compile AssemblyScript smart contract with asb package
02 Deploy AssemblyScript contract to NEAR blockchain
02b Deploy AssemblyScript contract to NEAR subaccount
03 Interact with AssemblyScript contract on NEAR blockchain
04 Log values in AssemblyScript smart contract and redeploy
Source Files

Project 2 Preview – NEAR AssemblyScript Marketplace Smart Contract Development

01 Project preview
Source Files

(Prerequisite) Command Line Fundamentals

01 Why All Developers Need To Know The Command Line
03 What Are Linux And Unix Terminals
02 Install Linux Command Line On Windows
01 Build Your First Command In The Command Line
02 Navigate Directories In The Command Line
03 Build And Edit A New File In The Command Line
04 Move Files In The Command Line

(Prerequisite) Install Node and NPM

00 What Is Node JS
01 Install Node And NPM On Mac Or Windows
02 How to Install Node and NPM on Windows
Source files

(Prerequisite) Install yarn

02 Install yarn on Mac
03 Install yarn on Windows
Source Files

Project 2 – 06e Install project tools

01 Install NEAR CLI and AssemblyScript build tools
Source Files

Project 2 – 07 Set up NEAR dapp project

01 Set up NEAR project
02 Initialize yarn to install Near SDK
Source files

Project 2 – 08 Build a smart contract in AssemblyScript for dapp

01 Build a smart contract in AssemblyScript for dapp
02 Add new entry to map in AssemblyScript
03 Get entry from map in AssemblyScript
Source Files

Project 2 – 09 Compile and deploy contract to NEAR

01 Build accounts on NEAR testnet
02 Compile AssemblyScript smart contract
03 Deploy AssemblyScript smart contract to NEAR
04 Call functions from AssemblyScript contract on NEAR
Source files

Project 3 Preview – Marketplace Dapp Development with AssemblyScript for NEAR

01 Project preview
Source Files

(Prerequisite) Introduction to HTML

01. Course Requirements
02. What Is JSbin
03. Setting Up The Html Document
04. Header Tags And Paragraphs Tags
05. Styles
06. Bold Underline And Italic Tags
07. Adding In A Link
08. Adding In A Image
09. Adding A Link To An Image
10. Lists
11. Tables
12. Different Kinds Of Input
13. Adding In A Submit Button

(Prerequisite) Introduction to JavaScript

01. Variables
02. Javascript
03. Numbers
04. Booleans
05. If Statements
06. Arrays
07. For Loops
08. While Loops
09. Objects
10. Functions
11. Foreach
12. Map Functions
13. Using Objects As Dictionary
14. Switch Statements
15. Destructuring
16. Spread Operator
17. String Templates
18. Error Handling
19. Let And Const Keywords
20. Do-While
21. Sets
22. Maps
23. Stacks
24. Queues
25. For Loop
26. Recursive Functions
27. Loop Labeling
28. 2D Arrays
29. Settimeout
30. Sentimental
31. Functions With Optional Parameters
32. Basic Regular Expression
33. Handle Keypress Events
34. Priority Queue
35. Adddelete Object Property
36. Example With Sets Part 1
36. Example With Sets Part 2
37. Concat
38. Flat And Flatmap

(Prerequisite) Introduction to React

00 Why You Should Learn React
01 React Introduction
02 Set up a Container
03 Generate a List
04 Add Items to the List
05 Clear Input Field
06 Remove a Task
Source Files

Project 3 – 10 Connect a React Dapp with NEAR contract

00 What is web3JS
01 Set up React dapp for NEAR
02 Define configuration for NEAR in React
03 Connect to NEAR keys and configuration in React
04 Connect to NEAR wallet and contract in React
05 Test connection to wallet and contract
Source Files

Project 3 – 11 Interact with NEAR contract in dapp

01 Handle sign in and sign out of wallet
02 Call NEAR functions in dapp
Source Files

Project 3 – 12 Show AssemblyScript contract contents in React

01 Build user interface to establish the wallet connection
02 Show state values from AssemblyScript contract in React
Source files

Project 3 – 13 Build a React frontend for AssemblyScript smart contract

01 Connect to contract before rendering dapp
02 Build a Course component
Source Files

Project 3 – 14 Render all data from AssemblyScript contract in dapp

01 Get all entries in AssemblyScript smart contract map
02 Get all entries from AssemblyScript in React
03 Render an AssemblyScript map in React DOM
04 Build a Courses component to render all entries
Source files

Project 3 – 15 Connect to AssemblyScript add function in React component

01 Build React component to add entry to AssemblyScript map
02 Connect to add entry function in React component
Source Files

Project 3 – 16 Expand smart contract for complex data

01 Build model to represent course
02 Update smart contract to use complex data model
03 Update AssemblyScript smart contract on NEAR
Source files

Project 3 – 17 Update React dapp with AssemblyScript data model

01 Update Courses component with complex data model
02 Update adding course with complex data model
Source files

Project 3 – 18 Enable purchase from AssemblyScript contract in React

01 Build AssemblyScript method for purchase
02 Build NEAR customer account to test purchase
03 Get more test NEAR token from faucet
04 Fund testnet wallet with NEAR CLI
Source files

Project 3 – 19 Test purchase with NEAR smart contract

01 Test purchase with NEAR smart contract
02 Use a React component for each object
03 Enable NEAR purchase in React dapp
04 Send NEAR with purchase in React dapp
Source files

Project 3 – 20 Expand model with more properties

01 Format each course in a Bootstrap card
02 Add image to model in AssemblyScript smart contract
03 Display image from AssemblyScript smart contract in React dapp
Source Files

Project 4 Preview – TypeScript Smart Contract and Dapp Development for NEAR

00 Project Preview
Source files

Project 4 – 01 Build a Hello World NEAR smart contract with TypeScript

01 Set Up NEAR Dapp Project with TypeScript
02 Build a Hello World TypeScript NEAR contract
Source files

Project 4 – 02 Deploy and test NEAR smart contract with NEAR CLI

01 Deploy contract to NEAR test network without logging in
02 Call a view function from NEAR contract without account
03 Call a paid function from NEAR contract with account
Source Files

Project 4 – 03 Build a vanilla JS dapp to connect to Hello World TS contract on

01 Build a vanilla JS dapp to connect to Hello World TS contract on NEAR
02 Run a vanilla JS dapp connected to Hello World TS contract on NEAR

Project 4 – 04 Build a React dapp to connect to Hello World TS contract on NEAR

01 Autogenerate NEAR React Dapp with TypeScript Contract
02 Deploy smart contract and run React NEAR dapp
Source Files

Project 5 Preview – Rust Smart Contract Development for NEAR Blockchain

00 Project preview
Source Files

Project 5 – 01 Build a Hello World NEAR smart contract with Rust

00 What is Rust
01 Set Up NEAR Smart Contract Project with Rust
02 Build a Hello World Rust smart contract
Source Files

Project 5 – 02a Rust programming fundamentals for NEAR smart contracts

01 Rust String vs str explained
02 What is a Rust struct with attributes
03 What is Rust Default trait
04 What is mut in Rust

Project 5 – 02b Install curl (for Mac or Linux Unix Terminals only)

01 Install curl

Project 5 – 03 Deploy and test NEAR Rust smart contract with NEAR CLI

00 Install Rust and Cargo on Mac (Bash and ZShell) or Windows
01 Deploy Rust smart contract test network without logging in
02 Call a view function from Rust smart contract without account
03 Call a paid function from Rust smart contract with account

Project 6 Preview – Build a Fundraising Rust Smart Contract w/ NEAR CLI + Cargo

00 Project preview

Project 6 – 01 Build Fundraising Rust Smart Contract

01 Set Up Fundraising Rust Smart Contract
02 Build a struct Default in Rust for smart contract
03 Implement Contract struct with init function
04 Deploy contract to NEAR test network without logging in

Project 6 – 02 Build getters and setters in Rust smart contract

01 Build a getter function
02 Build a setter function in Rust and call from contract owner

Project 6 – 03 Build a second file for Rust smart contract

01 Build a second file for Rust smart contract
02 Build a Rust function to get number of pledges stored
03 Get value from key in Rust map

Project 6 – 04 Build a payable Rust function to transfer cryptocurrency

01 Build a payable Rust function to transfer cryptocurrency
02 Call a payable function with dev account and attached deposit

07 – Mint NFTs With Pre-Deployed NEAR Contract

00 Project preview
01 Login and save NEAR account ID as env var with NEAR CLI
02 Mint NFTs With Pre-Deployed NEAR Contract
03 View NFT tokens owned by NEAR account with CLI and wallet

Project 8 Preview – Build an NFT NEAR contract with JavaScript

00 Project Preview

Project 8 – 01 Build NFT NEAR contract with JavaScript

01 Build NFT NEAR contract with JavaScript
02 Initialize NFT contract values in JS

Project 8 – 02 Build NEAR NFT minting functionality in JS

01 Define NFT minted token in JS contract
02 Build NEAR NFT minting functionality in JS
03 Mint NFTs on NEAR via Command Line
04 View NEAR NFT by token id in JS

Project 9 Preview – Build a cryptocurrency token NEAR contract with TypeScript

00 Project Preview

Project 9 – 01 Build fungible token contract with TS

01 Build fungible token contract with TS
02 Initialize crypto token contract values in TS

Project 9 – 02 Build view functions to get cryptocurrency token data

01 Get total supply of cryptocurrency in token contract
02 Get balance of account in token contract

Project 9 – 03 Transfer cryptocurrency tokens in fungible contract

01 Set up transfer cryptocurrency token function
02 Withdraw crypto token amount from sender account
03 Deposit crypto token amount to receiver account
04 Test transfer cryptocurrency tokens in fungible contract

Project 10 Preview – Build counter TypeScript smart contract for NEAR blockchain

00 Project Preview

Project 10 – 01 Build counter TypeScript smart contract for NEAR blockchain

01 Build counter TypeScript smart contract for NEAR blockchain
02 Build view function to get data from smart contract

Project 10 – 02 Build call functions in TypeScript smart contract

01 Build call function to increase value in smart contract
02 Build call function to decrease data in smart contract

Project 11 Preview – Build NFT Minting Dapp with JavaScript for NEAR Blockchain

00 Project preview
01 Build NFT NEAR contract with JavaScript
02 Initialize NFT minting JavaScript smart contract
03 How to deploy NEAR contract with new id

Project 11 – 02 Mint NFTs in JavaScript NEAR Smart Contract

01 Mint NFTs in JavaScript NEAR Smart Contract
02 View minted tokens by ID in NFT JS Contract

Project 11 – 03 Get all tokens in JS smart contract

01 Get total token count in JS smart contract
02 View all tokens in JS smart contract

Project 11 – 04 Set up NFT minting dapp with React JS

01 Set up NFT minting dapp with React JS

Project 11 – 05 Display all minted NFT tokens in dapp

01 Display all minted NFT tokens in dapp
02 Mint NFT tokens from dapp

Project 11 – 06 Add metadata to NFT smart contract

01 Add metadata to NFT token definition
02 Build a map to store NFT token metadata
03 Mint NFT token with metadata

Project 11 – 07 View NFT token with metadata

01 View NFT token metadata at id
02 View all token objects with metadata

Project 11 – 08 Display NFT token metadata in React dapp

01 Show NFT token metadata in React dapp
02 Style NFT tokens in dapp with Bootstrap
03 Style multiple tokens in Boostrap row

Project 11 – 09 Build dapp form to mint NFTs

01 Build dapp form to mint NFTs
02 Send NFT metadata to contract from dapp

Project 12 Preview – Build a chat dapp with React JS for NEAR

00 Project Preview

Project 12 – 01 Build a chat smart contract with TypeScript for NEAR

01 Set Up Chat Dapp With Create Near App
02 Add Message To Chat Smart Contract With Typescript
03 Get Latest Messages Added To Chat Contract
04 Store Multiple Properties In An Object
05 Count Values In Array In Typescript Smart Contract

Project 12 – 02 Show all messages from contract in React dapp

00 Set Up Blank React Dapp Template
01 Show All Messages From Contract In React Dapp
02 Format Messages In Dapp With React Bootstrap
03 Set Message Style Based On Sender

Project 12 – 03 Build a form to submit data to NEAR contract

01 Build A Form To Submit Data To Near Contract
02 Send Message From Dapp To Smart Contract
03 Show Total Number Of Messages

Project 13 Preview – Build a question + answer thread React dapp w/ NEAR

00 Project Preview

Project 13 – 01 Build a question and answer thread dapp with NEAR smart contract

01 Set Up Question And Answer Thread Dapp With Create Near App
02 Add Question To Iterable Unorderedmap
03 Enable User To Send Answer To A Question

Project 13 – 02 Get data from NEAR collection with TypeScript

01 Get Question Details By Id In Unorderedmap
02 Enable User To Get All Questions In Near Collection
Source Files

Project 13 – 03 Show all UnorderedMap questions from NEAR contract in dapp

01 Set Up Blank React Dapp Template
02 Show All Unorderedmap Questions From Near Contract In Dapp
Source Files

Project 13 – 04 Show all answers to question from smart contract in dapp

01 Show First Answer To Question From Near Contract In Dapp
02 Show All Answers To Question From Near Contract In Dapp
Source files

Project 13 – 05 Enable adding data to contract via dapp

01 Enable Adding A New Question To Contract Through Dapp
02 Enable Adding An Answer To Contract In Dapp
03 Show Sender Ids Of Questions And Answers From Contract In Dapp
Source Files

Project 14 Preview – Build a social media sharing dapp w/ TypeScript + React JS

00 Project preview
Source Files

Project 14 – 01 Set up social media dapp with Create Near App

01 Set up social media dapp with Create Near App
02 Define a social media post object in TypeScript smart contract
03 Add social media post to collection in TypeScript smart contract
04 Get all social media posts from collection in TypeScript smart contract
Source Files

Project 14 – 02 Store likes and tags in social media smart contract

01 Store likes in social media smart contract
02 Get liked posts by account id in NEAR smart contract
03 Get social media posts by tag in smart contract

Project 14 – 03 Get all social media contract posts in React dapp

01 Set up blank React social media dapp
02 Get all social media contract posts in React dapp
03 Define a post component in React dapp
04 Upload social media post to smart contract via React dapp
05 Handle post submission from dapp to smart contract

Project 14 – 04 Build likes and tags in social media dapp

01 Enable liking post in React JS dapp
02 Get posts by tag in React dapp
03 Submit tag to get data from smart contract

Project 15 Preview – Build automated tests for NEAR smart contracts with Ava JS

00 Project Preview
Source Files

Project 15 – 01 Test a greeting smart contract

01 Build Greeting Smart Contract Project
02 Run Tests For Greeting Smart Contract
Source Files

Project 15 – 02 Test a counter smart contract

01 Build Automated Test To Get State Variable
02 Automated Testing Of Call And View Methods In Smart Contract
03 Automated Testing Of Decrease State Variable Value
Source Files

Project 15 – 03 Test a chat smart contract

01 Call Contract Function Before Each Unit Test
02 Check Deep Equal With Ava JS
03 Test Total Message Count From Near Contract
Source Files

Project 15 – 04 Test a fungible token smart contract

01 Initialize Contract Before Each Unit Test
02 Test Total Supply Of Cryptocurrency Token
03 Test Balance Of Crypto Wallet Account
04 Test Token Transfer With Test Case
Source Files

Project 15 – 05 Test NFT NEAR smart contract with Ava JS

01 Initialize And Mint Nft Before Each Unit Test
02 Test View Minted Tokens With Ava Js
03 Build Unit Test To Show All Minted NFTs
Source Files

Project 15 – 06 Test question answer smart contract with automated unit tests

01 Build Unit Test To Check Adding Question
02 Test Answering Question With Ava JS
03 Test Get Entry By ID With Ava JS
04 Test Get All Entries In Map With Ava Js
Source Files

Project 15 – 07 Test social media smart contract

01 Add Post Before Each Unit Test Case
02 Test Adding Social Media Post To Smart Contract
03 Test Getting All Posts From Smart Contract
Source Files

Project 15 – 08 Test likes and tags in social media NEAR contract

01 Test Liking A Post In A Social Media Smart Contract
02 Test Getting My Liked Posts From Smart Contract
03 Test Getting Posts By Tag In Smart Contract
Source Files

Project 16 – Build a NEAR counter smart contract in Rust

00 Project Preview-
01 Set Up Counter Smart Contract In Rust
02 Build A View Method In Rust Smart Contract
03 Build A Call Method In Rust Smart Contract
Source Files

Project 17 – Build a NEAR counter smart contract in Rust

00 Project Preview
01 Set Up Near Chat Smart Contract In Rust
02 Build A View Method To Get Length Of Vec In Rust
04 Build A View Method To Get Vec In Rust
Source Files

Project 18 – Build a fungible token smart contract in Rust for NEAR

00 Project Preview
01 Set Up Near Fungible Token Smart Contract In Rust
02 Get Total Supply In Fungible Token Rust Contract
03 Get Balance Of Account In Fungible Token Rust Contract
04 Transfer Fungible Tokens In Rust Smart Contract
Source Files

Project 19 Preview – Build NFT smart contract in Rust for NEAR Blockchain

00 Project Preview
Source Files

Project 19 – 01 Build NFT smart contract in Rust

01 Set up token definition in Rust
02 Set up NFT smart contract in Rust
Source Files

Project 19 – 02 Build NFT functionality in Rust contract

01 Mint NFT in Rust contract
02 Get total NFTs minted in Rust contract
03 Get NFT token by id in Rust contract
Source Files

Project 20 – 01 Build a Q+A discussion Rust smart contract for NEAR

00 Project Preview
00 Define question and answer structures in Rust
01 Set up question and answer discussion Rust smart contract for NEAR Blockchain
02 Add question to iterable UnorderedMap in Rust
03 Enable user to add to a Vec in Rust

Project 20 – 02 Get data from NEAR collection with Rust

01 Get question details by id in UnorderedMap in Rust
02 Enable user to get all questions in NEAR collection in Rust

Project 21 Preview – Build a social networking Rust smart contract for NEAR

00 Project Preview
Source Files

Project 21 – 01 Set up social networking Rust contract

01 Define a social media post object in Rust smart contract
02 Set up social media smart contract in Rust
03 Add social media post to collection in Rust smart contract
04 Store posts by tag in Rust social contract
05 Get all social media posts from collection in Rust smart contract
Source Files

Project 21 – 02 Store likes and tags in social media Rust smart contract

00 Enable liking a post in Rust social media contract
01 Store my likes in Rust social media smart contract
02 Get liked posts by account id in Rust smart contract
03 Get social media posts by tag in Rust smart contract
Source Files

Project 22 Preview – Build automated tests for Rust smart contracts on NEAR

00 Project Preview
Source Files

Project 22 -01 Build simple unit tests for greeting Rust smart contract w/ Cargo

01 Test a greeting Rust contract
Source Files

Project 22 – 02 Build unit tests for counter Rust smart contract with Cargo

01 Build a unit test to get state of Rust contract
02 Build Cargo unit test to change state of Rust contract
Source Files

Project 22 – 03 Build unit tests for chatboard Rust smart contract with Cargo

01 Build a unit test to get total message length in Rust contract
02 Build a unit test to add entry to Vec in Rust contract
Source Files

Project 22 – 04 Build unit tests for fungible crypto token Rust smart contracts

01 Build a Cargo unit test to get total supply in Rust contract
02 Build a Cargo unit test to get balance of account in Rust contract
03 Build a Cargo unit test for transfer in Rust contract
Source Files