Rholang is an open source contract language created in 2016.
#407on PLDB | 8Years Old |
git clone https://github.com/rchain/rchain
Rholang is an open and scalable blockchain language designed for speed, reliability and formal process orchestration build on latest research in the reflective high order process calculus.
new helloworld, stdout(`rho:io:stdout`) in {
contract helloworld( world ) = {
for( @msg <- world ) {
stdout!(msg)
}
} |
new world, world2 in {
helloworld!(*world) |
world!("Hello World") |
helloworld!(*world2) |
world2!("Hello World again")
}
}