Skip to content

Commit

Permalink
Add more context to Setup instructions
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Eckardt <martin.eckardt@avalabs.org>
  • Loading branch information
martineckardt authored Mar 11, 2024
1 parent f5cec9a commit 81e5d1b
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,16 @@ Alternatively, you can run them locally. You need [docker](https://www.docker.co

To start a local Avalanche network with your own teleporter-enabled Subnet inside the container follow these commands. Your Avalanche network will be completely independent of the Avalanche Mainnet and Fuji Testnet. It will have its own Primary Network (C-Chain, X-Chain & P-Chain). You will not have access to services available on Fuji (such as Chainlink services or bridges). If you require these, go to the [Fuji Testnet](#fuji-testnet) section.

First let's create out Subnet configuration. Follow the dialog and if you don't have special requirements for precompiles just follow the suggested options. Keep the name "mysubnet" to avoid additional configuration.

```
avalanche subnet create mysubnet
```

```
avalanche subnet deploy mysubnet
```
Now let's spin up the local Avalanche network and deploy our Subnet. This will also deploy the Teleporter messenger and the registry on our Subnet and the C-Chain.

```
avalanche subnet describe mysubnet
avalanche subnet deploy mysubnet
```

Make sure to add the RPC Url to the `foundry.toml` file if you have chosen a different name than `mysubnet`. If you've used `mysubnet` the rpc is already configured.
Expand All @@ -46,7 +46,6 @@ mysubnet = "http://localhost:9650/ext/bc/mysubnet/rpc"
anothersubnet = "http://localhost:9650/ext/bc/BASE58_BLOCKCHAIN_ID/rpc"
```


# Issuing Transactions with Foundry

## Local Network
Expand Down

0 comments on commit 81e5d1b

Please sign in to comment.