You can deploy and test both public and private smart contracts on the testnet for free. All you need to get started is the following: