mirror of
https://github.com/fluencelabs/aqua-playground
synced 2025-04-30 14:52:25 +00:00
14 lines
407 B
TypeScript
14 lines
407 B
TypeScript
|
#!/usr/bin/env node
|
||
|
|
||
|
import { createClient } from "@fluencelabs/fluence";
|
||
|
import { testNet } from "@fluencelabs/fluence-network-environment";
|
||
|
import { getPeerExternalAddresses } from "./compiled/helloWorld";
|
||
|
|
||
|
const main = async () => {
|
||
|
const client = await createClient(testNet[0]);
|
||
|
const addresses = getPeerExternalAddresses(client);
|
||
|
console.log("Relay external addresses: ", addresses);
|
||
|
};
|
||
|
|
||
|
main();
|