How can I get the address in Truffle that calls functions of the contract by default(When we don't use the {from: accounts[i]} statement)?

1 Answer 1


It defaults to accounts[0]

Hope it helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.