Replies: 3 comments 4 replies
-
are you console-logging the contract? the methods are not printed there. but if you use it then it should work. await myContract.methodName(args) You can have a look at migration docs for contract. |
Beta Was this translation helpful? Give feedback.
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
i have the same problem, here is reproduction: https://codesandbox.io/p/sandbox/upbeat-wind-fppsgl?file=/src/app/app.component.ts:1,1 the strange thing is that in angular version 14 it works, but in latest version 16 it started doing this. i have find this out when we updated angular in our app to newest version. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello, I created the contract with V6 as I did with the V5 of ethers, but the contract I get does not include the functions and variables of my smart contract.
I created the contract like this:
const myContract = new Contract(
myJson.networks[networkId].address,
myJson.abi,
signer
)
Beta Was this translation helpful? Give feedback.
All reactions