ChainSafe / filsnap

MetaMask snap for interacting with Filecoin dapps.
https://filsnap.chainsafe.io
Apache License 2.0
106 stars 41 forks source link

Demo not work #80

Closed badkk closed 2 years ago

badkk commented 3 years ago

I clone the proj, install the beta-metamask. Run:

  1. yarn
  2. yarn demo
  3. yarn global add snap-cli

but with the following error:

image

badkk commented 3 years ago

I was wondering if that because of the wrong version of snap-cli? My snap-cli version is 0.4.1

MakMuftic commented 3 years ago

Hi, I cloned a fresh instance of repo and then run yarn followed by yarn start demo - and everything seems to be working properly.

I think that your snap-cli version is an actual problem - we had to use our fork of snap-cli to successfully implement all functionalities, so in this repo, we are using @nodefactory/snaps-cli (version 1.5.0).

piotr-roslaniec commented 3 years ago

@MakMuftic Could you share a bit more about prerequisites to run the demo? I've tried running it with different versions of metamask-snaps-beta but I always arrive at issue with RPC Error: Plugin RPC message handler not found.

Edit: It works with 9.3.0 version of MetaMask/metamask-filecoin-developer-beta. I also found this fork of filesnap to be interesting.

longfeiWan9 commented 2 years ago

@zikunfan @piotr-roslaniec any luck of running this demo with 9.3.0 beta ?