-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: Invalid JSON RPC response: "" (create address locally and deploy contract) #164
Comments
Getting the "" response means the server probably dropped the connection unexpectedly. Sometimes, you should check if your network is ok, or check the format of your data. |
@justcodify See this related thread: The suggestion @JoshuaQYH is one that affected me in a previous run-in with this error. Make sure that all the gas related values you pass to any Web3JS calls are converted to BigNumbers using the web-utils toBN() method. Unfortunately I have this error once again but the above suggestion did solve one occurrence of that erro for me about a month ago. |
I found the problem and solved by adding my HD Wallet account using private key. infura only provides interface.
|
I have use case where when user sign up to my app, i create address and assign to him then need to store some info in contract & deploy to public ethereum. one user has single address but multiple contracts to be deployed.
this is my code: I am testing through command prompt "node test.js"
I getting an error:
The text was updated successfully, but these errors were encountered: