Skip to content

nearvndev/rust-template

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Rust 76.7%
  • Shell 15.3%
  • Batchfile 8.0%