Create a Subnet

Learn how to create a subnet on the P-Chain.

Now that you have Core wallet set up and some AVAX on the P-Chain you can create a Subnet. You will do this by issuing a CreateSubnetTx transaction. This will create a Subnet that is uniquely identified by the transaction hash of the CreateSubnetTx transaction.

The CreateSubnetTx transaction only has a single parameter: The owner of the Subnet. The owner can add blockchains to the Subnet and convert it to an L1. With the conversion to an L1 the owner will loose it's privileges. Therefore, the owner is only relevant during the creation time and does not have to be secured by a mulit-sig if a immediate conversion to an L1 is planned. We will just use your P-Chain address as the owner.

Logo

Create Subnet

This will create a new subnet on the P-Chain.

When the transaction was submitted successfully, you can query the Get Subnet details by ID of the Avalanche API with your subnetID to get more information about your Subnet.

Additionally, you can head to the P-Chain Explorer for the Fuji testnet and search for the transaction hash to verify the creation of the Subnet.

Is this guide helpful?

On this page

No Headings