truffle deploy returns with the following error, in a newly create project (using flutter init)
1_initial_migration.js
Deploying 'Migrations'
Error: *** Deployment Failed ***
"Migrations" -- Returned error: unknown account.
I believed it is caused by my settings at truffle-config.js.
development: {
host: "localhost",
port: 8545,
from: "0x60fDF758ed3549D550A52f2044B43aadf782aA4E",
gas: "8500000",
gasPrice: "50000000000",
network_id: "*" // Match any network id
}
I have stopped programming in solidity for 6 months, and didn't aware there are so many changes :(