-
Notifications
You must be signed in to change notification settings - Fork 227
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
Setting a default account in client #60
Comments
You can set the default account directly on the client. You also need to set the key on the contract in order for it to be signed by your private key. See the section on signing transactions: https://github.com/EthWorks/ethereum.rb#signed-transactions |
@jasonadkison how did you achieve that? |
@ToJen here's an example
|
thanks for your report :)
|
I'm not using this package anymore. Should the issue be closed? |
@ghivert |
Hi EthWorks!
The package works really great, but I had a little problem with the
default_account
in the client. It is the main sender for every transaction (which is great), but it's impossible to set it to the desired value. For example, when using Infura,eth_accounts
returns an empty array. Thedefault_account
is always nil, which complicates things asfrom: nil
when sending transactions creates bugs.Is it possible to have a version where we can access and modify the
default_account
?The text was updated successfully, but these errors were encountered: