yuyasugano / pancake-bakery-arbitrage

A sample application invokes a flashswap in PancakeSwap and a monitoring tool in Node.js.
305 stars 194 forks source link

"Migrations" -- invalid sender. #19

Closed gsngsn123 closed 2 years ago

gsngsn123 commented 2 years ago

when iam trying to deploy below error came pls help me

"Migrations" -- invalid sender.

at C:\Users\vkart\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\deployer\src\deployment.js:365:1
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at Migration._deploy (C:\Users\vkart\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\migrate\Migration.js:74:1)
at Migration._load (C:\Users\vkart\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\migrate\Migration.js:61:1)
at Migration.run (C:\Users\vkart\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\migrate\Migration.js:212:1)
at Object.runMigrations (C:\Users\vkart\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\migrate\index.js:150:1)
at Object.runFrom (C:\Users\vkart\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\migrate\index.js:110:1)
at Object.run (C:\Users\vkart\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\migrate\index.js:87:1)
at runMigrations (C:\Users\vkart\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\core\lib\commands\migrate.js:258:1)
at Object.run (C:\Users\vkart\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\core\lib\commands\migrate.js:223:1)
at Command.run (C:\Users\vkart\AppData\Roaming\npm\node_modules\truffle\build\webpack:\packages\core\lib\command.js:147:1)

Truffle v5.3.7 (core: 5.3.7) Node v14.17.6

eduamaral23 commented 2 years ago

Hi.. Change in .env : BSC_HTTPS=https://bsc-dataseed2.binance.org/ To: BSC_HTTPS=https://bsc-dataseed3.binance.org/ works fine...

yuyasugano commented 2 years ago

@gsngsn123 @eduamaral23 I failed to deploy a smart contract from Truffle but in Remix. I faced some errors when I tried to deploy it from Truffle console. Please check the article. https://yuyasugano.medium.com/arbitrage-party-between-pancakeswap-and-bakeryswap-apeswap-b055af13e4fc