Skip to main content

Deploy to testnet

Deploy the chatbot dapp to Chromia testnet.

1. Get test tokens and a container

Visit vault.testnet.chromia.com to:

  • Get tCHR tokens
  • Rent a test container for your dapp

When you lease the container, make sure to enable the AI inference extension:

  • new_ai_inference_extension2

2. Deploy the dapp

Run the deployment command from the project root:

chr deployment install --network testnet --blockchain <blockchain> --key-id <key-id>
  • --network testnet targets the testnet deployment in chromia.yml.
  • --blockchain <blockchain> must be a unique name for your deployment.
  • --key-id depends on how your keys are configured locally.

If you are unsure about deployment parameters, see docs.chromia.com for full details.