Skip to content

issues with signing the transaction with private key #12

@brad-za

Description

@brad-za

helloo, I hope you are all well. first thank you for the example, I am learning a ton from reading and adapting the code.

I cannot however get a basic buy to work.

Error: Private key must be 32 bytes in length. (tx type=0 hash=not available (unsigned) nonce=12 value=125141000000000 signed=false hf=istanbul gasPrice=5000000000)

I get the error above. Do you think this is an issue with my address and private key? I have copied the adress and private key from my bsc wallet, I even tried changing the private key to hex.

any help would be appreciated thanks (:

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions