How to deploy contract with bytecode to test

Hi everyone,

I’m follow this tutorial to create a smart contract. I can do almost steps. But I’m only stuck at 1 step. I don’t know how to deploy a contract with bytecode to test. I use Truffle (Quickstart) to deploy contract.

That tutorial here: Tutorial

const UniswapV2FactoryBytecode = require(’@uniswap/v2-core/build/UniswapV2Factory.json’).bytecode

Anyone please help me.

Thanks all.

1 Like

Hi @karmataktsang,

Welcome to the community :wave:

Unfortunately I wasn’t able to quickly get a simple test running using the UniswapV2Factory using the Uniswap tutorial.

You may want to ask in their Discord:

1 Like