B. TestNet Environment
Last updated
Last updated
The TestNet environment is a dedicated blockchain network specifically designed for testing and experimenting with new features and applications before implementation on the main or production blockchain.
Developers and users can interact with the network, test smart contracts, and perform transactions without using real cryptocurrencies, ensuring a risk-free space for innovation and development.
For Example - TON: Test TON coins can be utilized to deploy contracts on the TON TestNet network for testing before deployment on the mainnet.
How to Build/Deploy on TestNet:
Step 1: Open the desired .fc (smart contract) file. Lets take main.fc for example
Step 2: Navigate to the build and deploy tab from the Icon Panel
Step 3: Select “TestNet” Environment from the dropdown.
Step 4: Connect your TON wallet Using your preferable method (QR code or wallet)
Step 5 : Once the wallet is successfully connected , Click on “Build main.fc”
Step 6: Once the Contract is Built ,Click on “deploy” to deploy the contract on Testnet.
Step 7 : yayyy!!!! You have successfully deployed it on Testnet. You can view the deployed contract by clicking on the contract address in the log terminal
Please note: when utilizing setters to update contract data on TestNet, developers are required to confirm transactions from their wallets.