전제 조건
To develop a smart contract you will need to install Node.js.
npm install -g yarn
을 사용하여 yarn을 설치하는 것이 좋습니다. :::Rust
If you prefer to use Rust as your main language, then you need to install rustup
as well.
Follow the instructions bellow to setup Rust, also adding the toolchain to compiling Rust to Web Assembly (wasm), 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