Categories
Cryptocurrency Ethereum Mastering Development

Deploy pre compiled bytecode using truffle migrations deployer api

I want to deploy pre-compiled Smart Contract bytecode using Truffle migrations. Specifically, it is the Uniswap V2 Factory contract. In the Uniswap V2 documentation there is a cliffhanger, where they mention to use: const UniswapV2FactoryBytecode = require(‘@uniswap/v2-core/build/UniswapV2Factory.json’).bytecode And then deploy it using Truffle (but do not include an example). However, I cannot get the deployment […]