Nethereum / Nethereum.Templates.Metamask.Blazor

Metamask + Nethereum + Blazor interop
Apache License 2.0
87 stars 31 forks source link

Include call interop for the current network #1

Closed rakeshkgsg closed 2 years ago

rakeshkgsg commented 3 years ago

Hi,

Would we be able to check that the user is on the mainnet or test network and also if they are on the ethereum or binance chain. I think this has to do with the network method which is currently not implemented. Is there a chance to get that working so that we can confirm if tye user has indeed trasnferred the koney to oir address on the ether or bsc chain.

juanfranblanco commented 3 years ago

Yes, it is in the todo list. Things will change with metamask with 1559 so I will put then there.

juanfranblanco commented 2 years ago

The preferred way to get the current network is to use web3.Eth.ChainId it is included in the template