EthersWallet-ios
EthersWallet-ios copied to clipboard
More Doc/Hep: How to send and receive ETH.. And how to connect to the TestRpc
Hi guys, I am working on this wallet and trying to understand how it works and how the ethers works.
- without running the testrpc I can still import Wallet. So it seems to me it's not connected to my testrpc, is it right?
- How to connect to the testRpc and test it
- how can I use the ethers to send and receive eth? any example codes in the project or any simple example so I can follow?
My goal is to understand how the wallet and the ethers framework work with the testrpc or the testnet. Then I can do more interesting and useful features for this wallet and turn this into a more cool project. Thanks
You cannot connect to a TestRPC, but you can use Ropsten, Rinkeby and Kovan testnets.
To enable these networks, once you have the application installed, on your device go to https://ethers.io/app-link/#!debug and toggle the "enable testnet".
Then when you create a new account, there will be an option in the right button of the navigation bar to choose the network you wish to have the account connect to.
I can't see the toggle button in Create new account screen to enable testnet . I want to use Ropsten testnet, How can I change from mainnet to Ropsten?
Have you clicked the above link? If you click it from your device it should take you to a debug screen to enable testnets.
Then on the create/import there is a button in the navigation bar on the right to select your network.
I should put together a quick video on YouTube how to set up and create testnet accounts.
I think a video would be better who are new in Ethereum Blockchain. Because still, I can't see a button in the navigation bar in on create/import screen. and the above link is commented in appDelegate.
I have visited https://ethers.io/app-link/#!debug through the Safari browser, but I didn't get any response, what should I do, can you help me? I want to change the network to Ropsten, thank you!
Do you have the Ethers Wallet app installed?
It should automatically launch into the app.
I have installed the ether Wallet app, but it still tell me "This link requeires the Ethers Wallet iOS Application to be installed", can you help me? Thank you!
I installed the app by Xcode
I have changed the bundle id, and change groups to group.io.ethers.ethers. because if i don't change them, i wouldn't run it. Apple don't allow us to create apple id which contains like "app". I don't know whether this problem connected with the changes. Thank you!
Hmmm... That may be causing a problem, since the server at ethers.io exposes the app id to use, which includes the Team ID.
I will update this soon to use the Settings instead, which should make it easier.
In the meantime, the quickest thing to do is probably add the following to the AppDelegate.m file in the didFinishLaunchingWithOptions: method.
[NSTimer scheduledTimerWithTimeInterval:1.0f repeats:NO block:^(NSTimer *timer) {
[_wallet showDebuggingOptions:WalletOptionsTypeDebug callback:nil];
}];
That will cause the dialog box to show up 1s after launching. Once you have enabled the testnets and custom dapp entry, you can comment those lines out.
Does that make sense?
Thanks for your answer. I have added it to the AppDelegate.m file in the didFinishLaunchingWithOptions: method, but it's not working. I want to know that when you can update this, it's very important for my work. Thank you!
- (Cancellable*)decryptSecretStorageJSON:(NSString *)json password:(NSString *)password callback:(void (^)(Account *, NSError *))callback Hello, I want to know how I can use the password to generate a private key, whether using this method. I also need you help that you can tell me the user of ‘json’ parameter. Thank you!
Hi, I have installed the app from App Store and clicked the https://ethers.io/app-link/#!debug link from all the browsers, including the one in the app. I get the "This link requeires the Ethers Wallet iOS Application to be installed" message. Any progress on connecting to testnet? I want to connect to Ropsten. Thank you
@piiq, from your iPhone, try clicking the link from the email app or notes app instead of entering the URL directly in a web browser.
Make sure you have the latest Ethers Wallet app with the debug link support installed on your iPhone.
@yuetloo thanks, the notes app worked. I got to a screen where I can enable testnets. After, when I started creating a new account - I saw a "Mainnet" link in upper-right corner with network selection. Thanks for your help
@piiq, once you have testnet enabled, you can create accounts on testnet by:
- click on the cloud icon on the top left corner
- When the side menu displays, click on the "accounts" icon (looks like 3 persons) on the top left corner
- On the "Accounts" screen, click on the "Edit" button and then the "+" button to add a new account
- On the "Create New Account" screen, you will see "Mainnet" on the top right corner, click on it to change to "Ropsten".
- Follow instruction to create/import account
- Once the ropsten account is created, you will notice the word "ROPSTEN" displayed on the top right corner on the account transaction screen. Mainnet accounts do not have any indicator on the top right corner.
I'll post a video on how to do this later.
Here's a video to show how to enable testnet option in ethers wallet, create a ropsten account, and receive test ether from the ropsten faucet.
https://www.youtube.com/watch?v=_sDurAbSatA&t=17s
Hi, any body know how to delete an account? I have tried uninstall and reinstall the app, but the account is still there. Thanks in advance.
@winkeung, from the "Accounts" screen, you can left swipe an account record to display the "manage" button. Click the "manage" button to display the screen with the options to "View Backup Phrase" and "Delete Account".