mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-06-28 07:11:52 +00:00
move examples, use index.ts as playground, update aqua-cli version
This commit is contained in:
6
src/examples/onCall.ts
Normal file
6
src/examples/onCall.ts
Normal file
@ -0,0 +1,6 @@
|
||||
import {FluenceClient} from "@fluencelabs/fluence";
|
||||
import {getPeerExternalAddresses} from "../compiled/on";
|
||||
|
||||
export async function onCall(client: FluenceClient): Promise<string[]> {
|
||||
return await getPeerExternalAddresses(client, client.relayPeerId!)
|
||||
}
|
Reference in New Issue
Block a user