Archived Content from Web3Auth Community
This topic was originally posted by ryukato79 on 8/11/2023.
This content has been migrated from our previous community forum to preserve valuable discussions.
I found the codes like below
const nodeDetails = await this.nodeDetailManager.getNodeDetails({ verifier: "test-verifier", verifierId: "test@example.com" });
<a href="https://github.com/Web3Auth/mpc-core-kit/blob/861ae7980914a67fc619e11af35e2344628fca54/src/mpcCoreKit.ts#L123" target="_blank" rel="noopener nofollow ugc">github.com</a>
<pre class="onebox"><code class="lang-ts">
<ol class="start lines" start="113" style="counter-reset: li-counter 112 ;">
<li>this.sessionManager = new OpenloginSessionManager({</li>
<li> sessionTime: this.options.sessionTime,</li>
<li> sessionId,</li>
<li>});</li>
<li></li>
<li>this.nodeDetailManager = new NodeDetailManager({</li>
<li> network: this.options.web3AuthNetwork,</li>
<li> enableLogging: true,</li>
<li>});</li>
<li></li>
<li class="selected">const nodeDetails = await this.nodeDetailManager.getNodeDetails({ verifier: "test-verifier", verifierId: "test@example.com" });</li>
<li></li>
<li>if (!nodeDetails) {</li>
<li> throw new Error("error getting node details, please try again!");</li>
<li>}</li>
<li></li>
<li>this.torusSp = new TorusServiceProvider({</li>
<li> useTSS: true,</li>
<li> customAuthArgs: {</li>
<li> web3AuthClientId: this.options.web3AuthClientId,</li>
<li> baseUrl: this.options.baseUrl ? this.options.baseUrl : `${window.location.origin}/serviceworker`,</li>
</ol>
</code></pre>
It looks like still not ready for PROD, because I see { verifier: "test-verifier", verifierId: "test@example.com" }. if this is prod ready, then I guess verifier and verifierId are supposed to be from a project. right?
I appreciate if you let me know there is something wrong.
Also could you let me know if you do have a plan to support cosmos chains?
vjgee
August 11, 2023, 12:38pm
2
@ryukato79 Welcome Aboard!
Your request has been forwarded to our team and we will get back with further updates once more information becomes available.