Closed user2745 closed 1 year ago
Hey! Sorry 😅 , i'm not familiar with DART. Does using ethereum.request instead of eth.raw? What does the base ethereum object look like in DART?
gotcha @BboyAkers we use this library - https://pub.dev/packages/web3dart
The base Ethereum object looks like normal ethereum - ref here https://pub.dev/documentation/web3dart/latest/browser/Ethereum-class.html
P.S. please @user2745 me so I can remember to check this in a timely manner. Thank you :)
@user2745 is there a test repo you have I can look at? I've been digging into it and looking at https://github.com/simolus3/web3dart/tree/master/example/metamask but no avail 😅. Is there an error message you're receiving?
Yessir! Please checkout SportsToken page on GitHub, I will send a link
@BboyAkers https://github.com/SportsToken/ax_dapp
Will be digging into this!
@BboyAkers did you get anywhere with this? LMK...
@httpJunkie I wasn't able to figure it out unfortunately 🙁, sorry @user2745
hey @BboyAkers we were able to build a solution that works. details are in the dapp but if you're unfamiliar with BLoC architecture may be confusing. I can include a direct link
Please do!! @user2745
I'm working with the AthleteX team to implement an 'Add AX token' button to metamask, and we're running into trouble.
Here is the code we've written:
Need - looking for dart support with metamask to make this process easier.