Filecoin metamask snap and related packages to enable developers to add Filecoin integration to their dapps.
- filsnap - Filecoin snap for metamask
- filsnap-adapter - Adapter to interact with Filsnap from a dapp
- filsnap-adapter-react - React hooks to interact with Filsnap from a dapp
demo
- Preact demo dapp using filsnap-adapter to interact with filsnapfil-forwarder-viem
- Viem example to send FIL using FilForwarder contract.
You can use Codesandbox: https://githubbox.com/filecoin-project/filsnap/tree/main/examples/demo and start hacking right away.
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.