sean
@swabbie.eth
exp. with Foundry recently, and it's cool, but I'm a bit confused as to why testing in Solidity is preferred when it's highly likely interactions w/ your contract will need to use JS/TS anyway. 3P apps call your contract directly via frontend or they have a contract that calls your contract that itself uses a frontend
5 replies
0 recast
0 reaction
EulerLagrange.eth - bank/acc
@eulerlagrange.eth
There are many tools that will generate typescript bindings for a contract based on its ABI. The graph outputs a interface you can apply to a ethers Contract. I always add a command in package.json to build the contract typings.
1 reply
0 recast
1 reaction
sean
@swabbie.eth
Right, but to be clear on what you're implying - you're saying that if typechain typings are able to be created, data translation is assumed to be accurate?
1 reply
0 recast
0 reaction