You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose I have a private key [u8; 32], what is the correct way to call a contract function and sign the transaction with the private key using http transport?
I tried to use Personal but keep running in the following error:
error[E0599]: no function or associated item named `new` found for struct `Personal` in the current scope
--> src/main.rs:129:37
|
129 | let account = Personal::<Http>::new();
| ^^^ function or associated item not found in `Personal<Http>`
|
The text was updated successfully, but these errors were encountered:
Suppose I have a private key
[u8; 32]
, what is the correct way to call a contract function and sign the transaction with the private key using http transport?I tried to use
Personal
but keep running in the following error:The text was updated successfully, but these errors were encountered: