Switching from Mainnet to Devnet: A step-by-step guide to change wallet networks on Solana

Understand the difference between mainnet and devnet and switch wallet networks with our guide for xNFT Backpack, Phantom, Glow, and Solflare wallets

Switching from Mainnet to Devnet: A step-by-step guide to change wallet networks on Solana

With the ever-growing community and developers building on Solana, it's essential to understand the difference between mainnet and devnet, and how to switch between them.

If you're using a Solana wallet like Phantom, Backpack, Glow, or Solflare, you may want to switch from mainnet to devnet (or vice versa) for testing or development purposes.

This blog will provide a step-by-step guide on changing wallet networks from mainnet to devnet, specifically for xNFT Backpack, Phantom, Glow and Solflare wallet.

Mainnet vs Devnet

Mainnet is where the real magic happens - it's the live version of the Solana network where all transactions occur. It's a place where you can buy, sell, and trade your favorite Solana-based tokens. On the other hand, devnet is like the playground of Solana - a safe and secure place where developers can test new applications and smart contracts before releasing them on the mainnet.

So, why do developers use devnet? Well, it's like a sandbox, the perfect place to make mistakes, experiment, and learn from them.

The main difference between mainnet and devnet is the purpose for which they are used. While mainnet is used for actual transactions, devnet is used for testing and development.

Now that you understand the difference between mainnet and devnet, it's time to dive deeper into how to switch between them for your Solana wallet.

Changing Wallet Networks on xNFT Backpack

  1. To switch your xNFT Backpack wallet from mainnet to devnet (or vice versa), first click on the profile icon in the top right corner of the wallet.
  2. Next, select Preferences from the menu. This will take you to a new page where you can customize your wallet settings.
  3. Look for a section labeled Solana and click on it. This will open up a new menu with additional options.
  4. Select RPC connection to access the network selection screen.
  5. From here, you can choose to switch to either Mainnet or Devnet.
xNFT Backpack - Switch Mainnet to Devnet

Changing Wallet Networks on Phantom

  1. To switch your Phantom wallet from mainnet to devnet (or vice versa), click on the settings icon in the top left corner of the wallet interface.
  2. Next, select Developer Settings from the dropdown menu, then click Change Network.
  3. Finally, choose the desired network from the list Mainnet or Devnet
Phantom - Switch Mainnet to Devnet

Changing Wallet Networks on Glow Wallet

  1. To switch your Glow wallet from mainnet to devnet (or vice versa), click on the gear icon in the bottom right corner of the wallet interface.
  2. Next, select Network from the menu.
  3. Finally, choose the desired network Mainnet or Devnet and click on the glow wallet icon in the bottom left corner of the wallet.
Glow Wallet - Switch Mainnet to Devnet

Changing Wallet Networks on Solflare Wallet

  1. To switch your Solflare wallet from mainnet to devnet (or vice versa), click on the gear icon in the bottom right corner.
  2. Next, select Network from the menu.
  3. Choose desired network Mainnet or Devnet.
  4. Finally, select Proceed to continue.
Solflare Wallet - Switch Mainnet to Devnet

Conclusion

We hope this step-by-step guide has helped you understand how to switch wallet networks on the Solana network. Whether you're a developer or just an avid user of Solana-based tokens, knowing how to switch between mainnet and devnet is crucial. Remember, mainnet is for actual transactions, while devnet is for testing and development. Each of the four wallets we covered has its unique way of switching networks, so be sure to follow the specific steps for your chosen wallet.

Stay Tuned with #GooseAcademy

Website | Twitter | Telegram | Discord | Docs

Disclaimer: The statements, proposals, and details above are informational only, and subject to change. We are in early-stage development and may need to change dates, details, or the project as a whole based on the protocol, team, legal or regulatory needs, or due to developments of Solana/Serum. Nothing above should be construed as financial, legal, or investment advice.