iexbase / tron-api

A PHP API for interacting with Tron (TRX)
https://iexbase.github.io/tron-api/
MIT License
405 stars 287 forks source link

Please fix this bug... #177

Open MrParAziT opened 1 year ago

MrParAziT commented 1 year ago

Stack trace:

0 /var/www/html/vendor/mdanter/ecc/src/Curves/SecgCurve.php(137): Mdanter\Ecc\Curves\SecgCurve->curve256k1()

1 /var/www/html/vendor/mdanter/ecc/src/Curves/CurveFactory.php(78): Mdanter\Ecc\Curves\SecgCurve->generator256k1()

2 /var/www/html/vendor/kornrunner/secp256k1/src/Secp256k1.php(29): Mdanter\Ecc\Curves\CurveFactory::getGeneratorByName()

3 /var/www/html/vendor/iexbase/tron-api/src/Support/Secp.php(14): kornrunner\Secp256k1->__construct()

4 /var/www/html/vendor/iexbase/tron-api/src/Tron.php(756): IEXBase\TronAPI\Support\Secp::sign()

5 /var/www/html/vendor/iexbase/tron-api/src/Tron.php(692): IEXBase\TronAPI\Tron->signTransaction()

6 /var/www/html/a.php(19): IEXBase\TronAPI\Tron->sendTransaction()

i used 3 methods (send, sendTrx, sendTransaction) with php v 7.4.33 and 8.2.7 but didn't get any result.