Useful links

https://use.ink

Install Rust

https://doc.rust-lang.org/cargo/getting-started/installation.html

OpenBrush

https://github.com/Brushfam/openbrush-contracts

Latest version of Sol2ink

https://github.com/Brushfam/sol2ink/releases/tag/v2.1.0

Get contracts node

cargo install contracts-node --git https://github.com/paritytech/substrate-contracts-node.git

Get cargo-contract

cargo install cargo-contract --version 2.2.1

create a template contract

cargo contract new contract

install nightly toolchain of Rust

rustup toolchain install nightly-2023-01-01

set nightly as default toolchain

rustup default nightly-2023-01-01

explore Patron (smart contract deployment and verification)

https://github.com/Brushfam/patron-backend/blob/master/docs/cli.md

Create Deploy.toml file in the root (created)

  • Here we specify cargo-contract version (2.2.1) and rustc version (1.68.0)