laconicd/tests/tooling/ethers/ethers.js
Federico Kunze 4ca7c43b62
deps: bump SDK and Tendermint versions (#165)
* deps: bump SDK and Tendermint versions

* use header hash from context

* c++

* typo
2021-06-22 04:25:38 -04:00

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()