Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to send a transaction? #8

Open
JellyBool opened this issue Dec 4, 2017 · 1 comment
Open

How to send a transaction? #8

JellyBool opened this issue Dec 4, 2017 · 1 comment

Comments

@JellyBool
Copy link

Hi, any demo on sending a transaction between to accounts?

I refer the docs but still confused. Is there any way to send a transaction only with this package when I have a jsonrcp server running ? How to provide the $data : https://github.com/digitaldonkey/ethereum-php/blob/master/src/SendTransaction.php#L23

@digitaldonkey
Copy link
Owner

Actually I never tried it, because I focused on data-retrieval functionality so far.
You will need to have a Ethereum-client with an unlocked account in order to do any sending.

The documentation is here:
https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_sendtransaction

Please share your findings.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants