I want to test my truffle contract with multiple msg.sender
addresses. Like "the first user sell token, the second user buys this token". For one address I simply write something like contract.buy.value(10 wei)();
. But where I could get another address and how to send money from him?
I write my tests on solidity, not on javascript.
Aucun commentaire:
Enregistrer un commentaire