Skip to content

Commit

Permalink
apply review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
dawnkelly09 committed Feb 3, 2025
1 parent 3c2eb2a commit 0b7ef2c
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 13 deletions.
4 changes: 2 additions & 2 deletions develop/toolkit/api-libraries/polkadot-js-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ To create an API connection:
--8<-- 'code/develop/toolkit/api-libraries/polkadot-js-sdk/api-instance.js'
```

!!!tip
!!!warning
All `await` operations must be wrapped in an async function or block since the API uses promises for asynchronous operations.

### Reading Chain Data
Expand Down Expand Up @@ -101,7 +101,7 @@ To make a transfer:
--8<-- 'code/develop/toolkit/api-libraries/polkadot-js-sdk/send-txs.js'
```
The `alice` keypair in the example comes from a Keyring object. For more details about managing keypairs, see the [Keyring documentation](https://polkadot.js.org/docs/keyring){target=\_blank}.
The `alice` keypair in the example comes from a `Keyring` object. For more details about managing keypairs, see the [Keyring documentation](https://polkadot.js.org/docs/keyring){target=\_blank}.
## Where to Go Next
Expand Down
2 changes: 1 addition & 1 deletion develop/toolkit/api-libraries/py-substrate-interface.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,4 +74,4 @@ Now that you understand the basics, you can:
- Learn about batch transactions and utility functions
- Discover how to work with custom pallets and types

For comprehensive reference materials and advanced features, see the [py-substrate-interface](https://polkascan.github.io/py-substrate-interface/){target=\_blank} documentation.
For comprehensive reference materials and advanced features, see the [Python Substrate Interface](https://polkascan.github.io/py-substrate-interface/){target=\_blank} documentation.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,8 @@ Before you begin, ensure you have the following installed:
- [Node.js](https://nodejs.org/en/){target=\_blank} (recommended version 21 or greater)
- Package manager - [npm](https://www.npmjs.com/){target=\_blank} should be installed with Node.js by default. Alternatively, you can use other package managers like [Yarn](https://yarnpkg.com/){target=\_blank}

This documentation covers version `{{dependencies.asset_transfer_api.version}}` of Asset Transfer API.

## Install Asset Transfer API

To use `asset-transfer-api`, you need a TypeScript project. If you don't have one, you can create a new one:
Expand All @@ -42,7 +44,7 @@ To use `asset-transfer-api`, you need a TypeScript project. If you don't have on
&& npx tsc --init
```

Once you have a project set up, you can install the `asset-transfer-api` package. This documentation covers version `{{dependencies.asset_transfer_api.version}}` of Asset Transfer API. Run the following command to install the package:
Once you have a project set up, you can install the `asset-transfer-api` package. Run the following command to install the package:

```bash
npm install @substrate/asset-transfer-api@{{dependencies.asset_transfer_api.version}}
Expand All @@ -64,7 +66,7 @@ Leverage the `constructApiPromise` helper function provided by the library for t
--8<-- 'code/develop/toolkit/interoperability/asset-transfer-api/overview/setup.ts'
```
!!!tip
!!!warning
The code example is enclosed in an async main function to provide the necessary asynchronous context. However, you can use the code directly if you're already working within an async environment. The key is to ensure you're in an async context when working with these asynchronous operations, regardless of your specific setup.
## Asset Transfer API Reference
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ This guide walks you through installing Chopsticks and provides information on c

For additional support and information, please reach out through [GitHub Issues](https://github.com/AcalaNetwork/chopsticks/issues){target=_blank}.

!!! tip
!!! warning
Chopsticks uses [Smoldot](https://github.com/smol-dot/smoldot){target=_blank} light client, which only supports the native Polkadot SDK API. Consequently, a Chopsticks-based fork doesn't support Ethereum JSON-RPC calls, meaning you cannot use it to fork your chain and connect Metamask.

## Prerequisites
Expand Down
18 changes: 11 additions & 7 deletions develop/toolkit/parachains/spawn-chains/zombienet/get-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -825,18 +825,22 @@ You can use the `hrmp_channels` keyword to define further parameters for the XCM
- `max_capacity` ++"number"++ - maximum capacity of the HRMP channel
- `max_message_size` ++"number"++ - maximum message size allowed in the HRMP channel

## Additional Support Resources
## Where to Go Next

[Parity Technologies](https://www.parity.io/){target=\_blank} has designed and developed this framework, now maintained by the Zombienet team.
<div class="grid cards" markdown>

For further support and information, refer to the following contact points:
- <span class="badge external">External</span> __Zombienet Support__

- [Zombienet repository](https://github.com/paritytech/zombienet){target=\_blank}
- [Element public channel](https://matrix.to/#/!FWyuEyNvIFygLnWNMh:parity.io?via=parity.io&via=matrix.org&via=web3.foundation){target=\_blank}
---

## Where to Go Next
[Parity Technologies](https://www.parity.io/){target=\_blank} has designed and developed this framework, now maintained by the Zombienet team.

For further support and information, refer to the following contact points:

[:octicons-arrow-right-24: Zombienet repository](https://github.com/paritytech/zombienet){target=\_blank}

[:octicons-arrow-right-24: Element public channel](https://matrix.to/#/!FWyuEyNvIFygLnWNMh:parity.io?via=parity.io&via=matrix.org&via=web3.foundation){target=\_blank}

<div class="grid cards" markdown>

- <span class="badge tutorial">Tutorial</span> __Spawn a Basic Chain with Zombienet__

Expand Down

0 comments on commit 0b7ef2c

Please sign in to comment.