mirror of
https://github.com/fluencelabs/examples
synced 2025-06-13 01:51:20 +00:00
Update all js-related examples to the latest version of JS SDK and Aqua compiler (#20)
This commit is contained in:
@ -0,0 +1,6 @@
|
||||
import "@fluencelabs/aqua-lib/builtin.aqua"
|
||||
|
||||
func getRelayTime(relayPeerId: PeerId) -> u64:
|
||||
on relayPeerId:
|
||||
ts <- Peer.timestamp_ms()
|
||||
<- ts
|
Reference in New Issue
Block a user