Closed yokosta closed 2 years ago
root@ser:~/pancake# truffle migrate --network mainnet
✔ Fetching solc version list from solc-bin. Attempt #1 ✔ Fetching solc version list from solc-bin. Attempt #1
Everything is up to date, there is nothing to compile.
Network name: 'mainnet' Network id: 56 Block gas limit: 79760741 (0x4c10d65)
Error: Deployment Failed
"Migrations" -- invalid sender.
at /usr/lib/node_modules/truffle/build/webpack:/packages/deployer/src/deployment.js:365:1
at processTicksAndRejections (node:internal/process/task_queues:96:5)
at Migration._deploy (/usr/lib/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:70:1)
at Migration._load (/usr/lib/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:56:1)
at Migration.run (/usr/lib/node_modules/truffle/build/webpack:/packages/migrate/Migration.js:217:1)
at Object.runMigrations (/usr/lib/node_modules/truffle/build/webpack:/packages/migrate/index.js:150:1)
at Object.runFrom (/usr/lib/node_modules/truffle/build/webpack:/packages/migrate/index.js:110:1)
at Object.run (/usr/lib/node_modules/truffle/build/webpack:/packages/migrate/index.js:87:1)
at runMigrations (/usr/lib/node_modules/truffle/build/webpack:/packages/core/lib/commands/migrate/run.js:76:1)
at Object.module.exports [as run] (/usr/lib/node_modules/truffle/build/webpack:/packages/core/lib/commands/migrate/run.js:44:1)
at Command.run (/usr/lib/node_modules/truffle/build/webpack:/packages/core/lib/command.js:189:1)
Truffle v5.4.28 (core: 5.4.28) Node v16.13.2
@yokosta Sorry for late. Yes I deployed a smart contract in Remix not from Truffle console. I wrote about this in Medium article. https://yuyasugano.medium.com/arbitrage-party-between-pancakeswap-and-bakeryswap-apeswap-b055af13e4fc
@yokosta Please use Remix on web to deploy a smartcontract. I'll close the case for now.
Hello Mr. How to all this? How to setup. example here: truffle-config.js We need deploit contract via remix?