mirror of
https://github.com/fluencelabs/fluence-nodejs-template
synced 2024-12-05 03:00:23 +00:00
9 lines
189 B
Plaintext
9 lines
189 B
Plaintext
module HelloWorld declares getRelayTimestamp
|
|
|
|
import "@fluencelabs/aqua-lib/builtin.aqua"
|
|
|
|
func getRelayTimestamp() -> u64:
|
|
on HOST_PEER_ID:
|
|
ts <- Peer.timestamp_ms()
|
|
<- ts
|