Skip to content

Latest commit

 

History

History
30 lines (23 loc) · 689 Bytes

README.md

File metadata and controls

30 lines (23 loc) · 689 Bytes

NEAR Smart Contract Boilerplate

  • Basic smart contract structure
  • Jest sim tests
  • Build local/docker binaries
  • Build & deploy scripts

HOW TO USE

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

BUILD DOCKER ON M1:

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