diff --git a/README.md b/README.md index 46be4eb..e44062c 100644 --- a/README.md +++ b/README.md @@ -24,9 +24,15 @@ See `devnet.snippets.sh` for list of available endpoints for user testing. ### Setting up dev environment (project development bootstrap) + how to build (and upgrade) +<<<<<<< HEAD - Uses `multiversx-sc-* 0.47.5` (In v2.0.0, we used 0.47.8) SDK libs (see Cargo.toml) - Building requires minimum **mxpy 9.5.1** (In v2.0.0, we used mxpy 9.5.1). Check version using `mxpy --version` - To build the project, requires minimum Rust version `1.78.0-nightly` (In v2.0.0, we used 1.78.0-nightly). Check your Rust version by running `rustc --version`. To update your Rust, run `rustup update`. To set to nightly run `rustup default nightly`. Note that `mxpy deps install rust --overwrite` also brings in it's own compatible rust version so running `rustup default nightly` might have a higher rust version than what is used via `mxpy deps install rust --overwrite`. +======= +- Uses `multiversx-sc-* 0.47.8` (In v1.0.0, we used 0.47.8) SDK libs (see Cargo.toml) +- Building requires minimum **mxpy 9.5.1** (In v1.0.0, we used mxpy 9.5.1). Check version using `mxpy --version` +- To build the project, requires minimum Rust version `1.78.0-nightly` (In v1.0.0, we used 1.78.0-nightly). Check your Rust version by running `rustc --version`. To update your Rust, run `rustup update`. To set to nightly run `rustup default nightly`. Note that `mxpy deps install rust --overwrite` also brings in it's own compatible rust version so running `rustup default nightly` might have a higher rust version than what is used via `mxpy deps install rust --overwrite`. +>>>>>>> main - After you make sure you have the minimum Rust version you can then begin development. After you clone repo and before you run build, deploy or run the tests - follow these steps (most likely only needed the 1st time) - [Upgrades] Note that when we upgrade smart contract, we should again follow the steps below too as lib version may have changed (but for upgrade I skipped the rustup default nightly cmd and did the others) diff --git a/interaction/devnet.snippets.sh b/interaction/devnet.snippets.sh index e7f0442..9a1f9cf 100644 --- a/interaction/devnet.snippets.sh +++ b/interaction/devnet.snippets.sh @@ -293,4 +293,4 @@ initiateBond() { --proxy ${PROXY} \ --chain ${CHAIN_ID} \ --send || return -} \ No newline at end of file +} diff --git a/interaction/mainnet.snippets.sh b/interaction/mainnet.snippets.sh index c70b6b3..8cc7c66 100644 --- a/interaction/mainnet.snippets.sh +++ b/interaction/mainnet.snippets.sh @@ -307,4 +307,4 @@ initiateBondMainnet() { --ledger \ --ledger-address-index 0 \ --send || return -} \ No newline at end of file +}