UNPKG

@nori-zk/ethprocessor

Version:

zkApp for verifying SP1 Helios Nori proof and storing latest execution state root on Mina

12 lines 529 B
import { Logger } from 'esm-iso-logger'; const logger = new Logger('EthProcessorTestUtils'); export async function getNewMinaLiteNetAccountSK() { const rpcUrl = process?.env?.MINA_RPC_NETWORK_URL || 'http://localhost:8080/graphql'; const url = new URL(rpcUrl); const host = url.hostname; const response = await fetch(`http://${host}:8181/acquire-account`); const data = await response.json(); logger.log(`Received new sk from acquire account.`); return data.sk; } //# sourceMappingURL=testUtils.js.map