Canton DevStudio — A Browser-Based Development Platform for Canton
Development Fund Proposal
Organization: Bit Dynamics
Author / Primary Contact: Srikanth (srikanth-bitdynamics)
Status: Submitted
Created: 2026-12-01
Proposal Type: Individual Initiative
RFP / Roadmap Area: Developer Experience, Tooling & Education; aligned with RFP 18 (Integration into SDLCs), RFP 15 (Canton 3.x Training and Documentation), and RFP 19 (DPM Components and Extension Ecosystem) on the 2026–2028 Strategic Roadmap
Champion: Jatin Pandya (Canton Foundation)
Total Funding Request: 7,999,000 CC
Project Duration: 6 months from project kickoff
Label: daml-tooling
Abstract
Bit Dynamics proposes Canton DevStudio, an open-source, browser-based development platform. A developer should be able to open a browser, write Daml, build a DAR, deploy it, run tests and interact with a contract without setting up a Canton development environment.
DevStudio will provide a browser IDE, remote builds and tests, hosted development environments, development identities and test assets, tutorials and application examples. It will use existing Canton tooling including Canton DevKit, DPM, canton deploy and other Dev fund compatible ecosystem projects whereever they fit.
We will start with an engineering release ready for a closed beta. We will then operate the service for a limited group of Foundation-approved developers, support one hackathon in collaboration with the Foundation, and prepare the platform for broader public access. The choice of infrastructure provider and the exact hosting architecture will be based on feasibility testing, resource consumption. Hosting and Maintainance will be covered in next proposal once this is completed or close to completion.
Specification
1. Objective
Onboarding new developers is always a growth point for any ecosystem and lowering the entry barrier is key for the greater adoption. The Canton local environment setup remains a major barrier for new developers with upto three hours to set up Canton Quickstart for new users according to Dev survey.
Canton already has good tools: DPM, Sandbox, QuickStart, Canton DevKit etc. We want to make those tools easier to access, particularly for developers who are trying Canton for the first time or attending a workshop or hackathon. They should be able to start writing and running code in minutes, not spend the first part of their project setting up infrastructure.
Our objective is to provide a complete browser-based development loop: learn, write, build, test, deploy and interact with Canton applications. The platform should also allow a developer to export their project and continue locally using the standard Canton toolchain.
The initial target users are new Daml developers, developers coming from other blockchain ecosystems, hackathon teams, workshop facilitators and engineers evaluating Canton before setting up their own environments.
2. Implementation Mechanics
Product experience
Milestone 1 will focus on the simple developer's workflow:
- Create a project from an empty workspace.
- Edit Daml in the browser, with syntax highlighting.
- Build the project and inspect compiler output.
- Run Daml Script tests and inspect results.
- Deploy the DAR to the sandbox.
- Create parties, obtain test assets where supported, create contracts and exercise choices.
- Inspect active contracts and transaction results, then edit, rebuild and redeploy or reset the environment.
- Save or export the source project for continued development.
Milestone 2 will add autocomplete, TypeScript client scripts, a richer ledger explorer, tutorials and application templates, and the event workflows needed for a hackathon.
flowchart LR
Browser[Developer browser] --> API[DevStudio API and workspace service]
API --> Build[Isolated DPM build and test workers]
API --> Store[Project and artifact storage]
API --> Ledger[Ledger and identity adapters]
Ledger --> Sandbox[Hosted Sandbox]
Ledger --> LocalNet[Hosted DevKit LocalNet]
API --> Ops[Quotas, scheduling and monitoring]
Feature matrix and acceptance scope
The engineering milestone includes required features below. The feature matrix defines the functional acceptance scope; the milestones also include security, documentation, hosting and operational deliverables.
| ID | Area | Feature | Milestone 1 | Milestone 2 |
|---|
| A1 | Workspace | Create project | Yes | Yes |
| A2 | Workspace | Project templates | Starter examples | Expanded |
| A3 | Workspace | File explorer and basic file operations | Yes | Yes |
| A4 | Workspace | Save project to cloud | Yes | Yes |
| A5 | Workspace | Project import and export | Yes | Yes |
| B1 | Code editor | Daml syntax highlighting | Yes | Yes |
| B2 | Code editor | Autocomplete | No | Yes |
| B3 | Code editor | Code diagnostics and source-linked build errors | Yes | Yes |
| C1 | Build and deploy | One-click Daml compilation | Yes | Yes |
| C2 | Build and deploy | Dependency management with pinned SDK versions | Yes | Yes |
| C3 | Build and deploy | Build output and DAR download | Yes | Yes |
| C4 | Build and deploy | One-click DAR deployment | Yes | Yes |
| C5 | Build and deploy | Deployment details and package status | Yes | Yes |
| C6 | Build and deploy | Redeployment with clear upgrade or reset behaviour | Yes | Yes |
| D1 | Identity and assets | Development identities and backend-appropriate test wallet | Yes | Yes |
| D2 | Identity and assets | Multiple test parties and account management | Basic | Yes |
| D3 | Identity and assets | Test asset balance display where supported | Yes | Yes |
| D4 | Identity and assets | Test asset faucet where supported | Yes | Yes |
| E1 | Testing and interaction | TypeScript client script execution | No | Yes |
| E2 | Testing and interaction | Daml Script tests and test results | Yes | Yes |
| E3 | Testing and interaction | Basic contract creation and choice execution | Yes | Yes |
| E4 | Testing and interaction | Active contract inspection under selected party permissions | Yes | Yes |
| E5 | Testing and interaction | Transaction results and submission errors | Yes | Yes |
| E6 | Testing and interaction | Ledger explorer and party-scoped visibility inspection | No | Yes |
| F1 | Developer tools | Connection details and settings for hosted environments | Basic | Yes |
| F2 | Developer tools | TypeScript client bindings or equivalent supported code generation | No | Yes |
| G1 | Learning | Guided tutorials | No | Yes |
| G2 | Learning | Runnable examples and application templates | 4 | 8 total |
| G3 | Learning | Links to Canton documentation and relevant tools | Yes | Yes |
| H1 | Hosted environments | Isolated Sandbox provisioning, reset and deletion | Yes | Yes |
| H2 | Hosted environments | On-demand isolated full Splice LocalNet profile | No | Yes |
| H3 | Hosted environments | Environment status, expiry and resource quotas | Yes | Yes |
| H4 | Event operations | Basic event invitations, team allocations and capacity monitoring | No | Yes |
Hosted development environments
Not every developer needs a full LocalNet to write and test Daml. Starting a large network for every editing session would unnecessarily increase hosting costs. We therefore propose two profiles:
| Profile | Intended use | Capabilities |
|---|
| Hosted Sandbox | Introductory tutorials, basic Daml development and testing | Lightweight, isolated ledger; project deployment, party allocation, tests and contract interaction |
| Hosted LocalNet | Canton application development, token and wallet integration, hackathons | Full DevKit-managed Splice LocalNet with test Canton Coin, supported token workflows and multiple participant/validator capabilities |
Both profiles will provide independently resettable environments without requiring the developer to install Canton locally. A workspace is assigned to an individual developer.
A Sandbox development party where the selected lightweight environment lacks native Canton Coin, DevStudio will use clearly labelled simulated assets for relevant examples or indicate that a workflow requires LocalNet. The full LocalNet profile will provide the test CC and wallet/faucet workflow.
Source projects will persist independently of disposable ledger instances. Users will be informed before environments expire or reset. Project export will exclude secrets and live ledger state by default. Resource cleanup will revoke access and remove expired runtime resources, with documented retention rules for source files, build artifacts and logs.
Build, test and deployment
We will use DPM and the supported Daml SDK ,build workers will run separately from ledger workers so that editing or compiling does not require a running LocalNet.
The service will resolve supported project dependencies, run builds and Daml Script tests within isolated workers, stream output and make compiled DAR files available to the workspace. Workers will have resource and execution time limits. SDK and dependency versions will be pinned; external dependency retrieval will follow an allowlisted policy. TypeScript scripts will run in a restricted execution environment with access only to the developer's authorized endpoints.
Deployment will reuse DevKit DAR workflows or supported Ledger API operations. The UI will distinguish uploaded packages, package identities and readiness for use, including vetting where applicable. Redeployment will not imply that existing contracts or package IDs can be overwritten; the UI will explain when a compatible package upgrade or a development environment reset is required.
For contract interaction, the platform will read supported template and choice metadata and offer basic input forms for creating contracts and exercising choices. The service will enforce party permissions through ledger credentials and report actual transaction results. Users can inspect active contracts visible to the selected development party. Unsupported argument types or workflows will be documented rather than silently handled incorrectly.
sequenceDiagram
participant D as Developer
participant UI as DevStudio
participant W as DPM worker
participant L as Hosted ledger
D->>UI: Create project and edit Daml
D->>UI: Build and run tests
UI->>W: Execute pinned SDK build and tests
W-->>UI: DAR, diagnostics and test results
D->>UI: Start development environment
UI->>L: Provision ledger and development parties
D->>UI: Deploy DAR
UI->>L: Upload package and validate readiness
L-->>UI: Package identity and status
D->>UI: Create contract or exercise choice
UI->>L: Submit using authorized party credentials
L-->>UI: Transaction result or rejection
UI-->>D: Show result and party-visible state
Logical components
| Component | Responsibility |
|---|
| Browser IDE | Monaco-based editor, file explorer, project actions and development output |
| Workspace API | Authentication, project ownership, access control, cloud save and export |
| Build and test workers | DPM, Daml SDK, language server integration, dependency handling and restricted script execution |
| Project and artifact storage | Source projects, temporary DAR artifacts and build results |
| Environment orchestration | Provisioning, readiness, reset, expiry and deletion for Sandbox and LocalNet |
| Ledger and identity adapters | DAR deployment, party and wallet setup, faucet, ledger queries and command submission |
| Tutorials and templates | Curated learning paths, reusable example projects and automated validation |
| Operations plane | Scheduling, quotas, metering, audit events, monitoring and event administration |
Tutorials and application examples
We want tutorials to be runnable projects. A developer should be able to open an example, follow its instructions, modify the source, deploy it and see the result in the hosted ledger.
We propose eight validated examples by M2, with four starter examples available in M1. The intended subjects are below; equivalent examples may be substituted by agreement with the Champion if external dependencies are unavailable.
| Example | Learning outcome | Target |
|---|
| Hello Canton | Templates, contracts and choices | M1 |
| Multi-party Todo | Party authorization and contract lifecycle | M1 |
| Private Payments | Contract visibility and party permissions | M1 |
| Daml testing | Script tests, assertion failures and contract interaction | M1 |
| Token creation and transfer | Canton token standards and test assets | M2 |
| Wallet-connected dApp | Wallet and Ledger API integration | M2 |
| Stablecoin or tokenized asset | Issuance, transfer and redemption | M2 |
| Atomic settlement | Multi-party asset exchange and settlement | M2 |
Each example will include source code, instructions, pinned dependencies, environment requirements, build/deploy steps . The application templates may include a TypeScript frontend or backend source project for export and local execution; arbitrary full-stack cloud application hosting is outside the required scope.
Ecosystem tooling reuse
A key reason to build DevStudio is to make existing Canton tools more accessible. We intend to work with their maintainers instead of duplicating the functionality already funded by the Foundation.
DevKit, DPM and supported Canton APIs are core dependencies. Integrations with other projects are subject to the availability of compatible releases, licensing and maintainer coordination. We will provide a documented integration approach and reuse compatible components where practical.
Security and operations
A hosted development platform must treat user-submitted source code, dependencies, packages and scripts as untrusted. Development-only ledger state does not remove the need for proper tenant isolation.
| Area | Approach |
|---|
| Tenant isolation | Separate workspace runtime boundaries and scoped ledger access; verify cross-tenant access is denied |
| Build and script execution | Isolated workers, no unrestricted shell or Docker access, execution time and resource limits, restricted network egress |
| Credentials | Short-lived or revocable workspace-specific credentials, private administrative endpoints and encrypted secret storage |
| Dependencies | Pinned SDK versions, approved dependency sources and artifact integrity checks |
| Cost and abuse | Per-user and global quotas, rate limits, capacity admission control, inactivity expiry and a spending stop mechanism |
| Observability | Provisioning, build and ledger health metrics, resource metering, audit events and redacted logs |
| Cleanup | Automatic deletion and reconciliation of expired or failed resources; revoke associated access |
| Public readiness | Security assessment and remediation of critical/high security findings |
We will coordinate with the Foundation on repository ownership, deployment requirements, branding, identity configuration and a suitable Foundation-controlled subdomain (for example, devstudio.canton.foundation, subject to approval).
We propose Apache-2.0 for new open-source DevStudio code, subject to Foundation agreement and third-party licensing requirements. Reused components retain their own licences. Hosted-service and redistribution rights for the selected SDK and runtime components will be checked during feasibility testing.
User sessions and resource allocation
Each authenticated developer receives an individual DevStudio session bound to their workspace. The session holds editor state, active build or test jobs, and any currently provisioned hosted environment. Concurrent browser tabs for the same user share one workspace session; simultaneous sessions for different users remain isolated at the authentication, storage and ledger boundaries.
Resource allocation will be managed through an operations plane that admits work before expensive environments are created:
| Control | Behaviour |
|---|
| Per-user quotas | Limits on concurrent hosted environments, build and script workers, storage, and cumulative runtime for Sandbox and LocalNet profiles |
| Global capacity | A cluster-wide admission budget so provisioning requests queue or defer when Sandbox or LocalNet capacity is full |
| Session lifecycle | Idle timeout, explicit stop or reset, and automatic expiry of hosted ledgers while project source remains until the documented retention window |
| Fair scheduling | Build, test and provisioning jobs enter a scheduler with per-user concurrency caps so one developer cannot monopolise workers |
| Event overrides | Temporary higher quotas and reserved capacity for Foundation-approved closed beta cohorts and hackathon windows, agreed with the Champion |
| Metering and stop | Continuous metering of CPU, memory, storage and environment hours, with alerts and a configurable spending stop when agreed thresholds are reached |
Users will see environment status, remaining quota and expiry warnings in the UI. When capacity is unavailable, the platform will report a clear wait or retry state rather than silently failing. Cleanup jobs will reclaim expired sessions and revoke associated credentials so released capacity can be reallocated.
Deploy and hosting documentation
We will publish documentation so the operators can deploy, configure and host Canton DevStudio from the open-source repository. Documentation will be versioned with the software release and updated at each funding milestone.
| Document | Contents |
|---|
| Architecture and topology | Logical components, hosting profiles (Sandbox and LocalNet), network boundaries and required external dependencies |
| Deployment guide | Step-by-step install for a supported hosting target, including configuration, secrets, identity provider setup and health checks |
| Hosting and capacity guide | Recommended instance sizes, quota defaults, scaling parameters, retention settings and capacity planning for concurrent developers |
| Operations runbook | Provisioning, restart, backup and restore of project storage |
| Upgrade and version matrix | Supported Daml SDK, DPM, DevKit and runtime versions, with upgrade and compatibility notes |
| Security and access | Secure deployment and checklist for Foundation subdomain and branding setup |
Milestone 1 will deliver deployment instructions sufficient to stand up the hosted Sandbox release for Foundation review. Milestone 2 will expand that set into the full hosting and operations pack used for the closed beta and hackathon, including public-access policy, rate limits and spending controls.
3. Architectural Alignment
DevStudio builds on the Foundation's Developer Experience, Tooling & Education roadmap. It extends the reach of DPM, Sandbox and the previously funded Dev fund projects including Canton DevKit by making their workflows available through a hosted browser interface.
It also provides a practical way to distribute compatible learning material, application templates and developer tools from other ecosystem projects.
The platform will use standard Canton APIs and existing SDKs. It will not require changes to the Canton protocol or a separate implementation of the Daml compiler.
4. Backward Compatibility
DevStudio is an additional development option and has no expected backward compatibility impact on Canton, Splice, DPM or DevKit. Existing local development workflows remain unchanged.
Projects created in DevStudio can be exported and used with the supported Canton SDK outside the hosted service. The platform will document its supported SDK and runtime versions.
Milestones and Deliverables
The project has two funding milestones. The proposed timeline is six months from kickoff; committed dates will be agreed with the Champion once the start date and event schedule are confirmed.
| Milestone | Target | Funding |
|---|
| M1 — Engineering delivery and hosted platform readiness | End of Month 4 | 3,999,000 CC |
| M2 — Foundation hosting, hackathon and public-launch readiness | End of Month 6 | 4,000,000 CC |
| Total | 6 months | 7,999,000 CC |
Milestone 1 — Engineering delivery and hosted platform readiness
Funding: 3,999,000 CC
Target: End of Month 4
We will build and validate the core DevStudio platform, including the hosted Sandbox workflow, before making it available to external developers.
Deliverables
- Browser IDE, project storage, import/export, syntax highlighting and diagnostics.
- Remote DPM compilation, dependency management, Daml Script testing and DAR deployment/redeployment.
- Isolated hosted Sandbox provisioning, reset and deletion; authorized development identities, supported test assets and balance display.
- Basic contract creation, choice execution and inspection of party-visible ledger state and transaction results.
- Four runnable starter examples, with documented dependencies and automated validation.
- Authentication, session lifecycle, quotas, resource cleanup, operational monitoring.
- Open-source repository, deployment guide for the hosted Sandbox release, supported version matrix, and a benchmark report covering resource use and at least ten concurrent isolated Sandbox environments.
Acceptance criteria
A reviewer can open DevStudio, create or import a project, edit Daml, compile it, run a test, provision a Sandbox, deploy the DAR, create a contract, exercise a supported choice, inspect the result and reset the environment without installing local Canton tooling.
All requirements in the feature matrix are demonstrated. The reviewer can export the source project and reproduce the documented build using a supported SDK. Automated isolation and cleanup tests pass, and benchmark evidence and operational documentation are available. The platform is ready for invited Foundation users.
Milestone 2 — Foundation hosting, hackathon and public-launch readiness
Funding: 4,000,000 CC
Target: End of Month 6
We will operate DevStudio with the Foundation, validate it through real developer use and prepare the platform for broader access.
Deliverables
- Foundation-approved hosted deployment and closed beta for a limited cohort of Foundation-selected developers.
- On-demand, isolated and resettable full Splice LocalNet environments powered by DevKit, including supported test Canton Coin and wallet/faucet workflows.
- Remaining Milestone 2 features: autocomplete, restricted TypeScript client script execution, supported client code generation.
- Tutorial catalogue with at least eight runnable examples in total.
- One hackathon in collaboration with the Canton Foundation.
- Measured beta and hackathon results, including time to first deployment, successful builds, deployments and provisioning, peak concurrency, failures, feedback and infrastructure costs.
- Full deploy and hosting documentation plan (architecture, deployment, capacity, operations runbooks, upgrade matrix), public access policy, rate limits, capacity and spending controls, privacy and retention guidance, and an estimate for ongoing operations for long term maintainance.
Acceptance criteria
A test run in one foundation hackathon or foundation approved hackathon, with usage evidence. All Milestone 2 requirements are demonstrated, and critical/high security findings if any are resolved.
The platform is ready to open to the broader developer community under agreed usage and resource limits. Actual unrestricted public launch and indefinite free hosting are not part of this. Event date and cohort will be agreed with the Foundation.
Acceptance Criteria
The Tech & Ops Committee will evaluate each milestone using the functional demonstrations, documentation, tests and operational evidence described above. Evidence will include a release tag or commit, deployment instructions, a reviewer walkthrough, test results and relevant benchmark or usage reports.
M1 is a technical delivery and readiness milestone. M2 is a hosting, pilot and public-readiness milestone. External tooling that is not available or compatible at the time of delivery will not prevent acceptance if the required functionality is provided through the core implementation.
Funding
Total Funding Request: 7,999,000 CC: 3,999,000 CC for Milestone 1 and 4,000,000 CC for Milestone 2.
| Milestone | Payment upon acceptance |
|---|
| M1 — Engineering delivery and hosted platform readiness | 3,999,000 CC |
| M2 — Foundation hosting, hackathon and public-launch readiness | 4,000,000 CC |
| Total | 7,999,000 CC |
The request covers the engineering, integration and hosting work needed to deliver and operate DevStudio through the Foundation beta and hackathon and prepare it for public access. It does not include indefinite public hosting.
Preliminary engineering effort
The following is a planning estimate for the expanded scope, not a final staffing commitment. We expect to use existing DevKit and ecosystem components wherever practical. The exact team allocation and estimates will be refined during the architecture work.
| Workstream | Person-weeks |
|---|
| Architecture and feasibility | 4–6 |
| Browser IDE and workspace management | 8–12 |
| Daml language server integration | 4–6 |
| Remote builds and testing | 6–9 |
| Sandbox and LocalNet orchestration | 10–14 |
| Wallet, development parties and faucet | 5–8 |
| Contract interaction and ledger inspection | 6–9 |
| Client script execution and code generation | 4–7 |
| Tutorials and application templates | 8–12 |
| Ecosystem tooling integration | 5–8 |
| Security and multi-tenant isolation | 8–12 |
| Foundation hosting and hackathon operations | 6–9 |
| QA, scalability and operational readiness | 8–12 |
| Documentation and DevRel | 4–6 |
| Total | 86–130 |
Maintenance and ongoing hosting
The grant includes hosting during the agreed engineering, closed beta and hackathon period, operational documentation, handover and a proposed 30-day post-acceptance period for fixing reproducible defects in the delivered software. Public launch and continued maintainance will be part of followup proposal.
Ongoing public hosting, routine operations, community support and future SDK upgrades beyond this period will be covered by a separate operating agreement or subsequent funding request based on measured usage. No permanent free-hosting or public SLA commitment is implied by this grant.
Volatility Stipulation
The proposed project duration is six months. If the timeline is extended beyond that period due to Committee-requested scope changes, any remaining milestone funding may be reviewed with the Committee to account for significant CC price volatility, subject to mutual agreement.
Co-Marketing
We will work with the Foundation to coordinate the closed beta, the hackathon and any subsequent public opening. We also plan to publish a short technical retrospective covering time to first deployment, developer feedback, the selected hosting architecture and operational costs.
Bit Dynamics has experience delivering Canton developer tooling through the approved Canton DevKit grant, the reference settlement and DEX proposal, and ongoing Canton and Splice engineering. We will use that experience to deliver DevStudio and coordinate with ecosystem tooling maintainers.
Motivation
The aim is to remove the initial setup barrier so that developers can try Canton before they commit to running their own infrastructure. A browser-based environment is particularly useful during hackathons and workshops, where setup problems consume time that should be spent learning and building.
For the Foundation, DevStudio can become a practical complement to the Developer Hub: documentation and compatible examples can link directly to a runnable project. For funded ecosystem teams, it offers another way to distribute their tools and reference implementations to developers.
We will measure time to first successful deployment, successful builds and transactions, developer feedback and usage during the closed beta and hackathon. These metrics will help determine whether broader hosting is worth the ongoing cost.
Rationale
We considered improving existing setup instructions, building a new LocalNet stack, using only a shared hosted ledger, and integrating existing browser-based Daml tools. Improving instructions is useful but does not remove the installation burden. Building another LocalNet or compiler would duplicate existing work. A shared ledger alone would not provide independently resettable development environments for all use cases.
The proposed approach combines a lightweight Sandbox profile with a full LocalNet option and a browser interface over the existing development toolchain. This keeps introductory learning inexpensive while preserving a path to more realistic Canton application testing.