mirror of
https://github.com/oceanprotocol-archive/squid-js.git
synced 2024-02-02 15:31:51 +01:00
14 lines
298 B
TypeScript
14 lines
298 B
TypeScript
import {Logger, Ocean} from "../squid"
|
|
import config from "./config"
|
|
import {runner} from "./runner"
|
|
|
|
async function exec() {
|
|
const ocean: Ocean = await Ocean.getInstance(config)
|
|
|
|
const accounts = await ocean.getAccounts()
|
|
|
|
Logger.log(JSON.stringify(accounts, null, 2))
|
|
}
|
|
|
|
runner(exec)
|