Skip to content

Commit 229c4d8

Browse files
committed
updated readme
1 parent d42332b commit 229c4d8

File tree

1 file changed

+9
-2
lines changed

1 file changed

+9
-2
lines changed

README.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,22 @@ pip install -r requirements.txt
1717

1818
## Getting Started
1919

20-
For now you can run the mapper using ``Mapper.map_hex_address(...)`` as follows:
21-
20+
You can use the mapper in your python script using ``Mapper.map_hex_address(...)`` as follows:
2221
```python
2322
Mapper.map_hex_address(
2423
compiler_output_json="../BeerBar.json",
2524
address_hex="0x1525",
2625
contract_name="BeerBar",
2726
)
2827
```
28+
Or you can run it from the command line like this:
29+
```bash
30+
python mapper.py --compiler_output_json ../BeerBar.json --address_hex 0x1525 --contract_name BeerBar
31+
```
32+
33+
34+
35+
2936

3037
| Parameter | Explanation |
3138
|----------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|

0 commit comments

Comments
 (0)