diff --git a/.github/workflows/cosmwasm-ci.yml b/.github/workflows/cosmwasm-ci.yml index ff7e188..8d7bac6 100644 --- a/.github/workflows/cosmwasm-ci.yml +++ b/.github/workflows/cosmwasm-ci.yml @@ -33,9 +33,8 @@ jobs: restore-keys: ${{ runner.os }}-cargo- - name: Install Rust - uses: dtolnay/rust-toolchain@master + uses: dtolnay/rust-toolchain@1.69.0 with: - toolchain: 1.69.0 target: wasm32-unknown-unknown components: clippy diff --git a/README copy.md b/README copy.md deleted file mode 100644 index a065b39..0000000 --- a/README copy.md +++ /dev/null @@ -1,30 +0,0 @@ -# Escrow - -This is a simple single-use escrow contract. It creates a contract that can hold some -native tokens and gives the power to an arbiter to release them to a pre-defined -beneficiary. They can release all tokens, or only a fraction. If an optional -timeout is reached, the tokens can no longer be released, rather they can only -be returned to the original funder. Tokens can be added to the contract at any -time without causing any errors, or losing access to them. - -This contract is mainly considered as a simple tutorial example. In the real -world, you would probably want one contract to manage many escrows and allow -some global configuration options on it. It is generally simpler to rely on -some well-known address for handling all escrows securely than checking each -deployed escrow is using the proper wasm code. - -As of v0.2.0, this was rebuilt from -[`cosmwasm-template`](https://github.com/confio/cosmwasm-template), -which is the recommended way to create any contracts. - -## Using this project - -If you want to get acquainted more with this contract, you should check out -[Developing](./Developing.md), which explains more on how to run tests and develop code. -[Publishing](./Publishing.md) contains useful information on how to publish your contract -to the world, once you are ready to deploy it on a running blockchain. And -[Importing](./Importing.md) contains information about pulling in other contracts or crates -that have been published. - -But more than anything, there is an [online tutorial](https://docs.cosmwasm.com/tutorials/hijack-escrow/hack-contract#a-walk-through-of-the-escrow-contract), -which leads you step-by-step on how to modify this particular contract. diff --git a/README.md b/README.md index 546e34c..eada5f8 100644 --- a/README.md +++ b/README.md @@ -2,15 +2,15 @@ Rust is commonly used for writing Smart Contracts. [WHY?](https://use.ink/why-rust-for-smart-contracts/) -The follow explores CI pipeline support for Rust projects that use [CosmWasm](https://github.com/CosmWasm/cosmwasm#cosmwasm) and thus compile to Web Assembly (wasm). +The follow project explores CI pipeline support for Rust projects that use [CosmWasm](https://github.com/CosmWasm/cosmwasm#cosmwasm) and compile to Web Assembly (wasm). ## Pipeline Phases ### Caching -Much of the tooling, crates, indexing, etc. for a build can be cached. +Much of the tooling, crates, registry indexing, and build outputs can be cached to save significant time on builds. -The following is reccomened by the [GitHub Cache Action](https://github.com/actions/cache/tree/main#cache-action) for Rust/Cargo projects. +The following is recommended by the [GitHub Cache Action](https://github.com/actions/cache/tree/main#cache-action) for Rust/Cargo projects. ```yml - name: Cache @@ -30,13 +30,12 @@ The following is reccomened by the [GitHub Cache Action](https://github.com/acti ### Install Rust -Using toolchain plugin, install `Rust v1.69` including: `rustc, cargo, rust-std, clippy` and target `wasm32-unknown-unknown` +Using the `rust-toolchain` plugin, install `Rust v1.69.0` including: `rustc, cargo, rust-std, clippy` and target `wasm32-unknown-unknown` ```yml - name: Install Rust - uses: dtolnay/rust-toolchain@master + uses: dtolnay/rust-toolchain@1.69.0 with: - toolchain: 1.69.0 target: wasm32-unknown-unknown components: clippy ```