Skip to content

Commit

Permalink
adding update about support for Weights v2
Browse files Browse the repository at this point in the history
  • Loading branch information
andabak committed Feb 14, 2023
1 parent abda859 commit e846b38
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions docs/build/builder-guides/hacking/hack_wasm.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,27 @@ sidebar_position: 2

Read the linked chapters or use tutorials to be able to answer following questions:

## Setup ink! Environment [chapter](/docs/build/environment/ink_environment.md)
## Setup ink! Environment [Chapter](/docs/build/environment/ink_environment.md)

* Which cargo version are you using?
* Run `rustup show` command.
* Run `cargo contract -V`. Is your cargo contract version higher than 1.5.0?
* Which rust toolchain do you need to use to be able to compile ink! smart contrats? (nightly or stable)? How do you manage this choice?

## Test Tokens [chapter](/docs/build/environment/faucet.md)
## Test Tokens [Chapter](/docs/build/environment/faucet.md)
* Did you claim Shibuya tokens? How many SBY tokens did the faucet provide to you?
* Can you unit test ink! smart contract without running test node like Swanky-node?

## Run [Swanky](https://github.com/AstarNetwork/swanky-node) Node
* Start your Swanky node and connect [polkadot-JS UI](https://polkadot.js.org/apps/?rpc=ws%3A%2F%2F127.0.0.1%3A9944#/explorer) to it. Please note that for Swanky node there will be no node production if there is no interaction with it.

:::note

## From Zero to ink Hero [tutorials](/docs/build/wasm/from-zero-to-ink-hero/flipper-contract/flipper)
Please note that the current version of polkadot-JS is broken for contracts because of [lack of support for Weights V2](https://github.com/polkadot-js/apps/issues/8364). Until that gets resolved please use our [custom built polkadot-JS UI](https://polkadotjs-apps.web.app/#/explorer) or [Contracts-UI](https://contracts-ui.substrate.io/).

:::

## From Zero to ink Hero [Tutorials](/docs/build/wasm/from-zero-to-ink-hero/flipper-contract/flipper)
Depending on your confidence, use any of these tutorial. If you are just starting, the Flipper contract is the way to go.
* Your task is to deploy the contract from the tutorial to Shibuya Network.
* After you build contract notice where the `.contract` and `metadata.json` are created.
Expand Down

0 comments on commit e846b38

Please sign in to comment.