A MetaMask Snap to add Filecoin support to the MetaMask extension.
demo - Preact demo dapp using filsnap-adapter to interact with filsnap.insights-wagmi - Wagmi example using filsnap-adapter to enable transaction insights for smart contract calls.fil-forwarder-viem - Viem example to send FIL using FilForwarder contract.Clone any example in the /examples folder on StackBlitz using:
https://stackblitz.com/github/filecoin-project/filsnap/tree/master/examples/insights-wagmi
To clone it locally:
npx tiged filecoin-project/filsnap/examples/demo filsnap-demo
cd filsnap-demo
pnpm install
pnpm dev
You can try any of the examples by replacing demo with the name of the example you want to try.
Read contributing guidelines here.
Dual-licensed: MIT, Apache Software License v2, by way of the Permissive License Stack.
Filsnap v1.0.1 - The FilSnap v0.5.0 was audited by ConsenSys Diligence in August 2023 with a follow-up assessment of fixes conducted in October 2023, leading to the release of filsnap-v1.0.1. The complete audit report is available here in the audits/ directory as well as on the ConsenSys Diligence website.