Support web3@^1.0.0-beta.38
See original GitHub issueAs of 1.0.0-beta.38, web3 ships directly with typescript typings (they seem to no longer be published through @types/web3 as of now). Ideally these typings would be used.
After this version of web3, typechain now throws a bunch of errors with the web3-1.0 target:
build/wrappers/A.d.ts:4:58 - error TS2307: Cannot find module 'web3/eth/contract'.
4 import Contract, { CustomOptions, contractOptions } from "web3/eth/contract";
~~~~~~~~~~~~~~~~~~~
build/wrappers/A.d.ts:5:46 - error TS2307: Cannot find module 'web3/eth/types'.
5 import { TransactionObject, BlockType } from "web3/eth/types";
~~~~~~~~~~~~~~~~
build/wrappers/A.d.ts:6:10 - error TS2305: Module '"web3/types"' has no exported member 'Callback'.
6 import { Callback, EventLog } from "web3/types";
~~~~~~~~
build/wrappers/A.d.ts:6:20 - error TS2305: Module '"/web3/types"' has no exported member 'EventLog'.
6 import { Callback, EventLog } from "web3/types";
~~~~~~~~
build/wrappers/A.d.ts:8:26 - error TS2307: Cannot find module 'web3/providers'.
8 import { Provider } from "web3/providers";
Issue Analytics
- State:
- Created 5 years ago
- Reactions:12
- Comments:9 (4 by maintainers)
Top Results From Across the Web
Web3.js v1.0.0-beta.38 - Medium
This will help us to keep the code style quality of the library as high as possible. New option properties for Web3 modules:...
Read more >npm install fail on nodejs Docker build · Issue #1416 - GitHub
I tried the following versions: web31.0.0-beta.34 web31.0.0-beta.36 web31.0.0-beta.38 web31.0.0-beta.41. Docker File:.
Read more >Moralis JS-SDK v1.0.0 [beta] (Ethers.js support)
JS-SDK v1 Beta (Ethers.js support) The JS-SDK is switching to using ethers.js instead of web3.js. This is a change that will affect current ......
Read more >Ethereum JavaScript API — web3.js 1.0.0 documentation
web3.js is a collection of libraries that allow you to interact with a local or remote ethereum node using HTTP, IPC or WebSocket....
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Issue Status: 1. Open 2. Started 3. Submitted 4. Done
Work has been started.
These users each claimed they can complete the work by 12 months from now. Please review their action plans below:
1) cryptokat has started work.
https://github.com/ethereum-ts/TypeChain/pull/141
Learn more on the Gitcoin Issue Details page.
@krzkaczor – I’d like to know your thoughts on moving towards types that are being maintained by
web3
internally within their package.