Build a Fundraising Rust Smart Contract with NEAR CLI and Cargo

14 casts | 1:25:32 for the total course

Blockchain 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 blockchainnot 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 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 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

  • 1. 00 Project preview
    • 00 Project preview | Build a Fundraising Rust Smart Contract with NEAR CLI and Cargo

      4:07

  • 2. 00f Install curl (for Mac or Linux Unix Terminals only)
    • 01 Install curl

      3:32

  • 3. 00g (Prerequisite) Install Rust and Cargo
    • 00 Install Rust and Cargo on Mac (Bash and ZShell) or Windows

      10:16

  • 4. 01 Build Fundraising Rust Smart Contract
    • 01 Set Up Fundraising Rust Smart Contract

      6:10

    • 02 Build a struct Default in Rust for smart contract

      3:10

    • 03 Implement Contract struct with init function

      6:53

    • 04 Deploy contract to NEAR test network without logging in

      5:13

  • 5. 02 Build getters and setters in Rust smart contract
    • 01 Build a getter function

      5:12

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

      6:11

  • 6. 03 Build a second file for Rust smart contract
    • 01 Build a second file for Rust smart contract

      7:21

    • 02 Build a Rust function to get number of pledges stored

      3:47

    • 03 Get value from key in Rust map

      5:23

  • 7. 04 Build a payable Rust function to transfer cryptocurrency
    • 01 Build a payable Rust function to transfer cryptocurrency

      10:10

    • 02 Call a payable function with dev account and attached deposit

      8:07

Created By

Over 14 years, Mammoth Interactive has built a global student community with 8+ million courses sold. Mammoth Interactive has released over 1,000 courses and 5,000 hours of video content.

US$19.98

  US$199.00

Buy Now (US$19.98) ➔

Lifetime Access
30-Day Money-Back Guarantee.

Reviews
No reviews yet