Skip to content
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

web3 cli - Error deploying contract: invalid private key: invalid length, need 256 bits #219

Closed
BrwGamer opened this issue Sep 22, 2021 · 1 comment

Comments

@BrwGamer
Copy link

I'm following this tutorial: https://medium.com/gochain/how-to-create-and-deploy-an-nft-smart-contract-in-10-minutes-e0d7ef8e59fc

When running sudo web3 contract deploy MYTEST.bin

This error happens:

ERROR: Error deploying contract: invalid private key: invalid length, need 256 bits

I already tried by setting the private key without the 0x in front of it but the error is the same.

How to make it works?

Thanks

@BrwGamer
Copy link
Author

see the discussion for more info

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant