mac下安装php-cgi有多种方法,这里只介绍比较简单的两个方法;
- 用brew安装
- 直接下载安装XAMPP
如果安装了xcode,那么推荐使用brew来安装php。详细使用方法见官网,这里只说明如何装php-cgi;
| package main | |
| import ( | |
| "context" | |
| "encoding/hex" | |
| "fmt" | |
| "github.com/ethereum/go-ethereum/accounts/abi" | |
| "github.com/ethereum/go-ethereum/common" | |
| "github.com/ethereum/go-ethereum/core/types" | |
| "github.com/ethereum/go-ethereum/ethclient" |
| Hex | ChainId (Decimal) | Network | |
|---|---|---|---|
| 0x1 | 1 | Ethereum Main Network (Mainnet) | |
| 0x3 | 3 | Ropsten Test Network | |
| 0x4 | 4 | Rinkeby Test Network | |
| 0x5 | 5 | Goerli Test Network | |
| 0x2a | 42 | Kovan Test Network | |
| 0xAA36A7 | 11155111 | Sepolia Testnet | |
| 0x89 | 137 | Polygon Main Network | |
| 0x13881 | 80001 | Mumbai Test Network | |
| 0xA86A | 43114 | Avalanche C-Chain Main Network |
| Run this command to install MG-CLI: | |
| sudo apt-get update && wget https://minergate.com/download/deb-cli -O minergate-cli.deb && sudo dpkg -i minergate-cli.deb | |
| to start miner (4 cores for BCN) use this command: | |
| minergate-cli -user <YOUR@EMAIL.KAPPA> -bcn 4 | |
| Feel free to send some of your earnings to me: | |
| BTC (Don't attempt to send other coins to this address!): 17f77AYHsQbdsB1Q6BbqPahJ8ZrjFLYH2j |
mac下安装php-cgi有多种方法,这里只介绍比较简单的两个方法;
如果安装了xcode,那么推荐使用brew来安装php。详细使用方法见官网,这里只说明如何装php-cgi;
| <?php | |
| /** | |
| * A helper file for Laravel 5, to provide autocomplete information to your IDE | |
| * Generated for Laravel 5.5.13 on 2017-09-28. | |
| * | |
| * @author Barry vd. Heuvel <barryvdh@gmail.com> | |
| * @see https://github.com/barryvdh/laravel-ide-helper | |
| */ | |
| namespace { | |
| exit("This file should not be included, only analyzed by your IDE"); |