mirror of
https://github.com/fluencelabs/examples
synced 2025-04-25 10:42:16 +00:00
10 lines
280 B
Plaintext
10 lines
280 B
Plaintext
|
import "@fluencelabs/aqua-lib/builtin.aqua"
|
||
|
|
||
|
service HelloWorld("HelloWorld"):
|
||
|
recieveHello(from: PeerId) -> string
|
||
|
|
||
|
func sayHello(peerId: PeerId, relayPeerId: PeerId) -> string:
|
||
|
on peerId via relayPeerId:
|
||
|
res <- HelloWorld.recieveHello(%init_peer_id%)
|
||
|
<- res
|