@lunch-money/ethereum-to-lunch-money 1.1.0 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -2
- package/dist/cjs/fixtures/1inch.json +1 -1
- package/dist/cjs/src/client.d.ts +5 -4
- package/dist/cjs/src/client.js +55 -16
- package/dist/cjs/src/client.js.map +1 -1
- package/dist/cjs/src/main.d.ts +2 -3
- package/dist/cjs/src/main.js +44 -16
- package/dist/cjs/src/main.js.map +1 -1
- package/dist/cjs/src/types.d.ts +4 -4
- package/dist/mjs/fixtures/1inch.json +1 -1
- package/dist/mjs/src/client.d.ts +5 -4
- package/dist/mjs/src/client.js +25 -12
- package/dist/mjs/src/client.js.map +1 -1
- package/dist/mjs/src/main.d.ts +2 -3
- package/dist/mjs/src/main.js +22 -11
- package/dist/mjs/src/main.js.map +1 -1
- package/dist/mjs/src/types.d.ts +4 -4
- package/package.json +37 -31
package/README.md
CHANGED
|
@@ -19,7 +19,13 @@ There is also a script, `get-balances.ts`, that can be invoked to invoke the
|
|
|
19
19
|
client against a real wallet. It is invoked in the following way:
|
|
20
20
|
|
|
21
21
|
```
|
|
22
|
-
LM_ETHERSCAN_API_KEY=
|
|
22
|
+
export LM_ETHERSCAN_API_KEY="***********************"
|
|
23
|
+
export LM_ETHEREUM_WALLET_ADDRESS="0xA9D1e08C7793af67e9d92fe308d5697FB81d3E43"
|
|
24
|
+
|
|
25
|
+
# Optional, defaults to mainnet
|
|
26
|
+
export LM_ETHEREUM_CHAIN_ID="1"
|
|
27
|
+
|
|
28
|
+
./bin/get-balances.ts
|
|
23
29
|
```
|
|
24
30
|
|
|
25
31
|
You can obtain a Etherscan API key by following the documentation [here](https://docs.etherscan.io/getting-started/viewing-api-usage-statistics).
|
|
@@ -27,6 +33,6 @@ You can obtain a Etherscan API key by following the documentation [here](https:/
|
|
|
27
33
|
## Refreshing the Token List
|
|
28
34
|
|
|
29
35
|
This package uses a fixed token list fetched as the token list that the 1inch
|
|
30
|
-
exchange uses
|
|
36
|
+
exchange uses. Run the included script
|
|
31
37
|
`./bin/refresh-token-list.sh` to refresh the token list. Refreshing the token
|
|
32
38
|
list will require a new version of this package to be released.
|