- Basic smart contract structure
- Jest sim tests
- Build local/docker binaries
- Build & deploy scripts
Create new repo && download this boilerplate to target folder:
wget https://github.com/zavodil/near-contract/archive/refs/heads/main.zip -O "near-contract-master.zip" && unzip ./"near-contract-master.zip" -d $PWD && rm ./"near-contract-master.zip" && mv -v $PWD/near-contract-main/* $PWD && rm -rf near-contract-main
Prepare docker
clone https://github.com/near/near-sdk-rs/pull/720/files
./build_docker_m1.sh
Run docker buildx contract-builder
./build_docker_m1.sh