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 testnettargets the testnet deployment inchromia.yml.--blockchain <blockchain>must be a unique name for your deployment.--key-iddepends on how your keys are configured locally.
If you are unsure about deployment parameters, see docs.chromia.com for full details.