// Generated by Ignite ignite.com/cli
import { Registry } from '@cosmjs/proto-signing'
import { IgniteClient } from "./client";
import { MissingWalletError } from "./helpers";
{{ range .Modules }}import { IgntModule as {{ camelCaseUpperSta .Pkg.Name }}, msgTypes as {{ camelCaseUpperSta .Pkg.Name }}MsgTypes } from './{{ .Pkg.Name  }}'
{{ end }}

const Client = IgniteClient.plugin([
    {{ range $i,$module :=.Modules }}{{ if (gt $i 0) }}, {{ end }}{{ camelCaseUpperSta $module.Pkg.Name }}{{ end }}
]);

const registry = new Registry([
  {{ range .Modules }}...{{ camelCaseUpperSta .Pkg.Name }}MsgTypes,
  {{ end }}
])

export {
    Client,
    registry,
    MissingWalletError
}
