fluence-nodejs-template/aqua/hello-world.aqua

9 lines
189 B
Plaintext
Raw Permalink Normal View History

2022-02-04 15:37:40 +00:00
module HelloWorld declares getRelayTimestamp
import "@fluencelabs/aqua-lib/builtin.aqua"
func getRelayTimestamp() -> u64:
on HOST_PEER_ID:
ts <- Peer.timestamp_ms()
<- ts