MCPcopy Create free account
hub / github.com/dfinity/orbit / getWalletPath

Function getWalletPath

tests/e2e/config.ts:4–8  ·  view source on GitHub ↗
(path: string)

Source from the content-addressed store, hash-verified

2 process.env.WALLET_URL ?? 'http://werw6-ayaaa-aaaaa-774aa-cai.localhost:4943';
3
4export function getWalletPath(path: string) {
5 const url = new URL(walletUrl);
6 url.pathname = path;
7 return url.toString();
8}

Callers 2

goMethod · 0.90
gotoMethod · 0.90

Calls 1

toStringMethod · 0.80

Tested by

no test coverage detected