Skip to content
This repository has been archived by the owner on Jun 13, 2023. It is now read-only.

Commit

Permalink
Minor updates to the README.
Browse files Browse the repository at this point in the history
  • Loading branch information
jpitts committed Nov 20, 2020
1 parent e4856c7 commit 9cf18d0
Showing 1 changed file with 20 additions and 12 deletions.
32 changes: 20 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ Please download and use the latest version of geth with the Ethereum Wallet Dapp
Important flags:
- "syncmode" flag - specify light or fast sync to save time and disk space
- "rpc" flag - opens a JSON-RPC service on port 8545
- "rpccorsdomain" flag - enables the browser's javascript to make use of the JSON-RPC service opened by geth
- "allow-insecure-unlock" - enables geth to unlock encrypted Ethereum keys while the JSON-RPC service is open
- "rpccorsdomain" flag - enables the dapp to make use of the JSON-RPC service opened by geth
- "allow-insecure-unlock" - enables geth to unlock Ethereum keys while the JSON-RPC service is open

### Ethereum Accounts

Expand All @@ -50,7 +50,8 @@ You must run geth with a special "allow-insecure-unlock" flag which enables you
$ geth --syncmode "light" --rpc --rpccorsdomain "https://wallet.ethereum.org" --allow-insecure-unlock
```

Wait for the node to sync, it may take a few minutes.
This is your "sync terminal". Wait for the node to sync, it may take a few minutes.


**In another terminal, attach to geth via CLI:**

Expand All @@ -59,28 +60,24 @@ Wait for the node to sync, it may take a few minutes.
>
```

List available Ethereum accounts in the CLI:
This is your "attach terminal".

(remember that these are stored in JSON files in geth's keystore directory)
List Ethereum accounts available to geth in the CLI:

```
> personal.listAccounts
> ['0x...']
```

Unlock the Ethereum account and, on prompt, enter the password::
Unlock the Ethereum account and, on prompt, enter the password:

```
> personal.unlockAccount('0x...')
> Unlock account 0x...
> Passphrase: **********
> Passphrase: * * *
```

You must lock the account back up!

```
> personal.lockAccount('0x...')
```
Once it is unlocked, you can operate on the value in your Ethereum account.


**Now open a non-Metamask browser to use the dapp**
Expand All @@ -91,6 +88,17 @@ The best result so far is using Firefox w/o Metamask extension installed.

Go to [https://wallet.ethereum.org](https://wallet.ethereum.org).

**Wrap-up**

When you are done operating, you must lock the account back up!

In the attach terminal:

```
> personal.lockAccount('0x...')
```



## Developing the Ethereum Wallet Dapp

Expand Down

0 comments on commit 9cf18d0

Please sign in to comment.