FundRing / fundring

This is a community fund for the Filecoin ecosystem that allows participants to contribute to projects they're interested in.
MIT License
5 stars 0 forks source link

Native FIL support to showcase FILSnap usage in a dapp #5

Closed bmann closed 12 months ago

bmann commented 1 year ago

Currently FEVM-compatible wallets are used to interact with the app, and FEVM smart contracts are deployed by project maintainers.

With FILSnap being available for MetaMask, we can showcase this support as well as support any other native FIL wallets (Brave, FILFox?) for funding.

This also opens up a place for other native Fil functions, like vesting and multisigs.

avivash commented 1 year ago

I've got this deployed to a staging domain for now.

https://www.loom.com/share/80c56f24347846e59af5eb968b37e899?sid=7cc6edb7-7fd7-4db5-b912-3be6796809a6

PR is up here

bmann commented 1 year ago

@avivash I don't actually know how you got this working but it looks like FEVM and FILSnap native are mixed in here.

I think the only thing we can do right now is send FIL.

So, as this shows -- connect via FILSnap, and then you are connected with a native FIL wallet (even though MM shows an FEVM address?). There seems to be a mix of the two in the way this is implemented now.

We can't fetch details of the FEVM contract for this project ... since we're on the FIL chain. So what we can do is VERY limited. We should have some language around this and point at FILsnap README

As discussed with @hugomrdias -- it's not clear to me where FIL.js -- aka the FIL native connector for FIL native dapps -- lives. It may be inside FILsnap right now, but it also should be separate, and expose native FIL functionality / RPC functionality -- check balance, multisig, vesting, deals, and any other native actor functionality over time. This is a long term project about proper connectivity for wallets to the FIL Chain.

walkah commented 1 year ago

PR available: https://github.com/FundRing/fundring/pull/8

avivash commented 12 months ago

Deployed