aboutsummaryrefslogtreecommitdiffstats
path: root/packages/subproviders/README.md
diff options
context:
space:
mode:
authorFabio Berger <me@fabioberger.com>2018-03-08 04:44:11 +0800
committerFabio Berger <me@fabioberger.com>2018-03-08 04:44:11 +0800
commitbd8b8abfea725dbf0826af407ca1f409a88701bf (patch)
tree4eeda3f02569b4c92b1d5f9a38f67b882bd77643 /packages/subproviders/README.md
parent1a6c2e2baca33ce377b86f30abe0c16619a3577c (diff)
downloaddexon-sol-tools-bd8b8abfea725dbf0826af407ca1f409a88701bf.tar
dexon-sol-tools-bd8b8abfea725dbf0826af407ca1f409a88701bf.tar.gz
dexon-sol-tools-bd8b8abfea725dbf0826af407ca1f409a88701bf.tar.bz2
dexon-sol-tools-bd8b8abfea725dbf0826af407ca1f409a88701bf.tar.lz
dexon-sol-tools-bd8b8abfea725dbf0826af407ca1f409a88701bf.tar.xz
dexon-sol-tools-bd8b8abfea725dbf0826af407ca1f409a88701bf.tar.zst
dexon-sol-tools-bd8b8abfea725dbf0826af407ca1f409a88701bf.zip
Improve README
Diffstat (limited to 'packages/subproviders/README.md')
-rw-r--r--packages/subproviders/README.md12
1 files changed, 5 insertions, 7 deletions
diff --git a/packages/subproviders/README.md b/packages/subproviders/README.md
index 53fbb2348..4614342b2 100644
--- a/packages/subproviders/README.md
+++ b/packages/subproviders/README.md
@@ -64,12 +64,6 @@ ledgerSubprovider = new LedgerSubprovider({
});
```
-##### Testing Subprovider + Ledger integration
-
-To run our integration tests you need a ledger configured with our development mnemonic seed.
-Our development mnemonic is `concert load couple harbor equip island argue ramp clarify fence smart topic`.
-Configure your ledger and run the integration tests. We assume a derivation path of `m/44'/60'/0'/0` and this is configured in the tests. With this setup and derivation path, your first account should be `0x5409ed021d9299bf6814279a6a1411a7e866a631`, exactly like TestRPC.
-
#### Redundant RPC subprovider
A subprovider which attempts to send an RPC call to a list of RPC endpoints sequentially, until one of them returns a successful response.
@@ -132,10 +126,12 @@ yarn run test:unit
In order to run the integration tests, make sure you have a Ledger Nano S available.
+* Setup your Ledger with the development mnemonic seed: `concert load couple harbor equip island argue ramp clarify fence smart topic`
* Plug it into your computer
* Unlock the device
* Open the on-device Ethereum app
-* Make sure "browser support" is disabled
+* Make sure "browser support" and "contract data" are disabled
+* Start [TestRPC](https://github.com/trufflesuite/ganache-cli) locally at port `8545`
Then run:
@@ -143,6 +139,8 @@ Then run:
yarn test:integration
```
+**Note:** We assume a derivation path of `m/44'/60'/0'/0` which is already configured in the tests. With this setup and derivation path, your first account should be `0x5409ed021d9299bf6814279a6a1411a7e866a631`, exactly like TestRPC.
+
#### All tests
```bash