ethers.js/testcases/test-env/ts-import-cjs/index.ts

6 lines
159 B
TypeScript
Raw Normal View History

2023-04-22 12:59:18 +03:00
const { ethers } = require("ethers");
console.log("Version:", ethers.version);
console.log(ethers.getAddress("0x0123456789abcdef0123456789abcdef01234567"));