update client

This commit is contained in:
liangping 2023-05-14 14:23:49 +08:00
parent b195e72554
commit f48c9b8a79
2 changed files with 4 additions and 4 deletions

View File

@ -26,8 +26,8 @@ export class BaseRestClient<R extends AbstractRegistry> {
}
export class CosmosRestClient extends BaseRestClient<RequestRegistry> {
constructor(endpoint: string) {
super(endpoint, DEFAULT)
static newDefault(endpoint: string) {
return new CosmosRestClient(endpoint, DEFAULT)
}
// Auth Module
async getAuthAccounts() {

View File

@ -44,8 +44,8 @@ export const useBlockchain = defineStore('blockchain', {
// if(cointype === "60") {
// return `m/44'/${cointype}`
// }
// return `m/44'/${cointype}/0'/0/0`
return "connected-wallet"
return `m/44'/${cointype}/0'/0/0`
//return "connected-wallet"
},
dashboard() {
return useDashboard();