TypeChain icon indicating copy to clipboard operation
TypeChain copied to clipboard

🔌 TypeScript bindings for Ethereum smart contracts

Results 147 TypeChain issues
Sort by recently updated
recently updated
newest added

With the Truffle target, a type 'AllEvents' is defined but there doesn't seem to be a way to access it externally, though there does seem to be a way to...

Web3js 4 alpha has been released: https://github.com/ChainSafe/web3.js/releases/tag/v4.0.0-alpha.0. Even though it's alpha, I think it'd be useful to publish typechain package for it so we can give earlier (alpha) feedback on...

Could it be that the the output transformers embed a LF in typescript files, rather than CRLF/LF, depending on the OS?

PR https://github.com/dethcrypto/TypeChain/pull/700 changed how struct types are generated. I've been importing these structs (before the properties were wrapped by `PromiseOrValue`) to help me type check inputs in hardhat tests. Perhaps...

## Problem Currently on [fuels-ts](https://github.com/FuelLabs/fuels-ts) a TS SDK for Fuel. We enable users to generate contract types using our `typechain-target-fuels`. Recently we have implemented a flat `ABI.json` model, that is...

When trying to run the command `pnpm test:fix`, locally on my MAC M1, I had two issues; 1. My yarn is version 3 and requires the project to have a...

I want to generate typings for my contract using `@typechain/ethers-v5` target from .abi and .bin files using runTypeChain function, but it fails to detect bytecode and doesn't generate correct factory(no...

The following contract: ``` contract Overloads { function myFunc(uint a) public {} function myFunc(bool b) public {} } ``` generates an interface like this: ``` export interface OverloadInterface extends utils.Interface...

How can I use the generated class to get the tx data say for multi-call or whatever ? Or I need to fallback to ethers with the abi ?

typechain generate `__factory` files and export in `index.ts`, and factory extend ContractFactory in ethers, like this: ```typescript export class TimelockController__factory extends ContractFactory { ``` however, I should use ContractFactory from...