Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
await handleApiError(async () => {
client = await Universal({
url: network.url,
internalUrl,
accounts: [AeSDK.MemoryAccount({
keypair
})],
nativeMode: true,
networkId: network.networkId,
compilerUrl: network.compilerUrl
})
});