lisong/ethereum-php
Composer 安装命令:
composer require lisong/ethereum-php
包简介
ethereum eth heco erc20 trc20 web3 keysotre bip44 infura etherscan proxy api
README 文档
README
ethereum eth web3 php keysotre bip44 infura etherscan proxy api
可能遇到的问题
1. error:02001003:system library:fopen:No such process
生成私钥时generateNewPrivateKey,需要openssl扩展,此时可能会如上错误,
查看phpinfo,Openssl default config,位置对应openssl.cnf可能不存在,
一般extras文件夹内有此文件,拷贝到指定位置即可。
2. cURL error 60: SSL certificate problem: unable to get local issuer certificate
在发送https请求时,可能会报如上错误,具体解决办法如下:
- 下载https://curl.haxx.se/ca/cacert.pem
- 修改php.ini:curl.cainfo=/usr/local/curl/cacert.pem
统计信息
- 总下载量: 3
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-01-17