Answers for "calculate init code hash nodejs"

0

calculate init code hash nodejs

import { INIT_CODE_HASH } from '../src/constants'

import { bytecode } from '@uniswap/v2-core/build/UniswapV2Pair.json'
import { keccak256 } from '@ethersproject/solidity'

const COMPUTED_INIT_CODE_HASH = keccak256(['bytes'], [`0x${bytecode}`])
Posted by: Guest on March-05-2021

Code answers related to "Javascript"

Browse Popular Code Answers by Language