Quickstart

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.

Create your account

Start by creating an account in the Hiro Platform. You can create an account with:

  • Email
  • Google
  • GitHub
  • Discord

Once signed in, you will see an onboarding screen showing all the Hiro Platform has to offer:

Platform Welcome Screen

Create your smart contract

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.

create smart 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.

Learn more about smart contract development in the Hiro Platform.

Deploy your contract

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.

deploy contract

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.

platform faucet

Once your wallet receives the testnet tokens, you can deploy your contract. Congratulations, you’re now a Stacks developer!

Next steps