diff --git a/docs/videos/collections-u128-etc.md b/docs/videos/collections-u128-etc.md index c42a10b23d8..1f411dc3f91 100644 --- a/docs/videos/collections-u128-etc.md +++ b/docs/videos/collections-u128-etc.md @@ -1,33 +1,44 @@ --- id: collections-u128-etc -title: Miscellaneous video concepts +title: Miscellaneous video concept sidebar_label: Misc --- This page contains videos that explore miscellaneous concepts of smart contract development on NEAR. -## StackOverflow question on NEAR Collections, and dealing with large numbers - - - -### Content overview +## Cross-contract calls in Rust -We address this question on StackOverflow: + -https://stackoverflow.com/questions/64378144/why-cant-i-read-this-hashmap-in-a-near-contract/64438703#64438703 - -Specifically, we talk about why you'll likely want to use NEAR Collections instead of `HashMap` when using Rust. - -See a list of the available collections here: +## StackOverflow question on NEAR Collections, and dealing with large numbers -https://docs.rs/near-sdk/2.0.0/near_sdk/collections/index.html + -We discuss [`U128`](https://docs.rs/near-sdk/2.0.0/near_sdk/json_types/struct.U128.html) and the difference between the (lowercase) `u128`, and why JSON cannot handle very large numbers. +Here we address [this question](https://stackoverflow.com/questions/64378144/why-cant-i-read-this-hashmap-in-a-near-contract/64438703#64438703) on StackOverflow and specifically, we'll talk about why you'll likely want to use NEAR Collections instead of `HashMap` when using Rust. See a list of the available collections [here](https://docs.rs/near-sdk/2.0.0/near_sdk/collections/index.html). In this video we discuss: -This video also walks through how to interact with a Rust smart contract using NEAR CLI. We demonstrate logging, `view` and `call` methods, unit tests, the benefit of creating subaccounts, and more. +- [`U128`](https://docs.rs/near-sdk/2.0.0/near_sdk/json_types/struct.U128.html) and the difference between the (lowercase) `u128` +- why JSON cannot handle very large numbers +- how to interact with a Rust smart contract using NEAR CLI +- demonstrate logging, `view` and `call` methods, and unit tests +- benefits of creating subaccounts -Lastly, we walk through the process of writing, building, and deploying a Rust smart contract. Then we'll discover why NEAR subaccounts are useful when you may need to make breaking changes to state. +We will also walk through the process of writing, building, and deploying a Rust smart contract and then we'll discover why NEAR subaccounts are useful when you may need to make breaking changes to state. >Got a question? - Ask it on StackOverflow! + Ask it on StackOverflow! +