Technical requirements
Here’s what you will need to get started with the NEAR blockchain.
Prerequisites
To develop a smart contract, you will need to install Node.js. If you want to use Rust as your main language, then you’ll need to install rustup
as well.
You’ll also need the following:
- Node.js: Download and install Node.js (https://nodejs.org/en/download/)
- Rust and Wasm:
- Follow these instructions for setting up Rust: https://doc.rust-lang.org/book/ch01-01-installation.html.
- Then, add the
wasm32-unknown-unknown
toolchain, which enables compiling Rust to WebAssembly (Wasm) –
https://webassembly.org/– the low-level language used by the NEAR platform:# Installing Rust in Linux and MacOS curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh source $HOME/.cargo/env # Add the wasm toolchain rustup target add wasm32-unknown-unknown
Next, we must set up the environment with the required installations.