From 3115a09042673e8a99a1c24d709c09761caee359 Mon Sep 17 00:00:00 2001 From: akorchyn Date: Thu, 30 Jan 2025 15:54:20 +0200 Subject: [PATCH] added link to the cargo-near-new-project-template and remove not-actual information --- README.md | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index be5022f74..4c55899b8 100644 --- a/README.md +++ b/README.md @@ -63,6 +63,11 @@ impl StatusMessage { } ``` +## Github Codespaces template +* Quick start your project with the [template repository](https://github.com/near/cargo-near-new-project-template) generated by `cargo near new` command +* The associated [template repository](https://github.com/near/cargo-near-new-project-template)'s README contains a `Code > Codespaces > Create codespace on main` screenshot. +* Clicking the button will result in using [Github Codespaces devcontainer](https://docs.github.com/en/codespaces). The containers allow you to start building without the need to install any dependencies on your machine and provide the actual version. + ## Features ### Unit-testable @@ -288,12 +293,6 @@ cargo near deploy Builds the smart contract (equivalent to `cargo near build`) and guides you to deploy it to the blockchain. -### Using cargo build - -```sh -RUSTFLAGS='-C link-arg=-s' cargo build --target wasm32-unknown-unknown --release -``` - ## Building with reproducible builds Since WebAssembly compiler includes a bunch of debug information into the binary, the resulting binary might be