MCPcopy Create free account
hub / github.com/circlefin/arc-node / createBuilderContext

Function createBuilderContext

scripts/genesis/context.ts:109–116  ·  view source on GitHub ↗
({ network, chainId }: { network: Network; chainId: number })

Source from the content-addressed store, hash-verified

107}
108
109export const createBuilderContext = async ({ network, chainId }: { network: Network; chainId: number }) => {
110 return {
111 network: schemaNetwork.parse(network),
112 chainId,
113 projectRoot,
114 contractLoader: ContractLoader.load(network, chainId),
115 }
116}
117
118export type BuilderContext = Awaited<ReturnType<typeof createBuilderContext>>

Callers 4

buildFunction · 0.90
buildFunction · 0.90
buildFunction · 0.90
buildFunction · 0.90

Calls 2

loadMethod · 0.80
parseMethod · 0.45

Tested by

no test coverage detected