Top 1,000 Features Creators Events Podcasts Extensions Blog Explorer CSV Download


< >

Sophia is a contract language created in 2018 by Robert Virding.

#875on PLDB 6Years Old
Download source code:
git clone

Stand alone compiler for the Sophia smart contract language

Sophia Keywords
contract library entrypoint function stateful state hash signature tuple list address string bool int record datatype type option oracle oracle_query Call Bits Bytes Oracle String Crypto Address Auth Chain None Some bits bytes event let map private public true false var if else throw

Language features

Feature Supported Token Example
Conditionals โœ“
Access Modifiers โœ“
Functions โœ“
Exceptions โœ“
Booleans โœ“ true false
Comments โœ“
// A comment
MultiLine Comments โœ“ /* */
/* A comment
Line Comments โœ“ //
// A comment
Strings โœ“

View source

- Build the next great programming language ยท About ยท Resources ยท Acknowledgements ยท Part of the World Wide Scroll