/near-puzzle

Zero-to-hero tutorial: https://www.near-sdk.io/zero-to-hero/basics/set-up-skeleton

Primary LanguageRust

Rust Smart Contract Template

Getting started

To get started with this template:

  1. Click the "Use this template" button to create a new repo based on this template

  2. Update line 2 of Cargo.toml with your project name

  3. Update line 4 of Cargo.toml with your project author names

  4. Set up the prerequisites

  5. Begin writing your smart contract in src/lib.rs

  6. Test the contract

    cargo test -- --nocapture

  7. Build the contract

    RUSTFLAGS='-C link-arg=-s' cargo build --target wasm32-unknown-unknown --release

Get more info at: