You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This command will download and prepare the necessary binaries for Zombienet's use.
177
177
178
-
!!! warning
179
-
The `polkadot` and `polkadot-parachain` binaries releases aren't compatible with macOS. As a result, macOS users will need to clone the [Polkadot repository](https://github.com/paritytech/polkadot-sdk){target=\_blank}, build the Polkadot binary, and manually add it to their PATH for `polkadot` and `polkadot-parachain` to work.
180
-
181
178
If you need to use a custom binary, ensure the binary is available in your PATH. You can also specify the binary path in the network configuration file. The following example uses the custom [OpenZeppelin template](https://github.com/OpenZeppelin/polkadot-runtime-templates){target=\_blank}:
182
179
183
180
First, clone the OpenZeppelin template repository using the following command:
@@ -244,9 +241,6 @@ The following sections will guide you through the primary usage of the Zombienet
244
241
245
242
-**`spawn <networkConfig>`** - spawn the network defined in the [configuration file](#configuration-files)
246
243
247
-
!!! warning
248
-
The Polkadot binary is currently not compatible with macOS. For the `spawn` command to work on macOS, users will need to clone the [Polkadot repository](https://github.com/paritytech/polkadot-sdk){target=\_blank}, build the Polkadot binary, and manually add it to their PATH.
249
-
250
244
-**`test <testFile>`** - run tests on the spawned network using the assertions and tests defined in the [test file](/develop/toolkit/parachains/spawn-chains/zombienet/write-tests/#the-test-file){target=\_blank}
This command will download and prepare the necessary binaries for Zombienet's use.
10635
10635
10636
-
!!! warning
10637
-
The `polkadot` and `polkadot-parachain` binaries releases aren't compatible with macOS. As a result, macOS users will need to clone the [Polkadot repository](https://github.com/paritytech/polkadot-sdk){target=\_blank}, build the Polkadot binary, and manually add it to their PATH for `polkadot` and `polkadot-parachain` to work.
10638
-
10639
10636
If you need to use a custom binary, ensure the binary is available in your PATH. You can also specify the binary path in the network configuration file. The following example uses the custom [OpenZeppelin template](https://github.com/OpenZeppelin/polkadot-runtime-templates){target=\_blank}:
10640
10637
10641
10638
First, clone the OpenZeppelin template repository using the following command:
@@ -10702,9 +10699,6 @@ The following sections will guide you through the primary usage of the Zombienet
10702
10699
10703
10700
- **`spawn <networkConfig>`** - spawn the network defined in the [configuration file](#configuration-files)
10704
10701
10705
-
!!! warning
10706
-
The Polkadot binary is currently not compatible with macOS. For the `spawn` command to work on macOS, users will need to clone the [Polkadot repository](https://github.com/paritytech/polkadot-sdk){target=\_blank}, build the Polkadot binary, and manually add it to their PATH.
10707
-
10708
10702
- **`test <testFile>`** - run tests on the spawned network using the assertions and tests defined in the [test file](/develop/toolkit/parachains/spawn-chains/zombienet/write-tests/#the-test-file){target=\_blank}
10709
10703
10710
10704
@@ -27977,6 +27971,33 @@ To successfully complete this tutorial, you must ensure you've first:
27977
27971
- [Installed Zombienet](/develop/toolkit/parachains/spawn-chains/zombienet/get-started/#install-zombienet){target=\_blank}. This tutorial requires Zombienet version `{{ dependencies.repositories.zombienet.version }}`. Verify that you're using the specified version to ensure compatibility with the instructions.
27978
27972
- Reviewed the information in [Configure Zombienet](/develop/toolkit/parachains/spawn-chains/zombienet/get-started/#configure-zombienet){target=\_blank} and understand how to customize a spawned network
27979
27973
27974
+
## Set Up Local Provider
27975
+
27976
+
In this tutorial, you will use the Zombienet [local provider](/develop/toolkit/parachains/spawn-chains/zombienet/get-started/#local-provider){target=\_blank} (also called native provider) that enables you to run nodes as local processes in your development environment.
27977
+
27978
+
You must have the necessary binaries installed (such as `polkadot` and `polkadot-parachain`) to spin up your network successfully.
27979
+
27980
+
To install the required binaries, use the following Zombienet CLI command:
27981
+
27982
+
```bash
27983
+
zombienet setup polkadot polkadot-parachain
27984
+
```
27985
+
27986
+
This command downloads the following binaries:
27987
+
27988
+
- `polkadot`
27989
+
- `polkadot-execute-worker`
27990
+
- `polkadot-parachain`
27991
+
- `polkadot-prepare-worker`
27992
+
27993
+
Finally, add these binaries to your PATH environment variable to ensure Zombienet can locate them when spawning the network.
27994
+
27995
+
For example, you can move the binaries to a directory in your PATH, such as `/usr/local/bin`:
Zombienet uses a [configuration file](/develop/toolkit/parachains/spawn-chains/zombienet/get-started/#configuration-files){target=\_blank} to define the ephemeral network that will be spawned. Follow these steps to create and define the configuration file:
Copy file name to clipboardExpand all lines: tutorials/polkadot-sdk/testing/spawn-basic-chain.md
+27Lines changed: 27 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,6 +20,33 @@ To successfully complete this tutorial, you must ensure you've first:
20
20
-[Installed Zombienet](/develop/toolkit/parachains/spawn-chains/zombienet/get-started/#install-zombienet){target=\_blank}. This tutorial requires Zombienet version `{{ dependencies.repositories.zombienet.version }}`. Verify that you're using the specified version to ensure compatibility with the instructions.
21
21
- Reviewed the information in [Configure Zombienet](/develop/toolkit/parachains/spawn-chains/zombienet/get-started/#configure-zombienet){target=\_blank} and understand how to customize a spawned network
22
22
23
+
## Set Up Local Provider
24
+
25
+
In this tutorial, you will use the Zombienet [local provider](/develop/toolkit/parachains/spawn-chains/zombienet/get-started/#local-provider){target=\_blank} (also called native provider) that enables you to run nodes as local processes in your development environment.
26
+
27
+
You must have the necessary binaries installed (such as `polkadot` and `polkadot-parachain`) to spin up your network successfully.
28
+
29
+
To install the required binaries, use the following Zombienet CLI command:
30
+
31
+
```bash
32
+
zombienet setup polkadot polkadot-parachain
33
+
```
34
+
35
+
This command downloads the following binaries:
36
+
37
+
-`polkadot`
38
+
-`polkadot-execute-worker`
39
+
-`polkadot-parachain`
40
+
-`polkadot-prepare-worker`
41
+
42
+
Finally, add these binaries to your PATH environment variable to ensure Zombienet can locate them when spawning the network.
43
+
44
+
For example, you can move the binaries to a directory in your PATH, such as `/usr/local/bin`:
Zombienet uses a [configuration file](/develop/toolkit/parachains/spawn-chains/zombienet/get-started/#configuration-files){target=\_blank} to define the ephemeral network that will be spawned. Follow these steps to create and define the configuration file:
0 commit comments