Closed zhuofanxu closed 5 years ago
If you are looking for where it sets the network to use, it's in Trust/Transactions/Storage/Session.swift line 32
And the web3 provider is set in JS inside Trust/Browser/Factory/WKWebViewConfiguration.swift line 23
Hope that helps.
thanks for reply! but i'm looking for is that var web3Provider = new Trust(config); var web3 = new Web3(web3Provider)
like in chrome extension 'metamask'
I find over the project and can't find the part of TrustWeb3Provider instantiation for web3 instance . could you explain it ? thanks!