ethers.js/testcases/test-env/ts-import-esm/index.ts
2023-04-21 17:48:26 +09:00

6 lines
154 B
TypeScript

import { ethers } from "ethers";
console.log("Version:", ethers.version);
console.log(ethers.getAddress("0x0123456789abcdef0123456789abcdef01234567"));