Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
bmann opened this issue Aug 14, 2023 · 4 comments
Closed

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

bmann opened this issue Aug 14, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request

Comments

@bmann
Copy link

bmann commented Aug 14, 2023

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.

  • Make UI / navigation to "fund with native FIL wallet"
  • Page at /filfund/ or similar which has the functionality

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

@bmann bmann added the enhancement New feature or request label Aug 14, 2023
@bmann bmann added this to the Native FIL Support milestone Aug 14, 2023
@avivash avivash self-assigned this Aug 21, 2023
@avivash
Copy link
Member

avivash commented Aug 24, 2023

@bmann
Copy link
Author

bmann commented Aug 31, 2023

@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

  • send funds to the fundring wallet with native FIL (this may be ALL we can do! very very simple)
  • fetch the balance of the FIL wallet for Fundring (@hugomrdias may need to extend some code to do this?)

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
Copy link

walkah commented Sep 6, 2023

PR available: #8

@avivash
Copy link
Member

avivash commented Sep 18, 2023

Deployed

@avivash avivash closed this as completed Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants