snaps icon indicating copy to clipboard operation
snaps copied to clipboard

Permitted error for snap invoking the other snap

Open huweihong opened this issue 1 year ago • 1 comments

According the example https://github.com/MetaMask/snaps/tree/main/packages/examples/packages/invoke-snap , I wrote two snaps: snapA: local:http://localhost:8080 snapB: local:http://localhost:8081

snapA invoke snapB, but there is the permitted error. Are there some other configures?

image

huweihong avatar Apr 16 '24 16:04 huweihong

I added the permission in the snap.manifest.json of snapB :

 "initialPermissions": {
    "endowment:rpc": {
      "snaps": true
    },
  }, 

But there is the following error:

image

huweihong avatar Apr 26 '24 09:04 huweihong