Skip to content

Commit

Permalink
fix: cosmwasm ucs01 guide typos
Browse files Browse the repository at this point in the history
  • Loading branch information
o-az committed Oct 18, 2024
1 parent b5af9c3 commit 2ea4431
Showing 1 changed file with 8 additions and 21 deletions.
29 changes: 8 additions & 21 deletions docs/src/content/docs/integrations/ucs01/cosmwasm/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,12 @@ curl --location \\
title='Install uniond'
/>

Make `uniond` executable

```sh frame="none"
chmod +x uniond
```

Install Rust

```sh frame="none"
Expand Down Expand Up @@ -103,25 +109,6 @@ opt-level = "z"
strip = true
```

Install `uniond`

<Code
code={
`
# determine your system architecture
RELEASE="uniond-release-$(uname -m)-linux"
# get version we want to install
VERSION="${chainVersion({chainId: 'union-testnet-8'}).current}"
curl --location \\
https://github.com/unionlabs/union/releases/download/$VERSION/$RELEASE \\
--output uniond
`
}
lang='sh'
title='Install uniond'
/>

Our end directory structure will look like this:

<FileTree>
Expand Down Expand Up @@ -252,7 +239,7 @@ pub fn execute_transfer(
You will be using the same RPC url across examples, so good to export it to an environment variable:

```sh frame="none"
export RPC_URL=" https://rpc.testnet-8.union.build:443"
export RPC_URL="https://rpc.testnet-8.union.build:443"
```

### Building the Contract
Expand Down Expand Up @@ -305,7 +292,7 @@ curl https://rest.testnet-8.union.build/cosmos/bank/v1beta1/balances/$WALLET_ADD
```

```sh title="Deploy the contract"
tx wasm store ./target/wasm32-unknown-unknown/release/example_ucs01_cosmwasm.wasm \
uniond tx wasm store ./target/wasm32-unknown-unknown/release/example_ucs01_cosmwasm.wasm \
--from $WALLET_NAME \
--gas auto \
--gas-adjustment 1.4 \
Expand Down

0 comments on commit 2ea4431

Please sign in to comment.