Introduction
The Fuel team has recently developed a wallet connector library that integrates MetaMask, which can be found here. A demo of the current implementation is available here. While this is a significant step forward, there are some critical issues that need to be addressed for better user experience, especially for mainnet user onboarding.
Current Implementation and Issues
In the current implementation, connecting MetaMask to the Fuel network creates a new predicate used to sign transactions. This results in the user receiving a new address associated with their MetaMask address. However, this approach presents two major challenges:
-
Funding the Predicate Address:
- Users need to manually copy the associated Fuel address (predicate address) and send ETH to it. This additional step is cumbersome and can be a barrier for new users.
-
Lack of Token Information:
- It is unclear what tokens the predicate holds, as there are no names or amounts displayed. This lack of transparency can confuse users and deter them from using the platform.
Alternative Solutions from Other Non-EVM Chains
During our discussions, Luis Felipe mentioned that these issues arise because Fuel is a non-EVM chain. However, other non-EVM chains like Waves and Solana have found innovative solutions to similar problems:
-
Waves: Network Switching within MetaMask
- Waves has managed to switch networks directly within MetaMask. This allows users to seamlessly switch to the Waves network without needing to handle multiple addresses manually.
- Waves has managed to switch networks directly within MetaMask. This allows users to seamlessly switch to the Waves network without needing to handle multiple addresses manually.
-
Solana: MetaMask Snap and Additional UI
- Solana has developed a MetaMask snap and an additional UI to check balances, providing a more integrated and user-friendly experience.
- Solana has developed a MetaMask snap and an additional UI to check balances, providing a more integrated and user-friendly experience.
Proposal for Fuel Network
Given the successful implementations by Waves and Solana, it is crucial to explore if similar solutions can be adapted for the Fuel network. Improving the user experience is vital for wider adoption, and addressing the current UX issues should be a priority.
Potential Solutions:
- Network Switching: Implement a feature that allows users to switch networks within MetaMask, similar to Waves.
- Enhanced UI for Balances: Develop an additional UI within MetaMask to display token names and amounts, akin to Solana’s approach.
Conclusion
The current user experience for connecting MetaMask to the Fuel network has significant drawbacks that could hinder user adoption.
Let’s discuss the feasibility of these solutions and collaborate on finding the best approach to improve our MetaMask connector.