Closed johnwmg closed 6 years ago
Installed erc20-php with composer using: composer require furqansiddiqui/erc20-php
It went smoothly and automatically included ethereum-rpc and http-client.
Tried first example from erc20-php .md and fails "Class 'EthereumRPC' not found .... "
First part of my index.php is: require DIR . '/vendor/autoload.php'; $geth = new EthereumRPC('127.0.0.1', 8545);
The /vendor/ directory and subdirectories only contain what was created by composer.
Any suggestions ?
Regards, John Wm
resolved by including USE statements .
Installed erc20-php with composer using: composer require furqansiddiqui/erc20-php
It went smoothly and automatically included ethereum-rpc and http-client.
Tried first example from erc20-php .md and fails "Class 'EthereumRPC' not found .... "
First part of my index.php is: require DIR . '/vendor/autoload.php'; $geth = new EthereumRPC('127.0.0.1', 8545);
The /vendor/ directory and subdirectories only contain what was created by composer.
Any suggestions ?
Regards, John Wm