Added a new prop supportedErc20Tokens to the chains config which defines the ERC20 token contract addresses that should be supported to send transactions with. The Safe info section shows a token selector with the respective balances and the selected token will be used by the Relay Kit demo.
Note: I didn't add the USDC contract addresses to Görli and Mumbai because it's not supported by Gelato in those networks, unfortunately. Instead, I added the addresses for WETH (Görli) and WMATIC (Mumbai) as they are the only supported ERC20 tokens.
Due to missing funds on main nets, I was not able to test in any network other than Görli and Mumbai yet.
What it solves
Resolves #6
Added a new prop
supportedErc20Tokens
to the chains config which defines the ERC20 token contract addresses that should be supported to send transactions with. The Safe info section shows a token selector with the respective balances and the selected token will be used by the Relay Kit demo.Note: I didn't add the USDC contract addresses to Görli and Mumbai because it's not supported by Gelato in those networks, unfortunately. Instead, I added the addresses for WETH (Görli) and WMATIC (Mumbai) as they are the only supported ERC20 tokens.
Due to missing funds on main nets, I was not able to test in any network other than Görli and Mumbai yet.