You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-5Lines changed: 4 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,13 +26,12 @@ To install this package tou can use composer:
26
26
php artisan vendor:publish --tag=ether
27
27
```
28
28
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
+
30
31
31
32
```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
36
35
```
37
36
38
37
- This is how you can connect to the etherscan api service.
0 commit comments