(ethers: any, address: string)
| 51 | * Get and display account information |
| 52 | */ |
| 53 | export async function accountBalance(ethers: any, address: string) { |
| 54 | return ethers.formatEther( |
| 55 | await ethers.provider.getBalance(address) |
| 56 | ); |
| 57 | } |
| 58 | |
| 59 | /** |
| 60 | * Estimate and display deployment costs |