Hi! How can I switch the account in truffle console? when I test my contracts accounts[0] is set by default (I use ganache-cli + truffle). I can't find the right answer to switch and start calling the functions from an other account (let's say accounts[1])
Feb 8, 2021, 2:42 PM
thank you
Feb 8, 2021, 2:42 PM
You can define it manually per call, func(params, { from: accounts [1] })
Feb 8, 2021, 3:01 PM
thank you!
Feb 15, 2021, 9:34 AM