diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2017-12-20 01:55:48 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2017-12-20 01:55:48 +0800 |
commit | ca2bb60877dbefc2e4ed07f2a437cfc89538e133 (patch) | |
tree | d8929107f010284dba9ff6d7ac89cee8483a0c33 /packages/kovan-faucets/README.md | |
parent | 1316a2dd2a8971771f750d8a7f457212daad520b (diff) | |
download | dexon-sol-tools-ca2bb60877dbefc2e4ed07f2a437cfc89538e133.tar dexon-sol-tools-ca2bb60877dbefc2e4ed07f2a437cfc89538e133.tar.gz dexon-sol-tools-ca2bb60877dbefc2e4ed07f2a437cfc89538e133.tar.bz2 dexon-sol-tools-ca2bb60877dbefc2e4ed07f2a437cfc89538e133.tar.lz dexon-sol-tools-ca2bb60877dbefc2e4ed07f2a437cfc89538e133.tar.xz dexon-sol-tools-ca2bb60877dbefc2e4ed07f2a437cfc89538e133.tar.zst dexon-sol-tools-ca2bb60877dbefc2e4ed07f2a437cfc89538e133.zip |
Update readmes for connect, kovan-facuets, types, and utils packages
Diffstat (limited to 'packages/kovan-faucets/README.md')
-rw-r--r-- | packages/kovan-faucets/README.md | 46 |
1 files changed, 34 insertions, 12 deletions
diff --git a/packages/kovan-faucets/README.md b/packages/kovan-faucets/README.md index 8903440e3..70600fc9c 100644 --- a/packages/kovan-faucets/README.md +++ b/packages/kovan-faucets/README.md @@ -1,22 +1,35 @@ -Test Ether Faucet ----------------------- +@0xproject/kovan_faucets +------ This faucet dispenses 0.1 test ether to one recipient per second. It has a max queue size of 1000. +## Installation -## Install +This is a private package and therefore is not published to npm. In order to build and run this package locally, see the [Install Dependencies](#Install-Dependencies) section and onwards below. -Install project dependencies: +## Contributing +We strongly encourage our community members to help us make improvements and to determine the future direction of the protocol. To report bugs within this package, please create an issue in this repository. + +[CONTRIBUTING.md](../../CONTRIBUTING.md) + +### Install Dependencies + +If you don't have yarn workspaces enabled - enable them: +```bash +yarn config set workspaces-experimental true ``` -npm install + +Then install dependencies +```bash +yarn install ``` -## Start +### Start Set the following environment variables: -``` +```bash export FAUCET_ENVIRONMENT=development export DISPENSER_ADDRESS=0x5409ed021d9299bf6814279a6a1411a7e866a631 export DISPENSER_PRIVATE_KEY=f2f48ee19680706196e2e339e5da3491186e0c4c5030670656b0e0164837257d @@ -28,11 +41,11 @@ Infura API Key can be requested here: https://infura.io/register.html Note: The above public/private keys exist when running `testrpc` with the following option `--mnemonic concert load couple harbor equip island argue ramp clarify fence smart topic`. -``` -npm run dev +```bash +yarn dev ``` -## Endpoints +### Endpoints ```GET /ether/:recipient``` @@ -42,7 +55,6 @@ Where recipient_address is a hex encoded Ethereum address prefixed with `0x`. Where recipient_address is a hex encoded Ethereum address prefixed with `0x`. - ```javascript { "full": false, @@ -50,7 +62,7 @@ Where recipient_address is a hex encoded Ethereum address prefixed with `0x`. } ``` -## Docker configs +### Docker configs ``` docker run -d \ @@ -64,3 +76,13 @@ docker run -d \ -e FAUCET_ENVIRONMENT=production \ kovan-faucets ``` + +### Lint + +```bash +yarn lint +``` + +### Run Tests + +N/A |