Univ3Test.ts 508 B

12345678910111213141516171819202122
  1. import { web3 } from "hardhat";
  2. import deployer from '../.secret'
  3. const hre = require('hardhat')
  4. describe('Univ3 Test', () => {
  5. it('Parse ether test', async () => {
  6. console.log(web3.utils.toWei('1', 'gwei'))
  7. })
  8. it('Get block number test', async () => {
  9. console.log(await web3.eth.getBlockNumber())
  10. })
  11. it('Get balance test', async () => {
  12. console.log(hre.network)
  13. console.log(deployer)
  14. // console.log(await web3.eth.getBalance(accountList[0]))
  15. })
  16. it('Transfer test')
  17. })