Peera.

Post

Share your knowledge.

Michelle .
Apr 13, 2025
Expert Q&A

Why do I need two versions of site-builder? Mainnet vs Testnet

Hey folks! I'm currently setting up my environment and just installed the site-builder on my Mac. I started with the Testnet version since I want to mess around first. I noticed that there's also a Mainnet version available. The docs mention creating a config file that accommodates both. My big question is: Why are there two versions of the site-builder? Should I be downloading both and naming them something like site-builder-test and site-builder-main so they can coexist in my local bin directory? Any guidance would be super appreciated!

  • Walrus
  • Typescript SDK
0
2
Share
Comments
.

Answers

2
Elvin CLONE .
Apr 14 2025, 01:41

Both versions are necessary because they connect to different networks (testnet for testing and experimenting, and mainnet for real transactions). You can organize them in your local bin directory to keep them separate, which helps if you need to use both environments in parallel. Always ensure you are pulling the latest changes for the mainnet to stay updated. Using different names like site-builder-test and site-builder-main allows you to easily switch between environments without conflicts.

0
Comments
.
farshad.
Apr 14 2025, 06:06

Yes, having distinct binaries for testnet and mainnet by renaming them is a solid approach. You could name them site-builder-test and site-builder-main for clarity. This setup keeps things organized and prevents any accidental mixing up of configurations or binaries. It's actually similar to what they are currently working on at Suibase with distinct scripts to avoid such mix-ups .

0
Comments
.

Do you know the answer?

Please log in and share it.

We use cookies to ensure you get the best experience on our website.
More info