Skip to content

Commit b5f21fc

Browse files
committed
docs(README): added mention about address and private_key
1 parent 1955789 commit b5f21fc

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎README.md‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ _The authors are in no way affiliated with or funded by Uniswap, uniswap.io, or
2121
* Simple parsing of data returned from the Uniswap contract
2222

2323
## Under Development
24-
* Run tests on a private chain rather than Rinkeby
2524
* Better error handling
2625

2726
## Getting Started
@@ -52,7 +51,9 @@ Only some endpoints in the API are available to everyone. The public endpoints c
5251

5352
```python
5453
from uniswap import Uniswap
55-
uniswap_wrapper = Uniswap()
54+
address = "YOUR ADDRESS" # or "0x0000000000000000000000000000000000000000", if you're not making transactions
55+
private_key = "YOUR PRIVATE KEY" # or None, if you're not going to make transactions
56+
uniswap_wrapper = Uniswap(address, private_key, version=2) # pass version=2 to use Uniswap v2
5657
eth = "0x0000000000000000000000000000000000000000"
5758
bat = "0x0D8775F648430679A709E98d2b0Cb6250d2887EF"
5859
dai = "0x89d24A6b4CcB1B6fAA2625fE562bDD9a23260359"

0 commit comments

Comments
 (0)