-
Notifications
You must be signed in to change notification settings - Fork 464
Unable to create order via infura #204
Comments
@nitika-goel, you cannot simply use To get started though, I would use TestRPC since we have an article on how to get started with it. |
Thanks @fabioberger . I did try using the providerengine but somehow the code breaks whenever I access any of the ZeroEx methods. I am successfully able to create an order and sign it through metamask but I do not intend to do it that way as I need the entire process to be automated without the signer popup. Also, I need to integrate with this with a project running on Kovan and hence do not intend to use testrpc. Following is the code I am using. It breaks after printing the nulladdress. I might be missing something really small. Could you please help me with it.
|
What's the error message? |
There is no error message. It just breaks the execution. |
Breaks or hangs? If it is hanging, that is because of web3/web3.js#844. The solution is to import |
@nitika-goel I have successfully signed with web3-provider-engine and @0xproject/subproviders
// usage
now sign as normal. |
Hi, moving from Issue #133 as I'm unable to reopen the same. I'm still unable to solve this. Intend to use infura as I cannot run a local geth node. Here is the code I am using:
I have created an account with a private key and am able to sign the order hash with web3.eth.accounts.sign() but in that case my vrs signatures generated do not match.
I intend to use the standard ZeroEx functions but the function zeroEx.getAvailableAddressesAsync() returns null value even though my web3 object has accounts json associated with it.
Can you please provide a sample of using your standard method with infura ?
The text was updated successfully, but these errors were encountered: