Replies: 3 comments 4 replies
-
Send the entire |
Beta Was this translation helpful? Give feedback.
-
Ok so when defining tx I took the numbers out of quotes, and it ran, but I'm not sure why he specified in the video at 7:17:00 (https://youtu.be/gyMwXuJrbJQ?t=26220) that you should put the numbers in quotes... |
Beta Was this translation helpful? Give feedback.
-
Hey! I had the same issue and realised the problem for me was that I used quotes in tx values. In the video for some reason it states to use quotes, while Patrick doesn't use them... In your tx declaration remove the quotation marks ( ' ' ) for values in 'nonce', 'gasPrice', 'gasLimit' and 'value'. const tx = {
nonce: 2,
gasPrice: 20000000000,
gasLimit: 1000000,
to: null,
value: 0,
data: [YOUR_BINARY],
chainId: '1337'
} |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello! I'm getting an invalid hexlify value error whenever I try to sign this transaction. I'm at 7:19:15 in the video. https://youtu.be/gyMwXuJrbJQ?t=26355
Would appreciate any guidance. I already tried prefixing the private key with 0x but that did not help :(
Here's the full error.
Beta Was this translation helpful? Give feedback.
All reactions