Peera.

Bài viết

Chia sẻ kiến thức của bạn.

Michelle .
Apr 13, 2025
Hỏi đáp Chuyên Gia

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
Chia sẻ
Bình luận
.

Câu trả lời

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
Bình luận
.
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
Bình luận
.

Bạn có biết câu trả lời không?

Hãy đăng nhập và chia sẻ nó.

Chúng tôi sử dụng cookie để đảm bảo bạn có trải nghiệm tốt nhất trên trang web của chúng tôi.
Thêm thông tin