Skip to main content

TVC template

To help with bootstrapping we have put together a template repository, available at tkhq/tvc-template. This repository uses StageX as a build system, has CI workflow to build and test the application, and is a great base to build your own app. This template uses Rust but the concepts carry over to other languages: the application is a simple webserver listening on configurable port and host.

Supported languages

Turnkey writes all enclave applications in Rust, but TVC isn’t opinionated about languages: as long as your toolchain can statically compile to a binary (ELF), QuorumOS can run it. If you are planning to use dynamic linking or interpreted languages, get in touch ahead of time and we can look at your toolchain’s compatibility. Start with our minimal template and deploy it within your TVC-enabled organization. To do this, follow our TVC quickstart guide. Verify it comes up healthy, and confirm one or more endpoints respond correctly. Once the baseline is confirmed, layer your application logic incrementally.

Known platform limitations

LimitationWorkaround
Deployment deletion not implementedAsk our team on Slack, or simply kick-off another deploy. There can only be one live deployment at a time. Kicking off a new deployment automatically deletes any existing one
No metrics or logs in dashboardAsk our team on Slack
No egress connectivityPass signed data as input to your API instead of fetching it from within the TEE
No custom provisioningUse static provisioning for now. This feature is coming sometime in May.

Getting help

Slack is the primary channel for async questions, debugging, and quick turnaround on deployment issues. Don’t hesitate to use it – especially early on. What to ask for:
  • Code snippet for reading the quorum key and signing within the TEE
  • Help interpreting deployment config fields
  • Assistance debugging a deployment that isn’t coming up as expected
  • Observability you’d want surfaced in the dashboard
Feedback welcome: You are among the first developers building a brand-new app on this platform, end-to-end. Your experience with gaps, sharp edges, and missing features is genuinely valuable – please share it!

Getting access to TVC

TVC is currently in private Beta. A select group of design partners are already building on it and getting exclusive access to the latest features and capabilities. If you’re interested in being an early design partner, or if you want to be notified when TVC is generally available for all, please join the waitlist.