一覧へ戻る
web3-php/cli(新しいタブで開きます)
主要言語: PHP
⚙️ Web3 PHP CLI is a blazing fast blockchain server for local development.
- star 数
- 141
- watcher 数
- 1
- fork 数
- 10
- issue 数
- 0
- 最終更新
- 2022/02/09
主要言語: PHP
⚙️ Web3 PHP CLI is a blazing fast blockchain server for local development.
Web3 PHP CLI is a blazing fast blockchain server for local development.
This project is a work-in-progress. Code and documentation are currently under development and are subject to change.
Requires PHP 8.0+
First, install Web3 via the Composer package manager:
composer global config prefer-stable true
composer global config minimum-stability dev
composer global require web3-php/cliThen, start the local blockchain server:
web3
The accounts option allows to specify the number of accounts.
web3 --accounts=5 # Default: 5The host option allows to specify the hostname to listen on.
web3 --host=127.0.0.2 # Default: 127.0.0.1The port option allows to specify the port number to listen on.
web3 --port=8550 # Default: 8545Web3 PHP CLI is an open-sourced software licensed under the MIT license.