Skip to content
CCPEDIAby Unity Nodes
Discussions/App Development/Writing scripts without contract key uniquenessForum ↗

Writing scripts without contract key uniqueness

App Development3 posts460 views4 likesLast activity Apr 2021
SH
ShaulOP
Apr 2021

I’m building an app which will be deployed to a Canton based ledger.
One of my assumptions is that keys will not be unique in this app.

Is there a way to configure the sandbox to use the Canton semantics and not enforce uniqueness of contract keys?

CO
cocreature
Apr 2021

Both Sandbox (-classic) and Daml Studio always enforce uniqueness at this point so unfortunately the answer is no. Your only option for testing non-unique semantics is Canton itself.

SH
Shaul
Apr 2021

Thanks, I opened a feature request at Feature request: non-UCK mode in Daml studio · Issue #9549 · digital-asset/daml · GitHub

← Back to Discussions