New answers tagged

1

Since you are using Truffle you can override the contract's defaults with .defaults() const MyContract = artifacts.require("MyContract.sol") MyContract.defaults({ from: "0x..." }) @truffle/contract documentation (previously named truffle-contract)


Top 50 recent answers are included