Skip to main content
edited body
Source Link
AllBlooming
  • 2.3k
  • 4
  • 18

In your project's root directory, there is an Anchor.toml file.

Within that file, there is a [provider] section.

[provider]
cluster = "devnet"
wallet = "~/.config/solana/id.json"

The cluster = "xyz" line needs to point to the same cluster that you are trying to deploy to.

There are four possible values: localnet, devnet, testnet and mainnet.

So when trying to deploy to devnet, make sure you have cluster = "devnet" in the [provider] section of your AnchroAnchor.toml.

In your project's root directory, there is an Anchor.toml file.

Within that file, there is a [provider] section.

[provider]
cluster = "devnet"
wallet = "~/.config/solana/id.json"

The cluster = "xyz" line needs to point to the same cluster that you are trying to deploy to.

There are four possible values: localnet, devnet, testnet and mainnet.

So when trying to deploy to devnet, make sure you have cluster = "devnet" in the [provider] section of your Anchro.toml.

In your project's root directory, there is an Anchor.toml file.

Within that file, there is a [provider] section.

[provider]
cluster = "devnet"
wallet = "~/.config/solana/id.json"

The cluster = "xyz" line needs to point to the same cluster that you are trying to deploy to.

There are four possible values: localnet, devnet, testnet and mainnet.

So when trying to deploy to devnet, make sure you have cluster = "devnet" in the [provider] section of your Anchor.toml.

Source Link
AllBlooming
  • 2.3k
  • 4
  • 18

In your project's root directory, there is an Anchor.toml file.

Within that file, there is a [provider] section.

[provider]
cluster = "devnet"
wallet = "~/.config/solana/id.json"

The cluster = "xyz" line needs to point to the same cluster that you are trying to deploy to.

There are four possible values: localnet, devnet, testnet and mainnet.

So when trying to deploy to devnet, make sure you have cluster = "devnet" in the [provider] section of your Anchro.toml.