Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: fix check balance script #185

Merged
merged 1 commit into from
May 15, 2024
Merged

Conversation

npty
Copy link
Member

@npty npty commented May 14, 2024

Description

This PR fixes the npm run check-balance local script by correcting chain config parsing logic.

Test

  1. Run npm run start
  2. Run npm run check-balance local

The output is the following:

==== Print balances for local =====
Wallet address: 0x2859f7d17DA8023A760B5EF825C8626F9c33227a 

Native tokens:
Moonbeam: 100.0
Avalanche: 100.0
Fantom: 100.0
Ethereum: 100.0
Polygon: 100.0

aUSDC tokens:
Moonbeam: 1000000000000.0 aUSDC
Avalanche: 1000000000000.0 aUSDC
Ethereum: 1000000000000.0 aUSDC
Fantom: 1000000000000.0 aUSDC
Polygon: 1000000000000.0 aUSDC

@npty npty requested a review from Olanetsoft May 14, 2024 15:38
@npty npty self-assigned this May 14, 2024
@npty npty added the bug Something isn't working label May 14, 2024
@npty npty merged commit 047af37 into main May 15, 2024
2 of 4 checks passed
@npty npty deleted the chore/fix-check-balance-script branch May 15, 2024 08:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants