menu
announcement

Spectrum is now read-only. Learn more about the decision in our official announcement.

Truffle Suite

Sweet tools for smart contracts

Channels
Team

How to deploy contract with bytecode to test

October 16, 2020 at 3:18pm

How to deploy contract with bytecode to test

October 16, 2020 at 3:18pm
Hi everyone. How to deploy contract with bytecode to test ? const UniswapV2FactoryBytecode = require('/v2-core/build/UniswapV2Factory.json').bytecode I don't know how to use this in migrations file

October 20, 2020 at 1:52pm
Hey (karmataktsang)! Here are some docs on running migrations that you might find helpful https://www.trufflesuite.com/docs/truffle/getting-started/running-migrations