Re:Obsidian: A safer blockchain programming language
by ssalka on Friday May 31, 2019 @06:12PM
(#20065504)
Sorry, but without even a basic set of easily-accessible examples, you will immediately lose a significant percentage of programmers and engineers.
[ Parent
| on HN ]
Re:Obsidian: A safer blockchain programming language
by jupp0r on Friday May 31, 2019 @10:25PM
(#20066783)
Agreed, they should have put the code from the paper on the front page:
main contract Policy {
state Offered {
int cost ;
int expirationTime ;
}
state Active {}
state Expired {}
Policy@Offered ( int c , int expTime ) {
-> Offered ( cost = c , expirationTime = expTime );
}
transaction activate ( Policy@Offered >> Active this ) {
-> Active ;
}
transaction expire ( Policy@Offered >> Expired this ) {
-> Expired ;
}
}
Re:Obsidian: A safer blockchain programming language
by Legogris on Friday May 31, 2019 @07:05PM
(#20065895)
> Obsidian is currently under development and is not ready for general use. For more details about Obsidian, for now, please read our papers. Want to help? Participate in our user study.
What you are looking for is not in scope for this publication. Keep in mind that this is an academic project.