2bfcf3e271
This reverts commit 3e22bc9316
.
8 lines
213 B
JavaScript
8 lines
213 B
JavaScript
import { ethers } from "ethers";
|
|
|
|
// connects to localhost:8545
|
|
const provider = new ethers.providers.JsonRpcProvider()
|
|
|
|
// const signer = provider.getSigner();
|
|
|
|
const blockNumber = await provider.getBlockNumber() |