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

i face following problem when transfer BEP20 #9

Open
maijshaikh opened this issue May 30, 2023 · 1 comment
Open

i face following problem when transfer BEP20 #9

maijshaikh opened this issue May 30, 2023 · 1 comment

Comments

@maijshaikh
Copy link

i face following problem when transfer
PHP Fatal error: Uncaught InvalidArgumentException: Invalid private key format. in /home/bk5cstaking/public_html/bep20_new/vendor/fenguoz/bsc-php/src/PEMHelper.php:97
Stack trace:
#0 /home/bk5cstaking/public_html/bep20_new/vendor/fenguoz/bsc-php/src/PEMHelper.php(83): Binance\PEMHelper::privateKeyToPublicKey('0x5475F17bC4EE2...')
#1 /home/bk5cstaking/public_html/bep20_new/vendor/fenguoz/bsc-php/src/BEP20.php(37): Binance\PEMHelper::privateKeyToAddress('0x5475F17bC4EE2...')
#2 /home/bk5cstaking/public_html/bep20_new/example.php(37): Binance\BEP20->transfer('0x5475F17bC4EE2...', '0x38E9b9302443d...', 1)
#3 {main}
thrown in /home/bk5cstaking/public_html/bep20_new/vendor/fenguoz/bsc-php/src/PEMHelper.php on line 97

What to do i dont understand...

@Fenguoz
Copy link
Owner

Fenguoz commented May 31, 2023

“Invalid private key format”

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

2 participants