import { Ecanna } from "ecanna/dist" import { InfoAPI } from "ecanna/dist/apis/info" const ip: string = "localhost" const port: number = 9650 const protocol: string = "http" const networkID: number = 1337 const ecanna: Ecanna = new Ecanna(ip, port, protocol, networkID) const info: InfoAPI = ecanna.Info() const main = async (): Promise => { const chain: string = "TKN" const bootstrapped: boolean = await info.isBootstrapped(chain) console.log(bootstrapped) } main()