mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-05-30 13:11:38 +00:00
12 lines
452 B
TypeScript
12 lines
452 B
TypeScript
|
import { Fluence } from '@fluencelabs/fluence';
|
||
|
// import { smth, registerLocalSrv } from '../compiled/examples/closures';
|
||
|
import { relays } from '../config'
|
||
|
|
||
|
export async function closuresCall() {
|
||
|
const relayPeerId = Fluence.getPeer().getStatus().relayPeerId;
|
||
|
const selfPeerId = Fluence.getPeer().getStatus().peerId;
|
||
|
|
||
|
// registerLocalSrv({inside: () => console.log("call inside")})
|
||
|
|
||
|
// return smth(relays[2].peerId, relays[3].peerId)
|
||
|
}
|