Skip to content

Commit

Permalink
feat(cache.config): add EWC config
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhender committed Dec 14, 2021
1 parent 6353a20 commit f42ba11
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/config/cache.config.ts
@@ -1,11 +1,15 @@
import { EWC_CHAIN_ID, VOLTA_CHAIN_ID } from "@energyweb/iam-contracts";
import { CacheServerClientOptions } from "../modules/cacheClient/cacheClient.types";
import { VOLTA_CHAIN_ID } from "../utils/constants";

const cacheConfig: Record<number, CacheServerClientOptions> = {
[VOLTA_CHAIN_ID]: {
url: "https://volta-identitycache.energyweb.org/v1/",
cacheServerSupportsAuth: true,
},
[EWC_CHAIN_ID]: {
url: "https://identitycache.energyweb.org/v1/",
cacheServerSupportsAuth: true,
},
};

/**
Expand Down

0 comments on commit f42ba11

Please sign in to comment.