mirror of
https://github.com/fluencelabs/examples
synced 2025-05-07 00:22:15 +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
|