trustwallet / trust-wallet-ios

:iphone: Trust - Ethereum Wallet and Web3 DApp Browser for iOS
https://trustwallet.com
GNU General Public License v3.0
1.52k stars 721 forks source link

Can I use a testnet from the iOS app? #908

Closed evansjohnson closed 6 years ago

evansjohnson commented 6 years ago

This issue implies that at some point you could easily switch to a testnet. I have gone through all of the in-app settings and could not find anything.

AdMeen89 commented 6 years ago

Hey @evansjohnson.

Unfortunately, it seems this option has been removed from application. If you look at the RPCServer.swift file and its early commits (eg 313c26c), you'll see that kovan, ropsten and other testnets have been contained but they later have been removed.

AdMeen89 commented 6 years ago

I've attached a example of supporting ropsten testnet. You can use it or create own implementation. It isn't a beautiful code but it works. ropsten-diff.txt

vikmeup commented 6 years ago

I would recommend testing dapp development on MetaMask. We might be adding test networks back later, for now focus on delivering simpler interface for the users.

evansjohnson commented 6 years ago

I understand and appreciate the desire for delivering a simple interface! Although the "Developer" submenu in settings seems like an unobtrusive place for this setting to live 🙂

I mainly wanted to test support for EIP712 typed data message signing which I now see there is an open issue for here #825

I will keep an eye on that issue and lookout for testnet support so I can ensure our dApp will be compatable with Trust Wallet when we launch on mainnet!

masterial commented 6 years ago

@vikmeup Lame.

vikmeup commented 6 years ago

@evansjohnson 721 is implemented on the iOS side, should be available within a couple of days on App Store. @hewigovens

theone3nu commented 5 years ago

I've attached a example of supporting ropsten testnet. You can use it or create own implementation. It isn't a beautiful code but it works. ropsten-diff.txt

How to use this file. What to do inorder to get test net accounts in trust wallet in ios simulator