Rust Smart Contracts on NEAR β Lesson 10 π¦
HashMap
What should we cover next? Drop it in the commentsβοΈ
Need fast key β value lookups? Use HashMap. In this lesson we model DeFi/NFT data, show safe updates, and when to switch to NEAR SDKβs persistent mapsπ₯
βοΈ What youβll learn:
π΄ Basics β HashMap<K, V>, new(), insert(), get(), contains_key()
π΄ Entry API β entry().or_insert() for clean increments/updates
π΄ Mutation + Option β remove(), retain(), unwrap_or, if let, ?
π΄ Safety β chunk work for gas, avoid unbounded loops; HashMap (in-call) vs UnorderedMap/LookupMap (persisted)
πΊ Watch the lesson here
π¨βπ» Code examples
π Stay tuned β more lessons on efficient and secure NEAR smart contract development are on the way.
π¦ Channel | Chat | LinkTree
HashMap
What should we cover next? Drop it in the comments
Need fast key β value lookups? Use HashMap. In this lesson we model DeFi/NFT data, show safe updates, and when to switch to NEAR SDKβs persistent maps
Please open Telegram to view this post
VIEW IN TELEGRAM
π3
Donβt break walls β break barriers βοΈ
NEAR Docs: short, clear, to the point. Start in minutes.
β‘οΈ https://docs.near.org/
π¦ Channel | Chat | LinkTree
NEAR Docs: short, clear, to the point. Start in minutes.
Please open Telegram to view this post
VIEW IN TELEGRAM
β€7π1
Rust Smart Contracts on NEAR β The Last Lesson π¦
Vectors
Need ordered, growable lists? Use Vec<T>. In this lesson we model real dApp data, walk through clean update patterns, and note when to switch to NEAR SDKβs persistent collectionsπ₯
βοΈ What youβll learn:
π΄ Basics β Vec<T>, Vec::new(), vec![], push(), indexing, .len()
π΄ Advanced ops β pop(), remove(i), insert(i, v), retain(), position(), sum()
π΄ Safety & perf β preallocate with with_capacity(), avoid unbounded loops, chunk work for gas; Vec (in-call) vs near_sdk::collections::Vector (persisted)
πΊ Watch the lesson here
π¨βπ» Code examples
π Final episode here, not the end of the journey: a new playlist launches soon.
π¦ Channel | Chat | LinkTree
Vectors
Need ordered, growable lists? Use Vec<T>. In this lesson we model real dApp data, walk through clean update patterns, and note when to switch to NEAR SDKβs persistent collections
Please open Telegram to view this post
VIEW IN TELEGRAM
π2
[POLL]: If you had a chat agent inside your dApp today, what would you let users do first? π
Anonymous Poll
48%
Onboarding (create / fund / first tx)
48%
Swap / Bridge
17%
NFT mint / list
9%
DAO vote
30%
Receipts / History (explain past actions)
22%
I wouldnβt use an agent
4%
Other
π₯°1π1
Tell Us What Worked (and What Didnβt) π¦
Weβre collecting feedback to shape the next series: Beginner (NEAR SDK, accounts, tokens, testing, and more)π―
How to help
π’ Fill the feedback form
π’ Tell us what was clear, what wasnβt, and what topics you want next
πΊ Check out the playlist here
β³ Deadline: 6.09, 23:59 CET
π To help us raise the bar, weβll reward the three most valuable feedback contributors: 1st β 15 $NEAR, 2nd β 10 $NEAR, 3rd β 5 $NEAR
π¦ Channel | Chat | LinkTree
Weβre collecting feedback to shape the next series: Beginner (NEAR SDK, accounts, tokens, testing, and more)
How to help
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯4
Intent β plan β one confirm β tx. Drop a chat agent into your dApp and let users swap, stake, or vote without bridge spaghetti.
Please open Telegram to view this post
VIEW IN TELEGRAM
π5
When devs cook, DAOs eat well π½
NEAR Treasury β Payments UX upgrade:
π· Filters: Creation Date, Status, Recipient, Token, Created by, Approver, My Vote Status
π· Keyword search: ID, Title, Summary
π· Export: filtered results to CSV
Same experience is already live on Delegations. Less scrolling, faster reviewsπ―
π₯ Payments overview
β‘οΈ Try NEAR Treasury now
π¦ Channel | Chat | LinkTree
NEAR Treasury β Payments UX upgrade:
Same experience is already live on Delegations. Less scrolling, faster reviews
Please open Telegram to view this post
VIEW IN TELEGRAM
π6
Forwarded from NEAR Protocol Announcements Official
Join us for the next NEAR Town Hall featuring:
β’ Illia Polosukhin
β’ More Markets
β’ Sproutly
β’ Omega Network
β’ Valhalla Security
Please open Telegram to view this post
VIEW IN TELEGRAM
Media is too big
VIEW IN TELEGRAM
POV: Ryan Gosling watched our playlist andβ¦
... filled out the feedback form. You in? π
Literally me. Literally now.Feedback form .
π¦ Channel | Chat | LinkTree
Literally me. Literally now.
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯11
NEAR x Aptos x Shelby π«°
Chain abstraction, leveled up: one-click swaps to Aptos via NEAR Intents (BTC/ETH/XRPβ‘οΈ APT/USDT) + decentralized hot storage for AI & real-time apps with Shelby π€
π Read more on the blog
π¦ Channel | Chat | LinkTree
Chain abstraction, leveled up: one-click swaps to Aptos via NEAR Intents (BTC/ETH/XRP
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯9
You got it right, the deadline has been extended until 8.09 23:59 CET, which means you still have time to watch (if you haven't done so before), fill out the form and get your reward.
The entire playlist will take you an hour, this is a good opportunity to refresh your knowledge of Rust Smart Contracts
Your quality feedback = better lessons. Thanks ahead of time
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯10
[POLL]: Which metric best shows your NEAR project launch succeeded? π
Anonymous Poll
53%
Active users
13%
Conversion
43%
Retention
47%
On-chain usage
60%
Revenue
27%
Organic mentions
3%
Other
Simple DAO Frontend β shipped π¨βπ»
Weβre open-sourcing a lightweight DAO frontend for NEAR. It focuses on the basics β creating proposals and voting β and is easy to deploy on GitHub Pages. Ideal for hackathons and quick PoCs.
π GitHub
Weβd love feedback and contributions!β€οΈ
π¦ Channel | Chat | LinkTree
Weβre open-sourcing a lightweight DAO frontend for NEAR. It focuses on the basics β creating proposals and voting β and is easy to deploy on GitHub Pages. Ideal for hackathons and quick PoCs.
Weβd love feedback and contributions!
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯9β€2
Found and rewarded π€
The feedback was so good we added two more winnersπ―
π Winners:
βͺοΈ @svntax_dev (15 NEAR)
βͺοΈ @dr3y_x (10 NEAR)
βͺοΈ @foxreymann (5 NEAR)
βͺοΈ @crocps2 (2.5 NEAR)
βͺοΈ @musashi_hp (2.5 NEAR)
Thanks to all participants! Your notes are already in our update planβ€οΈ
π¦ Channel | Chat | LinkTree
The feedback was so good we added two more winners
Thanks to all participants! Your notes are already in our update plan
Please open Telegram to view this post
VIEW IN TELEGRAM
π7π₯4
New RFP from the NEAR Infrastructure Committee β¨
TEE-secured Price Oracle
β³ Deadline: 24 days left
The goal: build and maintain a Price Oracle on NEAR powered by TEEs rather than crypto-economic security.
Beyond serving as critical infra for the ecosystem, this oracle will also be a real-world product leveraging the Shade Agent Frameworkπ
βοΈ Full TEE-secured Oracle RFP
π¦ Channel | Chat | LinkTree
TEE-secured Price Oracle
The goal: build and maintain a Price Oracle on NEAR powered by TEEs rather than crypto-economic security.
Beyond serving as critical infra for the ecosystem, this oracle will also be a real-world product leveraging the Shade Agent Framework
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯5β€2π€1
Token launches should feel like Verstappen π
TU TU TU DU and claimedβοΈ
Thatβs why weβre funding a Fungible Tokens Claiming Service that can hit 100 tx/s, survive heavy load, and be ready for any launch.
Stack: Rust or TypeScript
Deliverables: API + benchmarks + docs
Reward: 1,000 $NEAR
β³ 32 days left β claim it before someone else does!
π Details & Submission
π¦ Channel | Chat | LinkTree
TU TU TU DU and claimed
Thatβs why weβre funding a Fungible Tokens Claiming Service that can hit 100 tx/s, survive heavy load, and be ready for any launch.
Stack: Rust or TypeScript
Deliverables: API + benchmarks + docs
Reward: 1,000 $NEAR
Please open Telegram to view this post
VIEW IN TELEGRAM
β€6
Kotlin builders, this oneβs for you π
Weβre looking for someone to ship an automated Kotlin RPC client for NEAR β a missing piece for mobile developmentπ±
π Bounty: 6,000 USDC
β³ Deadline: 27 days left
π Details & Submission
Expect codegen, packages, automation, and docs β open-sourced for the communityπ
π¦ Channel | Chat | LinkTree
Weβre looking for someone to ship an automated Kotlin RPC client for NEAR β a missing piece for mobile development
Expect codegen, packages, automation, and docs β open-sourced for the community
Please open Telegram to view this post
VIEW IN TELEGRAM
π6π₯2
Break the NEAR Intents, get paid πͺ
Targets: theft/loss, unauthorized/manipulated tx, price/fee/balance bugs, execution-flow or crypto flaws in the NEAR Intents Verifierπ―
βͺοΈ Rewards up to $500k
βͺοΈ Test on private testnet only
βͺοΈ Report via HackenProof within 24h of discovery
βͺοΈ Payouts may be in $NEAR (1y vest)
π Docs: Intents + cargo
π Details & Submission
Good huntingπ¨βπ»
π¦ Channel | Chat | LinkTree
Targets: theft/loss, unauthorized/manipulated tx, price/fee/balance bugs, execution-flow or crypto flaws in the NEAR Intents Verifier
Good hunting
Please open Telegram to view this post
VIEW IN TELEGRAM
π₯8
Swift builders, this oneβs for you π
Weβre funding the automation of a type-safe Swift RPC client for NEAR β a missing piece for native iOS developmentπ±
π Bounty: 6,000 USDC
β³ Deadline: 25 days left
π Details & Submission
Expect codegen, Swift packages, CI/CD automation, and docs β fully open-sourced for the communityπ
π¦ Channel | Chat | LinkTree
Weβre funding the automation of a type-safe Swift RPC client for NEAR β a missing piece for native iOS development
Expect codegen, Swift packages, CI/CD automation, and docs β fully open-sourced for the community
Please open Telegram to view this post
VIEW IN TELEGRAM
π6
Markets run on attention β and right now, memes run the show
Please open Telegram to view this post
VIEW IN TELEGRAM
β€7π2π₯°1π1
Your next 20 minutes, well spent βοΈ
Ship a NEAR + Next.js dApp with MetaMask & NEAR Wallet β step by step. Try itπ
πΊ dApp in 20 minutes
π¨βπ» Code examples
Stuck anywhere? Ask in chat β builders help buildersπ€
π¦ Channel | Chat | LinkTree
Ship a NEAR + Next.js dApp with MetaMask & NEAR Wallet β step by step. Try it
Stuck anywhere? Ask in chat β builders help builders
Please open Telegram to view this post
VIEW IN TELEGRAM
π6