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

Based on this comment (and my own experience using the tool), structs do not get compiled for the truffle-v5 target: https://github.com/ethereum-ts/TypeChain/blob/f63bbe3504bb82eec2d683850998d8547b05f825/packages/target-truffle-v5-test/test/DataTypesView.test.ts#L35 I'm wondering what would need to change to permit...

bug

Being able to regenerate types when abi changes would be useful.

Thanks for your work! Here's a reproduction of the bug: ``` cd /tmp git clone [email protected]:ShieldFinanceHQ/contracts.git cd contracts nvm install $(cat .nvmrc) nvm use npm install --global yarn yarn install...

bug

Are there any plans to automatically generate [type guards](https://dev.to/ricardopaul/typescript-type-guards-simply-explained-oik)?

I followed the official web3 example, but for some reason it throws a bunch of errors for me, because my case-scenario has deploy and send chained to the instance. ![Screenshot...

The moment a project imports from the [umbrella `ethers` npm package](https://github.com/ethers-io/ethers.js), it already has (almost) all dependencies that can be individually imported via the `@ethersproject` sub-packages. E.g. my `ERC20.d.ts` file...

Solidity documents can be documented with [Natspec Format](https://docs.soliditylang.org/en/latest/natspec-format.html). It would be super helpful if these comments were added to the generated TypeScript code (in [TypeDoc format](https://typedoc.org/guides/doccomments/))

Consider this contract: ``` struct S { uint256 a; address b; } mapping(uint256 => S) public map; ``` and you would like to check that mapping has desirable values with...

enhancement

This code is generated after the run of `typechain --target=truffle-v5 'build/contracts/*.json'` from examples. This code generates these types for the Deployer ``` interface Deployer { link( library: Truffle.Contract, destination: Truffle.Contract...

enhancement

We should add explicit runtime errors that stop CLI execution when an obvious version mismatch is detected. No one (me neither) checks peer dependency-related errors from a package manager. TC...

enhancement
good first issue