Closed fredfortier closed 6 years ago
when you initiate the ganache-cli rpc server, you can specify a mnemonic with the flag --mnemonic
, which funds those accounts with 100 ETH each (docs).
while migrating the tcr contracts, whether you're using a secrets.json
file or an environment variable, use that same mnemonic in truffle.js
.
hopefully that fixes your issue. thanks for bringing this up -- i'll clarify this the next time i update the docs.
Yes, this works. I apologize for the rudimentary issue.
Next issue, this line in the migration files sets ${process.argv[5]}
to undefined
:
config = JSON.parse(fs.readFileSync(`./conf/${process.argv[5]}.json`));
Any idea of what might be causing this?
I worked around this but it seems like like the application wants some environment variables and arguments which are not obvious just by reading the README file.
hi @fredfortier , glad you found a workaround.
seems like like the application wants some environment variables and arguments which are not obvious just by reading the README file
thanks for mentioning -- just updated the docs
Followed the steps in the README file exactly.
The error occurs here:
I following the steps naively and did not spend time troubleshooting. Looking for anything obvious which I might be missing.