Skip to content

Commit ec22f23

Browse files
authored
Update README.md
1 parent c7a24e4 commit ec22f23

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

README.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,13 +26,12 @@ To install this package tou can use composer:
2626
php artisan vendor:publish --tag=ether
2727
```
2828

29-
- API key to be obtained from etherscan.io address should be declared.
29+
- First of all we'll add the API key and API Url of the service we're using to our .env file of our project. If you don't have an account yet on api.etherscan.io, you should create one. Once you have an account you can copy your API key from the dashboard page and put it into you .env file.
30+
3031

3132
```php
32-
'ether' => [
33-
'etherscan_url' => 'https://api.etherscan.io/',
34-
'etherscan_key' => 'XXXXXXXXXXXXXXXXXXXXXXXX'
35-
]
33+
ETHERSCAN_BASE_URL=https://api.etherscan.io/
34+
ETHERSCAN_API_KEY=YOUR-API-KEY
3635
```
3736

3837
- This is how you can connect to the etherscan api service.

0 commit comments

Comments
 (0)