Skip to content

zavodil/near-contract

Repository files navigation

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

About

Empty contract with jest sim tests

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published