Function
getWasmChunkStoreId
(network: string = 'local')
Source from the content-addressed store, hash-verified
| 9 | } |
| 10 | |
| 11 | export const getWasmChunkStoreId = (network: string = 'local'): Principal => { |
| 12 | const maybeCanisterId = execSync(`dfx canister id wasm_chunk_store --network ${network}`) |
| 13 | .toString() |
| 14 | .trim(); |
| 15 | |
| 16 | return Principal.fromText(maybeCanisterId); |
| 17 | }; |
| 18 | |
| 19 | export const applicationToRegistryEntryMap: Record<Application, string> = { |
| 20 | [Application.Station]: '@orbit/station', |
Tested by
no test coverage detected