{"repo":"near/near-sdk-rs","free":true,"listed":false,"github":"https://github.com/near/near-sdk-rs","clone":"git clone https://github.com/near/near-sdk-rs.git","description":"Rust library for writing NEAR smart contracts","language":"Rust","stars":514,"topics":["blockchain","nearprotocol","rust","sdk","wasm"],"license":"Apache-2.0","category":"api-integrations-sdks","readme_excerpt":"near-sdk Rust library for writing NEAR smart contracts. Previously known as near-bindgen . Minimum supported Rust version (MSRV) is 1.93.0 Features Pre-requisites Writing Rust Contract Building Rust Contract Reference Documentation Contributing Release notes Release notes and unreleased changes can be found in the CHANGELOG Example Wrap a struct in #[near] and it generates a smart contract compatible with the NEAR blockchain: For more information, see the Attribute Macro near documentation. Github Codespaces template + an online ide Quick start your project with the template repository generated by cargo near new command The associated template repository's README contains a Code Codespaces Create codespace on main screenshot. Clicking the button will result in using Github Codespaces devcontainer. The containers allow you to start building without the need to install any dependencies on your machine and provide the actual version. Features Unit-testable Writing unit tests is easy with near-sdk : Run unit test the usual way: Asynchronous cross-contract calls Asynchronous cross-contract calls allow parallel execution of multiple contracts in parallel with subsequent aggregation on another contract. env exposes the following methods: promise create -- schedules an execution of a function on some contract; promise then -- attaches the callback back to the current contract once the function is executed; promise and -- combinator, allows waiting on several promises simultaneously,","default_branch":null,"files":null,"tree":[],"storefront":"/r/near","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/near/near-sdk-rs/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}