Skip to main content

Ask! vs ink!

If you have written contracts ink!, you can grab ask! quickly by simply understand their differences.

ink!Ask!
LanguageRustAssemblyScript
Overflow ProtectionEnabled by defaultNone
Constructor FunctionsMultipleMultiple
ToolingAnything that supports RustAnything that supports AssemblyScript
VersioningSemanticSemantic
Has metadata?YesYes
Multi-File ProjectPlannedYes
Storage EntriesVariableVariable
Has Interfaces?Yes (Rust Traits)Yes
Has Inheritance?NoYes
Support unit test?YesNo
Support cross-contract callsNot production readyYes