Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: incorrect command usage and errors #33

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ export default function Page(): JSX.Element {
```
{% endcode %}

This will give a a button that initiates a meta account using social login. Click the \`CONNECT\` button and try it out!
This will give a button that initiates a meta account using social login. Click the \`CONNECT\` button and try it out!

<figure><img src="../../.gitbook/assets/image (4).png" alt=""><figcaption></figcaption></figure>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ Gas prices are typically denominated in the native token of the blockchain. You

You'll need this URL to submit transactions and query data. Testnets often provide RPC endpoints that you can use. These can be found in the XION's testnet's documentation or developer resources.

_Remember that these values are specific to the XION testnet you''ll be deploying to._
_Remember that these values are specific to the XION testnet you'll be deploying to._

## Interacting with the Deployed Contract

Expand Down Expand Up @@ -128,7 +128,7 @@ sudo docker run --rm -v "$(pwd)":/code \
cosmwasm/rust-optimizer:0.12.6
```

Binary file will be at `artifacts/my_first_contract.wasm` folder and its size will be about `130K`, which is more smaller than when only RUTFLAGS was used.
Binary file will be at `artifacts/my_first_contract.wasm` folder and its size will be about `130K`, which is more smaller than when only RUSTFLAGS was used.

#### Store to Xion Testnet chain[​](https://docs.osmosis.zone/cosmwasm/testnet/cosmwasm-deployment/#store-to-osmosis-testnet-chain) <a href="#store-to-osmosis-testnet-chain" id="store-to-osmosis-testnet-chain"></a>

Expand Down Expand Up @@ -221,7 +221,7 @@ xiond tx wasm instantiate $CODE_ID "$INIT" \

If you have succeeded in instantiating the contract, you can search for output `txhash` in [Xion Explorer](https://pingpub.xion-testnet-1.burnt.com/) to verify your deployment.

Get the contract address using the command following:
Get the contract address using the following command:

```
CONTRACT_ADDR=$(xiond query wasm list-contract-by-code $CODE_ID --output json | jq -r '.contracts[0]')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ Provided is a step-by-step instructions for installing Rust on both macOS and Wi

[`https://rustup.rs/`](https://rustup.rs/)

2. Run the downloaded ‘r`ustup-init.exe` file. This will open a Command Prompt-like interface.
2. Run the downloaded `rustup-init.exe` file. This will open a Command Prompt-like interface.
3. Follow the on-screen instructions:

Press **Enter** to start the installation.
Expand Down Expand Up @@ -140,7 +140,7 @@ Run the following to confirm the testnet is running:
$ xiond query bank total
```

Which will respond with the something resembling the following when the chain is operational
Which will respond with something resembling the following when the chain is operational

```
pagination:
Expand Down
8 changes: 4 additions & 4 deletions developers/featured-guides/setup-cosmwasm-ide.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Visual Studio Code, commonly referred to as VS Code, stands as a widely embraced

### _For macOS:_

_For additional setup information for macOs, see_ [_Visual Studio Code on macOS_](https://code.visualstudio.com/docs/setup/mac)_._
_For additional setup information for macOS, see_ [_Visual Studio Code on macOS_](https://code.visualstudio.com/docs/setup/mac)_._

1. Download Visual Studio Code for macOS.
2. Open the browser's download list and locate the downloaded app or archive.
Expand All @@ -34,7 +34,7 @@ _For additional setup information for Windows, see_ [_Visual Studio Code on Wind
1. Download the Visual Studio Code installer for Windows.
2. Once it is downloaded, run the installer (VSCodeUserSetup-{version}.exe).

## Configure v. Code
## Configure VS Code

To activate Rust support within VS Code, it is essential to install a couple of extensions, specifically rust-analyzer and CodeLLDB. These extensions furnish crucial features such as syntax highlighting, code completion, debugging tools, and other indispensable functionalities.

Expand Down Expand Up @@ -81,11 +81,11 @@ rustc main.rs
To execute the program, use the following command:

```
./main
.\main
```

{% hint style="info" %}
on Windows, this command may be **.**`/main.exe.`
on Windows, this command may be **.**`.\main.exe.`
{% endhint %}

The output of the program should be: `Hello, XION!`
Expand Down