Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More Doc/Hep: How to send and receive ETH.. And how to connect to the TestRpc #15

Open
xuncai opened this issue Oct 8, 2017 · 19 comments
Labels

Comments

@xuncai
Copy link

xuncai commented Oct 8, 2017

Hi guys,
I am working on this wallet and trying to understand how it works and how the ethers works.

  1. without running the testrpc I can still import Wallet. So it seems to me it's not connected to my testrpc, is it right?
  2. How to connect to the testRpc and test it
  3. 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

@ricmoo
Copy link
Member

ricmoo commented Dec 20, 2017

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.

@ozamihir1990
Copy link

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?

@ricmoo
Copy link
Member

ricmoo commented Jan 2, 2018

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.

@ozamihir1990
Copy link

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.

@longxiaoshi7788
Copy link

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!

@ricmoo
Copy link
Member

ricmoo commented Apr 12, 2018

Do you have the Ethers Wallet app installed?

It should automatically launch into the app.

@longxiaoshi7788
Copy link

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!

@longxiaoshi7788
Copy link

I installed the app by Xcode

@longxiaoshi7788
Copy link

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!

@ricmoo
Copy link
Member

ricmoo commented Apr 12, 2018

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?

@longxiaoshi7788
Copy link

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!

@longxiaoshi7788
Copy link

  • (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!

@piiq
Copy link

piiq commented May 7, 2018

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

@yuetloo
Copy link

yuetloo commented May 7, 2018

@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.

@piiq
Copy link

piiq commented May 7, 2018

@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

@yuetloo
Copy link

yuetloo commented May 7, 2018

@piiq, once you have testnet enabled, you can create accounts on testnet by:

  1. click on the cloud icon on the top left corner
  2. When the side menu displays, click on the "accounts" icon (looks like 3 persons) on the top left corner
  3. On the "Accounts" screen, click on the "Edit" button and then the "+" button to add a new account
  4. On the "Create New Account" screen, you will see "Mainnet" on the top right corner, click on it to change to "Ropsten".
  5. Follow instruction to create/import account
  6. 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.

@yuetloo
Copy link

yuetloo commented May 11, 2018

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

@winkeung
Copy link

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.

@yuetloo
Copy link

yuetloo commented Sep 10, 2019

@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".

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

7 participants