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)?


It defaults to accounts[0]

Hope it helps.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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