atlaschiew / bitcoin-cryptocurrency-tutorial

PHP & Cryptocurrencies Collections. Powered By https://btcschools.net
https://www.btcschools.net
Apache License 2.0
159 stars 21 forks source link

关于win部署问题 #3

Closed Kwan9 closed 3 years ago

Kwan9 commented 3 years ago

hi 请问你的这个项目支持部署在win吗? 我架设后创建trc20交易签名那里变空白了

atlaschiew commented 3 years ago

我不曾在window里测试过,但我猜想是没有问题的,检查error_log吧

Kwan9 commented 3 years ago

我不曾在window里测试过,但我猜想是没有问题的,检查error_log吧

[11-Mar-2021 00:24:50 Asia/Shanghai] PHP Notice: Undefined variable: _HTML in D:\Program Files\openresty\php\coin\tron\html_iframe_header.php on line 8 [11-Mar-2021 00:24:50 Asia/Shanghai] PHP Notice: Undefined variable: _HTML in D:\Program Files\openresty\php\coin\tron\html_iframe_header.php on line 9 [11-Mar-2021 00:24:50 Asia/Shanghai] PHP Fatal error: Uncaught Error: Call to undefined function Mdanter\Ecc\Curves\gmp_init() in D:\Program Files\openresty\php\coin\libraries\vendor\mdanter\ecc\src\Curves\SecgCurve.php:122 Stack trace:

0 D:\Program Files\openresty\php\coin\libraries\vendor\mdanter\ecc\src\Curves\SecgCurve.php(137): Mdanter\Ecc\Curves\SecgCurve->curve256k1()

1 D:\Program Files\openresty\php\coin\libraries\vendor\bitwasp\bitcoin\src\Bitcoin.php(45): Mdanter\Ecc\Curves\SecgCurve->generator256k1()

2 D:\Program Files\openresty\php\coin\libraries\vendor\bitwasp\bitcoin\src\Bitcoin.php(58): BitWasp\Bitcoin\Bitcoin::getGenerator()

3 D:\Program Files\openresty\php\coin\libraries\vendor\bitwasp\bitcoin\src\Key\Factory\PrivateKeyFactory.php(36): BitWasp\Bitcoin\Bitcoin::getEcAdapter()

4 D:\Program Files\openresty\php\coin\tron\tron_create_send_trc20_form.php(72): BitWasp\Bitcoin\Key\Factory\PrivateKeyFactory->__construct()

5 {main}

thrown in D:\Program Files\openresty\php\coin\libraries\vendor\mdanter\ecc\src\Curves\SecgCurve.php on line 122

atlaschiew commented 3 years ago

PHP Fatal error: Uncaught Error: Call to undefined function Mdanter\Ecc\Curves\gmp_init()

Kwan9 commented 3 years ago

PHP致命错误:未捕获错误:调用未定义函数Mdanter \ Ecc \ Curves \ gmp_init()

已经可以了,抱歉打扰了