web3p / web3.php

A php interface for interacting with the Ethereum blockchain and ecosystem. Native ABI parsing and smart contract interactions.
MIT License
1.17k stars 550 forks source link

Contract Deployment #129

Open mauricioxzaparoli opened 5 years ago

mauricioxzaparoli commented 5 years ago

Hello everyone! Is it possible to use the $contract->bytecode($bytecode)->new($params, $callback) command to deploy a contract without running a local Ethereum node and using a provider like Infura.io instead? I also don't understand how the transaction for the contract deployment would be signed. Is it signed when running an Ethereum node and based on the $fromAddress it knows which $privateKey to use?