Closed AndrewChupin closed 9 months ago
It looks like there was an error loading the zk wasm file
Is that how you use it:
const client = Client.create(GRPC_URL, String(GREEN_CHAIN_ID), {
zkCryptoUrl:
'https://unpkg.com/@bnb-chain/greenfield-zk-crypto@0.0.3/dist/node/zk-crypto.wasm',
});
doc: https://docs.bnbchain.org/greenfield-js-sdk/client/greenfield-client/
Yeah, it works thanks
During offchain auth I get an error, deployment on localhost:8082:
Failed to execute 'compile' on 'WebAssembly': Incorrect response MIME type. Expected 'application/wasm'.