Create and deploy your first contract in the Hiro Platform.
In this quickstart guide, you will create a simple hello-world contract in the Hiro Platform. You’ll learn how to create a new project, create a new contract, and deploy that contract to testnet on Stacks.
Click the “Run hello-world in Clarity” tile. This will generate a brand new project in the Hiro Platform, along with a hello-world contract.
From here, you can edit the contract directly in this code preview or edit the contract in VS Code on the web or on your local device via the “Open Project Files” dropdown.
For now, click the “Deploy Project” button to deploy your project to a network. This will open a menu where you can choose to deploy to devnet, testnet, or mainnet. The Hiro Platform will automatically generate a deployment plan for your project that will handle any contract dependencies in your project.
For this quickstart, let’s deploy to testnet. In order to deploy, you will need testnet STX, which you can request from a testnet faucet in the Hiro Platform.
Once your wallet receives the testnet tokens, you can deploy your contract. Congratulations, you’re now a Stacks developer!